olymmath

AMC 12 2016a Problem 25

  • Paper

Let kk 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 k+1k+1 digits. Every time Bernardo writes a number, Silvia erases the last kk digits of it. Bernardo then writes the next perfect square, Silvia erases the last kk digits of it, and this process continues until the last two numbers that remain on the board differ by at least 2. Let f(k)f(k) be the smallest positive integer not written on the board. For example, if k=1k = 1, then the numbers that Bernardo writes are 16,25,36,49,6416, 25, 36, 49, 64, and the numbers showing on the board after Silvia erases are 1,2,3,4,1, 2, 3, 4, and 66, and thus f(1)=5f(1) = 5. What is the sum of the digits of f(2)+f(4)+f(6)+...+f(2016)f(2) + f(4)+ f(6) + ... + f(2016)?

\textbf{(A)}\ 7986 \textbf{(B)}\ 8002 \textbf{(C)}\ 8030 \textbf{(D)}\ 8048 \textbf{(E)}\ 8064

Dataset text AMC 12 2000 to 2025. Quoted with source.

Show the answer

E

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Similar problems

These problems have the most words in common with this statement.

Locator amc12/2016a/p25 · Tag DFBQMHDTC4 · Edit this page on GitHub · Keys: j next, k previous