AMC 10 · 2007 · #22

Easy mode Grade 4
📗 View original problem →
Problem

For any whole number nn bigger than 00, let S(n)S(n) be the sum of its digits. For example, S(2007)=2+0+0+7=9S(2007) = 2+0+0+7 = 9. Applying SS again, S(S(n))S(S(n)) is the digit sum of that result. For how many values of nn is n+S(n)+S(S(n))=2007n + S(n) + S(S(n)) = 2007?

Pick an answer.

(A)
1
(B)
2
(C)
3
(D)
4
(E)
5

Try it yourself first — the explanation is most useful after you’ve attempted it.