AMC 10 · 2007 · #25

Grade 4 arithmetic
digit-sumcaseworkmodular-arithmeticbound-inequality-then-enumerate caseworkbound-inequality-then-enumerate ↑ Prerequisites: digit-sum
📏 Long solution 💡 4 insights
📘 View easy version →
Problem

For each positive integer nn, let S(n)S(n) denote the sum of the digits of n.n. For how many values of nn is n+S(n)+S(S(n))=2007?n + S(n) + S(S(n)) = 2007?

Pick an answer.

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

AMC 10 2007 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

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