Problem 4
When is written in decimal notation, the sum of its digits is . Let be the sum of the digits of . Find the sum of the digits of . ( and are written in decimal notation.)
Step 6 of 6: Combine the bound and the residue to pin down
Detailed analysis
From Step 4, (Step 5). From Steps 2–3, (it is a digit sum of a positive integer, so at least ). The only integer in congruent to modulo is itself (the next candidate, , already exceeds the bound). Therefore .