AMC 10 Step by Step

2013 AMC 10A Problem 19

P16-20~4 minPrint

In base 1010 , the number 20132013 ends in the digit 33 . In base 99 , on the other hand, the same number is written as (2676)9(2676)_{9} and ends in the digit 66 . For how many positive integers bb does the base- bb -representation of 20132013 end in the digit 33 ?

Log in to save your progress.
Show solution without answering

Key insight

The last digit in base b is the remainder after dividing by b, so b divides 2010 and must be bigger than 3.

Solution

  1. What is the last digit in base bb? In base 1010, the last digit of 20132013 is the remainder when you divide by 1010 (it is 33). In the same way, the last digit in base bb is the remainder when you divide by bb. Check with the example: 2013=9×223+62013 = 9 \times 223 + 6, and indeed base 99 ends in 66.
  2. Turn it into divisibility. We want 20132013 to leave remainder 33 when divided by bb. That means 2013−3=20102013 - 3 = 2010 divides evenly by bb. So bb must be a divisor of 20102010.
  3. The digit 3 must exist. Base bb uses the digits 00 to b−1b - 1. To have a digit 33, we need b≥4b \ge 4.
  4. Count the divisors of 2010. 2010=2×3×5×672010 = 2 \times 3 \times 5 \times 67. A divisor is made by deciding, for each of these 44 primes, whether to use it or not. That is 2×2×2×2=162 \times 2 \times 2 \times 2 = 16 divisors.
  5. Remove the small ones. The divisors less than 44 are 1,2,31, 2, 3. (The next one is 55.) So 16−3=1316 - 3 = 13 bases work.

The answer is (C) 13\boxed{\textbf{(C)}\ 13}.

Why this works

"Ends in the digit dd in base bb" means "leaves remainder dd when divided by bb", and also dd must be smaller than bb. The remainder condition turns into "bb divides N−dN - d", so the problem becomes counting divisors, plus a quick check at the small end. In remainder notation, 2013≡3(modb)2013 \equiv 3 \pmod{b} means exactly "20132013 leaves remainder 33 when divided by bb."

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

The last digit of a number written in base bb is its remainder upon division by bb. So we need 2013≡3(modb)2013 \equiv 3 \pmod b, which means bb divides 2013−3=20102013 - 3 = 2010. We also need 33 to be a legitimate digit in base bb, which requires b>3b > 3, i.e. b≥4b \ge 4.

Factor: 2010=2⋅3⋅5⋅672010 = 2 \cdot 3 \cdot 5 \cdot 67. With four distinct primes, the number of divisors is 24=162^4 = 16.

The divisors that are too small are 1,2,31, 2, 3 (the next divisor is 55). Removing them leaves 16−3=1316 - 3 = 13 valid bases.

The answer is (C) 13\boxed{\textbf{(C)}\ 13}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.