Maths Olympiad Prep

Library / /10 of 18

Algebra Difficulty 5.8 AIME, harder Find the answer Italy

Problem:

Maddalena writes on a sheet all the powers of 22 from 11 to 21002^{100} (both ends included). How many of the numbers she has written begin with 11?

Pick one

Solution

Solution:

The answer is (D). Let us start with a more general observation. Given a positive integer n2n \geq 2, consider the smallest power 2a2^{a} of 22 that in base 1010 is written with at least nn digits. Since 2a12^{a-1} is written with at most n1n-1 digits we have 2a110n112^{a-1} \leq 10^{n-1}-1, and hence 10n12a210n1110^{n-1} \leq 2^{a} \leq 2 \cdot 10^{n-1}-1, where the first inequality follows from the hypothesis that 2a2^{a} is written with at least nn digits. The inequalities just written mean exactly that the decimal representation of 2a2^{a} begins with the digit 11. On the other hand, the next power of 22, namely 2a+12^{a+1}, satisfies 210n12a+1410n122 \cdot 10^{n-1} \leq 2^{a+1} \leq 4 \cdot 10^{n-1}-2, and hence its first decimal digit is 22 or 33. From this it follows immediately that 2a2^{a} is the unique power of 22 that in base 1010 is written with exactly nn digits and whose first digit is equal to 11. The same obviously holds for powers of 22 with a single digit: the only one beginning with 11 is precisely 202^{0}. We therefore obtain that for every possible length of the decimal representation there exists one and only one power of 22 whose decimal representation has that length and begins with 11.

From this it follows that in order to count the desired powers of 22 we only need to understand how many different lengths occur among the numbers written by Maddalena: for each length there is exactly one power of 22 that begins with the digit 11. Since 202^{0} has a single digit, it is a matter of understanding how many digits 21002^{100} has. Observe that 210=1024>1032^{10}=1024>10^{3}, hence 2100>(103)10=10302^{100}>(10^{3})^{10}=10^{30}, and therefore 21002^{100} has at least 3131 digits. Let us now show that 21002^{100} has exactly 3131 digits, that is, that 2100<10312^{100}<10^{31}. Simplifying a factor 2302^{30} from both sides, the desired inequality becomes 270<105302^{70}<10 \cdot 5^{30}. Observe now that 27=1282^{7}=128 and 53=1255^{3}=125, so that the inequality can further be rewritten in the form
(128125)10<10 \left(\frac{128}{125}\right)^{10}<10
The validity of this inequality can be verified in various ways; one possibility is to observe that 128125=1+3125<1+140\frac{128}{125}=1+\frac{3}{125}<1+\frac{1}{40}, from which
(128125)2<(1+140)2=1+120+11600<1+119 \left(\frac{128}{125}\right)^{2}<\left(1+\frac{1}{40}\right)^{2}=1+\frac{1}{20}+\frac{1}{1600}<1+\frac{1}{19}
and squaring once more
(128125)4<(1+119)2=1+219+1361<1+19 \left(\frac{128}{125}\right)^{4}<\left(1+\frac{1}{19}\right)^{2}=1+\frac{2}{19}+\frac{1}{361}<1+\frac{1}{9}
Continuing in this way we immediately find (128125)8<2\left(\frac{128}{125}\right)^{8}<2 and hence (128125)10<(128125)16<22=4<10\left(\frac{128}{125}\right)^{10}<\left(\frac{128}{125}\right)^{16}<2^{2}=4<10 as desired.

Since the numbers written by Maddalena have lengths varying between 11 and 3131, we obtain that the powers of 22 beginning with 11 written by Maddalena are exactly 3131.

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 translated into English from it; metadata (topic, difficulty) added by this project.