2013 AMC 12B Problem 23

Below is the professionally curated solution for Problem 23 of the 2013 AMC 12B, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2013 AMC 12B solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:number basemodular arithmeticcasework

Difficulty rating: 2510

23.

Bernardo chooses a three-digit positive integer NN and writes both its base-55 and base-66 representations on a blackboard. Later LeRoy sees the two numbers Bernardo has written. Treating the two numbers as base-1010 integers, he adds them to obtain an integer S.S. For example, if N=749,N = 749, Bernardo writes the numbers 10,44410{,}444 and 3,245,3{,}245, and LeRoy obtains the sum S=13,689.S = 13{,}689. For how many choices of NN are the two rightmost digits of S,S, in order, the same as those of 2N?2N?

55

1010

1515

2020

2525

Solution:

Because lcm(25,36,100)=900,\mathrm{lcm}(25, 36, 100) = 900, the condition on NN depends only on Nmod900,N \bmod 900, so consider 0N899.0 \le N \le 899. Let the last two base-55 digits be a1,a0a_1, a_0 and the last two base-66 digits be b1,b0.b_1, b_0. Matching the last two decimal digits of SS and 2N2N forces the units digits equal, a0=b0,a_0 = b_0, and then working modulo 100100 gives exactly 55 valid pairs (a1,b1):(a_1, b_1): (0,0),(0, 0), (2,0),(2, 0), (4,0),(4, 0), (1,5),(1, 5), and (3,5).(3, 5). Each combines with 55 choices of a0a_0 (0a04),(0 \le a_0 \le 4), giving 2525 values of N.N. Thus, the correct answer is E.

Problem 23 in Other Years