Browse · MathNet
Print51st IMO Shortlisted Problems
counting and probability
Problem
Six stacks of coins are standing in a row. In the beginning every stack contains a single coin. There are two types of allowed moves:
Move 1: If stack with contains at least one coin, you may remove one coin from and add two coins to .
Move 2: If stack with contains at least one coin, then you may remove one coin from and exchange stacks and .
Decide whether it is possible to achieve by a sequence of such moves that the first five stacks are empty, whereas the sixth stack contains exactly coins.
Move 1: If stack with contains at least one coin, you may remove one coin from and add two coins to .
Move 2: If stack with contains at least one coin, then you may remove one coin from and exchange stacks and .
Decide whether it is possible to achieve by a sequence of such moves that the first five stacks are empty, whereas the sixth stack contains exactly coins.
Solution
Denote by the following: if some consecutive stacks contain coins, then it is possible to perform several allowed moves such that the stacks contain coins respectively, whereas the contents of the other stacks remain unchanged.
Let or , respectively. Our goal is to show that First we prove two auxiliary observations.
Lemma 1. for every .
Proof. We prove by induction that for every . For , apply Move 1 to the first stack: Now assume that and the statement holds for some . Starting from , apply Move 1 to the middle stack times, until it becomes empty. Then apply Move 2 to the first stack: Hence,
Lemma 2. For every positive integer , let (e.g. ). Then for every .
Proof. Similarly to Lemma 1, we prove that for every . For , apply Move 1 to the first stack: Now assume that the lemma holds for some . Starting from ( ), apply Lemma 1, then apply Move 1 to the first stack: Therefore,
Now we prove the statement of the problem.
First apply Move 1 to stack 5, then apply Move 2 to stacks and in this order. Then apply Lemma 2 twice: We already have more than coins in stack , since To decrease the number of coins in stack , apply Move 2 to this stack repeatedly until its size decreases to . (In every step, we remove a coin from and exchange the empty stacks and .) Finally, apply Move 1 repeatedly to empty stacks and :
Let or , respectively. Our goal is to show that First we prove two auxiliary observations.
Lemma 1. for every .
Proof. We prove by induction that for every . For , apply Move 1 to the first stack: Now assume that and the statement holds for some . Starting from , apply Move 1 to the middle stack times, until it becomes empty. Then apply Move 2 to the first stack: Hence,
Lemma 2. For every positive integer , let (e.g. ). Then for every .
Proof. Similarly to Lemma 1, we prove that for every . For , apply Move 1 to the first stack: Now assume that the lemma holds for some . Starting from ( ), apply Lemma 1, then apply Move 1 to the first stack: Therefore,
Now we prove the statement of the problem.
First apply Move 1 to stack 5, then apply Move 2 to stacks and in this order. Then apply Lemma 2 twice: We already have more than coins in stack , since To decrease the number of coins in stack , apply Move 2 to this stack repeatedly until its size decreases to . (In every step, we remove a coin from and exchange the empty stacks and .) Finally, apply Move 1 repeatedly to empty stacks and :
Final answer
Yes, it is possible.
Techniques
Games / greedy algorithmsInduction / smoothing