MathDB
30 integers on a chalkboard

Source: Iberoamerican 2015 #6

November 11, 2015
combinatorics

Problem Statement

Beto plays the following game with his computer: initially the computer randomly picks 3030 integers from 11 to 20152015, and Beto writes them on a chalkboard (there may be repeated numbers). On each turn, Beto chooses a positive integer kk and some if the numbers written on the chalkboard, and subtracts kk from each of the chosen numbers, with the condition that the resulting numbers remain non-negative. The objective of the game is to reduce all 3030 numbers to 00, in which case the game ends. Find the minimal number nn such that, regardless of which numbers the computer chooses, Beto can end the game in at most nn turns.