Since
Now we note that
Claim: For every positive integer m, the difference m-S(m) is divisible by 9.
Proof of the claim:
Write the integer m as the sum
Next we note that the number 2001 is divisible by 3, so its power
20012001 is divisible by 9 - just note that
.
(As a matter of fact the power is divisible
by 32001 - clearly). By the Claim, a2 is divisible by 9, and also
a3, a4 and a5 are.
Putting things together we get that a5 is a divisible by 9 integer between 1 and 9. Therefore a5=9
Back to the Problem of
the Week Page