Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO Problem Shortlist

counting and probability

Problem

Five identical empty buckets of 2-liter capacity stand at the vertices of a regular pentagon. Cinderella and her wicked Stepmother go through a sequence of rounds: At the beginning of every round, the Stepmother takes one liter of water from the nearby river and distributes it arbitrarily over the five buckets. Then Cinderella chooses a pair of neighboring buckets, empties them into the river, and puts them back. Then the next round begins. The Stepmother's goal is to make one of these buckets overflow. Cinderella's goal is to prevent this. Can the wicked Stepmother enforce a bucket overflow?
Solution
No, the Stepmother cannot enforce a bucket overflow and Cinderella can keep playing forever. Throughout we denote the five buckets by , and , where is adjacent to bucket and () and all indices are taken modulo . Cinderella enforces that the following three conditions are satisfied at the beginning of every round:

(1) Two adjacent buckets (say and ) are empty.

(2) The two buckets standing next to these adjacent buckets (here and ) have total contents at most .

(3) The remaining bucket (here ) has contents at most .

These conditions clearly hold at the beginning of the first round, when all buckets are empty.

Assume that Cinderella manages to maintain them until the beginning of the -th round (). Denote by () the contents of bucket at the beginning of this round and by the corresponding contents after the Stepmother has distributed her liter of water in this round.

By the conditions, we can assume , and . Then, since the Stepmother adds one liter, we conclude . This inequality implies or . For reasons of symmetry, we only consider the second case.

Then Cinderella empties buckets and .

At the beginning of the next round and are empty (condition (1) is fulfilled), due to condition (2) is fulfilled and finally since we also must have (condition (3) is fulfilled).

Therefore, Cinderella can indeed manage to maintain the three conditions (1)-(3) also at the beginning of the -th round. By induction, she thus manages to maintain them at the beginning of every round. In particular she manages to keep the contents of every single bucket at most liter. Therefore, the buckets of -liter capacity will never overflow.

---

Alternative solution.

We prove that Cinderella can maintain the following two conditions and hence she can prevent the buckets from overflow:

(1') Every two non-adjacent buckets contain a total of at most .

(2') The total contents of all five buckets is at most .

We use the same notations as in the first solution. The two conditions again clearly hold at the beginning. Assume that Cinderella maintained these two conditions until the beginning of the -th round. A pair of non-neighboring buckets is called critical if . By condition (2), after the Stepmother has distributed her water we have . Therefore,



and hence there is a pair of non-neighboring buckets which is not critical, say . Now, if both of the pairs and are critical, we must have and Cinderella can empty the buckets and . This clearly leaves no critical pair of buckets and the total contents of all the buckets is then . Therefore, conditions (1') and (2') are fulfilled.

Now suppose that without loss of generality the pair is not critical. If in this case , then one of the inequalities and must hold. But then Cinderella can empty and or and , respectively and clearly fulfill the conditions.

Finally consider the case . By , at least one of the pairs and is not critical. Without loss of generality let this be the pair . Since the pair is not critical and , we must have . But then, as before, Cinderella can maintain the two conditions at the beginning of the next round by either emptying and or and .
Final answer
No; the Stepmother cannot enforce an overflow, and Cinderella can prevent any bucket from overflowing indefinitely.

Techniques

Invariants / monovariantsGames / greedy algorithmsInduction / smoothing