1990 AIME Problem 13

Attempt Problem 13 of the 1990 AIME below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 1990 AIME solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

13.

Let TT be the set of powers 9k,9^k, where kk is an integer with 0k4000.0\leq k\leq4000. Given that 940009^{4000} has 38173817 digits and that its first (leftmost) digit is 9,9, how many elements of TT have 99 as their leftmost digit?

Answer: 184
Concepts:digitsexponentinvariant
Difficulty rating: 2230
Small Hint:

Compare the number of digits of 9k9^k with that of 9k19^{k-1}

Big Hint:

A multiplication by 99 produces a leading 99 exactly when the digit count does not increase

Solution:

For k1,k\geq1, the number 9k9^k begins with 99 exactly when it has the same number of digits as 9k1.9^{k-1}. Indeed, if 9k19^{k-1} has dd digits and multiplication by 99 creates no new digit, then 9k910d1,9^k\geq9\cdot10^{d-1}, so its leading digit is 9.9. If multiplication does create a new digit, then 9k<910d,9^k\lt9\cdot10^d, so its leading digit is at most 8.8.

Starting from the one-digit number 90,9^0, the digit count reaches 38173817 after 40004000 multiplications. Thus it increases on 38163816 steps and stays unchanged on 40003816=1844000-3816=184 steps. Since 90=19^0=1 does not begin with 9,9, exactly 184184 elements of TT do.

← Problem 12#12
Full Exam

Problem 13 in Other Years