Ana and Beto play against each other. Initially, Ana chooses a non-negative integer and announces it to Beto. Next Beto writes a succession of numbers, of them equal to and of them equal to . Once this is done, Ana must split the succession into several blocks of consecutive terms (each term belonging to exactly one block), and calculate the sum of the numbers of each block. Finally, add the squares of the calculated numbers. If this sum is equal to , Ana wins. If not, Beto wins. Determine all values of for which Ana can ensure victory, no matter how Beto plays.
RIOPLATENSE 2016
Olimpiada Rioplatense 2016.
Other problems
Determine all positive integers for which there are positive real numbers and such that and is an integer.
Let be an acute-angled triangle of circumcenter and orthocenter . Let be the midpoint of be the symmetric of with respect to be the midpoint of and be a point on the line A H such that is parallel to . Prove that and are perpendicular.
Let be a real number. A function is called c-friendly if and for all the numbers . Find the maximum of the expression for all c-friendly functions and for all the numbers .
Initially one have the number in each cell of the table . A moviment is when one choose a sub-table and add for every cell of this sub-table. Find the maximum value of , where after moviments, there are cells such that your centers are vertices of a square and the sum of this cells is at least .Note: A square does not, necessarily, have your sides parallel with the sides of the table.
When the natural numbers are written one after another in an increasing way, you get an infinite succession of digits Denote the number formed by the first digits of this sequence . Prove that for all positive integer there is a positive integer which simultaneously verifies the following three conditions: (i) divides , (ii) divides , (iii) divides the sum of the digits of .