Maths Olympiad Prep

Library / Progetto Olimpiadi di Matematica GARA di SECONDO LIVELLO TRIENNIO /3 of 4

Progetto Olimpiadi di Matematica GARA di SECONDO LIVELLO TRIENNIO, 2003

Algebra Difficulty 4.8 AIME Prove it Italy

Problem:

For every integer nn, let S(n)S(n) be the sum of the digits of nn (in base ten). What is the smallest integer NN for which S(S(N))≥10S(S(N)) \geq 10?

Solution

Solution:

The answer is 199199. Indeed if nn had 11 or 22 digits, n≤99n \leq 99, and then S(n)≤18S(n) \leq 18 and S(S(n))≤9S(S(n)) \leq 9, so nn has at least three digits. Observe that for n≤198n \leq 198, still S(n)≤18S(n) \leq 18. Instead if n=199n=199, S(n)=19S(n)=19 and S(S(n))=10S(S(n))=10, as sought.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from it; metadata (topic, difficulty) added by this project.