2015 AMC 12B Problem 18

Attempt Problem 18 of the 2015 AMC 12B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2015 AMC 12B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

18.

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 2⋅52,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}\}?
the set of positive integers
the set of composite positive integers
the set of even positive integers
the set of integers greater than 33
the set of integers greater than 44
Answer: D
Concepts:prime factorizationfunction
Small hint:
The smallest value comes from the smallest composite, 4=2⋅24 = 2 \cdot 2
Big hint:
Show every integer greater than 33 is attained, e.g. r(2k)=2kr(2^k) = 2k and r(2k⋅3)=2k+3r(2^k\cdot 3) = 2k + 3
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(2k⋅3)=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.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.