Maths Olympiad Prep

Library / /10 of 19

, 2024

Algebra Difficulty 4.9 AIME Find the answer United States

The national debt of the United States is on track to reach 5×10135 \times 10^{13} dollars by 2033. How many digits does this number of dollars have when written as a numeral in base 5? (The approximation of log105\log_{10} 5 as 0.7 is sufficient for this problem.)

Pick one

Solution

The number of digits required to write the positive integer nn in base bb is 1+logbn1 + \log_b n, rounded down to an integer. Therefore the required value is the floor of
1+log5(51013)=1+log55+13log510=1+1+131log1052+130.7=20.5, 1 + \log_5 (5 \cdot 10^{13}) = 1 + \log_5 5 + 13 \log_5 10 = 1 + 1 + 13 \cdot \frac{1}{\log_{10} 5} \approx 2 + \frac{13}{0.7} = 20.5\dots,
which is 20.

It is possible to convert a positive integer to base 5 by repeatedly dividing by 5 and recording the remainders. This list of remainders in reverse order is the required numeral. Here 51013=2135145 \cdot 10^{13} = 2^{13} \cdot 5^{14}. Performing this calculation gives a remainder of 0 for the first 14 iterations. The following table gives the remaining 6 iterations:

dividendquotientremainder
819216382
16383273
327652
65130
1323
202

Therefore 50,000,000,000,000ten=23,023,200,000,000,000,000five50,000,000,000,000_{\text{ten}} = 23,023,200,000,000,000,000_{\text{five}}, a numeral with 20 digits.

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