Browse · MathNet
PrintInternational Mathematical Olympiad Shortlisted Problems
counting and probability
Problem
Players and play a paintful game on the real line. Player has a pot of paint with four units of black ink. A quantity of this ink suffices to blacken a (closed) real interval of length . In every round, player picks some positive integer and provides units of ink from the pot. Player then picks an integer and blackens the interval from to (some parts of this interval may have been blackened before). The goal of player is to reach a situation where the pot is empty and the interval is not completely blackened. Decide whether there exists a strategy for player to win in a finite number of moves.
Solution
No. Such a strategy for player does not exist.
We will present a strategy for player that guarantees that the interval is completely blackened, once the paint pot has become empty.
At the beginning of round , let denote the largest real number for which the interval between and has already been blackened; for completeness we define . Let be the integer picked by player in this round; we define an integer by Note that is the leftmost interval that may be painted in round and that still contains some uncolored point.
Player now looks at the next interval . If still contains an uncolored point, then player blackens the interval ; otherwise he blackens the interval . We make the convention that, at the beginning of the game, the interval is already blackened; thus, if , then blackens .
Our aim is to estimate the amount of ink used after each round. Firstly, we will prove by induction that, if before th round the segment is not completely colored, then, before this move, (i) the amount of ink used for the segment is at most ; and (ii) for every , has blackened at most one interval of length to the right of .
Obviously, these conditions are satisfied for . Now assume that they were satisfied before the th move, and consider the situation after this move; let be the number has picked at this move.
If has blackened the interval at this move, then , and (i) holds by the induction hypothesis. Next, had blackened before the th move any interval of length to the right of , this interval would necessarily coincide with . By our strategy, this cannot happen. So, condition (ii) also remains valid.
Assume now that has blackened the interval at the th move, but the interval still contains uncolored parts (which means that is contained in ). Then condition (ii) clearly remains true, and we need to check (i) only. In our case, the intervals and are completely colored after the th move, so either reaches the right endpoint of or moves even further to the right. So, for some .
Next, any interval blackened by before the th move which intersects should be contained in ; by (ii), all such intervals have different lengths not exceeding , so the total amount of ink used for them is less than . Thus, the amount of ink used for the segment does not exceed the sum of , (used for ), and used for the segment . In total it gives at most . Thus condition (i) is also verified in this case. The claim is proved.
Finally, we can perform the desired estimation. Consider any situation in the game, say after the st move; assume that the segment is not completely black. By (ii), in the segment player has colored several segments of different lengths; all these lengths are negative powers of not exceeding ; thus the total amount of ink used for this interval is at most . Using (i), we obtain that the total amount of ink used is at most . Thus the pot is not empty, and therefore never wins.
We will present a strategy for player that guarantees that the interval is completely blackened, once the paint pot has become empty.
At the beginning of round , let denote the largest real number for which the interval between and has already been blackened; for completeness we define . Let be the integer picked by player in this round; we define an integer by Note that is the leftmost interval that may be painted in round and that still contains some uncolored point.
Player now looks at the next interval . If still contains an uncolored point, then player blackens the interval ; otherwise he blackens the interval . We make the convention that, at the beginning of the game, the interval is already blackened; thus, if , then blackens .
Our aim is to estimate the amount of ink used after each round. Firstly, we will prove by induction that, if before th round the segment is not completely colored, then, before this move, (i) the amount of ink used for the segment is at most ; and (ii) for every , has blackened at most one interval of length to the right of .
Obviously, these conditions are satisfied for . Now assume that they were satisfied before the th move, and consider the situation after this move; let be the number has picked at this move.
If has blackened the interval at this move, then , and (i) holds by the induction hypothesis. Next, had blackened before the th move any interval of length to the right of , this interval would necessarily coincide with . By our strategy, this cannot happen. So, condition (ii) also remains valid.
Assume now that has blackened the interval at the th move, but the interval still contains uncolored parts (which means that is contained in ). Then condition (ii) clearly remains true, and we need to check (i) only. In our case, the intervals and are completely colored after the th move, so either reaches the right endpoint of or moves even further to the right. So, for some .
Next, any interval blackened by before the th move which intersects should be contained in ; by (ii), all such intervals have different lengths not exceeding , so the total amount of ink used for them is less than . Thus, the amount of ink used for the segment does not exceed the sum of , (used for ), and used for the segment . In total it gives at most . Thus condition (i) is also verified in this case. The claim is proved.
Finally, we can perform the desired estimation. Consider any situation in the game, say after the st move; assume that the segment is not completely black. By (ii), in the segment player has colored several segments of different lengths; all these lengths are negative powers of not exceeding ; thus the total amount of ink used for this interval is at most . Using (i), we obtain that the total amount of ink used is at most . Thus the pot is not empty, and therefore never wins.
Final answer
No; player A has no such winning strategy.
Techniques
Games / greedy algorithmsInvariants / monovariants