2016 AMC 12A Problem 25
Problem 25 of 25HarderAlgebraNumber Theory
Let be a positive integer. Bernardo and Silvia take turns writing and erasing numbers on a blackboard as follows: Bernardo starts by writing the smallest perfect square with digits. Every time Bernardo writes a number, Silvia erases the last digits of it. Bernardo then writes the next perfect square, Silvia erases the last digits of it, and this process continues until the last two numbers that remain on the board differ by at least Let be the smallest positive integer not written on the board. For example, if then the numbers that Bernardo writes are and and the numbers showing on the board after Silvia erases are and and thus What is the sum of the digits of
Answer choices
Show solution
Solution
Take The smallest perfect square with digits is and after Silvia erases, the numbers shown are for
Put A jump of at least from to requires so write with The case gives a jump of only so the first larger jump has Let and Because is divisible by
Therefore the first jump of at least occurs at the first for which Since this is The last displayed value before the gap is so the smallest missing integer is
Summing over There are no carries, so the digit sum is
Thus, the correct answer is E.