2013 AMC 12B Problem 23
Problem 23 of 25HarderNumber Theory
Bernardo chooses a three-digit positive integer and writes both its base- and base- representations on a blackboard. Later LeRoy sees the two numbers Bernardo has written. Treating the two numbers as base- integers, he adds them to obtain an integer For example, if Bernardo writes the numbers and and LeRoy obtains the sum For how many choices of are the two rightmost digits of in order, the same as those of
Answer choices
Show solution
Solution
Because the condition on depends only on so consider Let the last two base- digits be and the last two base- digits be Modulo the desired equality and force The Chinese Remainder Theorem applied modulo and then gives Comparing twice this residue modulo with the decimal number reduces to Hence the valid pairs are exactly Each combines with choices of giving values of Thus, the correct answer is E.