Maths Olympiad Prep

Library / /9 of 45

, 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=11n = 1\ldots1 (223 ones). Then 9n=999n = 9\ldots9 (223 nines) and 10n+9n10^n + 9n is equal to 1009910\ldots09\ldots9 (223 nines and n223=11223n - 223 = 1\ldots1 - 223 zeroes). The sum of the digits of this number is 1+9223=20081 + 9 \cdot 223 = 2008.

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

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.