game with sequence of 2008 non-negative integers (a,b,c)->(a-1,b+7,c-1)
Source: Dutch MO 2008 p5
September 1, 2019
combinatoricsgameSequence
Problem Statement
We’re playing a game with a sequence of non-negative integers.
A move consists of picking a integer from that sequence, of which the neighbours and are positive. We then replace and by and respectively. It is not allowed to pick the first or the last integer in the sequence, since they only have one neighbour. If there is no integer left such that both of its neighbours are positive, then there is no move left, and the game ends.
Prove that the game always ends, regardless of the sequence of integers we begin with, and regardless of the moves we make.