2016 AMC (Sample Question)

Let k k be a positive integer. Bernado and Silvia take turns writing and erasing numbers on a blackboard as follows: Bernardo starts by writing the smallest perfect square with k + 1 k+1 digits. Every time Bernardo writes a number, Silvia erases the last k k digits of it. Bernardo then writes the next perfect square, Silvia erases the last k k 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 = 1 k=1 , then the numbers that Bernardo writes are 16 , 25 , 36 , 49 , 64 16,25,36,49,64 , and the numbers showing on the board after Silvia erases are 1 , 2 , 3 , 4 , 5 , 6 1,2,3,4,5,6 , and thus f ( 1 ) = 5 f(1) = 5 . What is the sum of digits of f ( 2 ) + f ( 4 ) + f ( 6 ) + + f ( 2016 ) f(2) + f(4) + f(6) + \cdots + f(2016) ?

8064 8030 8002 8048 7986

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Kat Soto
Dec 25, 2016

Therefore each f(k) adds 2 + 5 + 1 = 8 to the sum of the digits. Since 2n = 2016, n = 1008, and *8n = 8064 *

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...