Skip to main content

2015 AMC 12B Problem 18

Problem 18 of 25IntermediateAlgebraNumber Theory

For every composite positive integer n,n, define r(n)r(n) to be the sum of the factors in the prime factorization of n.n. For example, r(50)=12r(50) = 12 because the prime factorization of 5050 is 252,2 \cdot 5^2, and 2+5+5=12.2 + 5 + 5 = 12. What is the range of the function r,r, {r(n):n is a composite positive integer}?\{r(n) : n \text{ is a composite positive integer}\}?

Answer choices

Show solution

Solution

A composite number has at least two prime factors (with multiplicity), and the smallest prime is 2,2, so the least possible value is 2+2=4.2 + 2 = 4. Every integer greater than 33 is attained: r(2k)=2kr(2^k) = 2k covers the even values 4,\ge 4, and r(2k3)=2k+3r(2^k\cdot 3) = 2k + 3 covers the odd values 5.\ge 5. So the range is the integers greater than 3.3. Thus, the correct answer is D.

More practice

Concepts: prime factorization · function

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.