DR.WANG Mathematics中文

2024 AMC 12B · Question 6

Algebra · logarithm · number base · arithmetic

Problem outline

An amount of money is 5⋅10135\cdot10^{13} dollars. How many digits are needed to write that integer in base five? You may use log⁡105≈0.7\log_{10}5\approx0.7. (A) 1818 (B) 2020 (C) 2222 (D) 2424 (E) 2626

Show answer and methods 2 methods

Answer

B. 2020.

Method 1 Compare integer powers without logarithms

Let N=5⋅1013=213514N=5\cdot10^{13}=2^{13}5^{14}. Compare 213=81922^{13}=8192 with 55=31255^5=3125 and 56=156255^6=15625.

Multiplication by 5145^{14} gives 519<N<5205^{19}<N<5^{20}. The leading base-five digit is in position 5195^{19}, and the last is in position 505^0, for 2020 digits.

Method 2 Count places with logarithms

The number of base-five digits in a positive integer NN is ⌊log⁡5N⌋+1\lfloor\log_5N\rfloor+1. For the given amount, log⁡5N=1+13/log⁡105\log_5 N=1+13/\log_{10}5.

The supplied approximation yields 1+13/0.7≈19.571+13/0.7\approx19.57, placing the leading digit at exponent 1919. Including exponent zero gives 2020 places.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)