Maths Olympiad Prep

Library / Slovenian Mathematical Olympiad /21 of 68

Slovenian Mathematical Olympiad, 2008

Number theory Difficulty 5.0 AIME, harder Prove it Slovenia

a. Show that there is no positive integer nn such that the sum of the digits of 10n+9n10^n + 9n is divisible by 20072007.

b. Find at least one positive integer nn such that the sum of the digits of 10n+9n10^n + 9n equals 20082008.

Solution

a. An integer is divisible by 99 if and only if the sum of its digits is divisible by 99. Assume that the sum of the digits of 10n+9n10^n + 9n is divisible by 20072007. Since 20072007 is a multiple of 99, the sum of the digits of 10n+9n10^n + 9n must be divisible by 99. This implies that 10n+9n10^n + 9n is divisible by 99, which is clearly not the case.

b. Let n=1…1n = 1\ldots1 (223 ones). Then 9n=9…99n = 9\ldots9 (223 nines) and 10n+9n10^n + 9n is equal to 10…09…910\ldots09\ldots9 (223 nines and n−223=1…1−223n - 223 = 1\ldots1 - 223 zeroes). The sum of the digits of this number is 1+9⋅223=20081 + 9 \cdot 223 = 2008.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.