Question 29
C6 (CAN) A finite number of beans are placed on an infinite row of squares. A sequence of moves is performed as follows: At each stage a square containing more than one bean is chosen. Two beans are taken from this square; one of them is placed on the square immediately to the left, and the other is placed on the square immediately to the right of the chosen square. The sequence terminates if at some point there is at most one bean on each square. Given some initial configuration, show that any legal sequence of moves will terminate after the same number of steps and with the same final configuration.