Skip to main content
OlympiadHQ

Browse · MathNet

Print

56th International Mathematical Olympiad Shortlisted Problems

counting and probability

Problem

In Lineland there are towns, arranged along a road running from left to right. Each town has a left bulldozer (put to the left of the town and facing left) and a right bulldozer (put to the right of the town and facing right). The sizes of the bulldozers are distinct. Every time when a right and a left bulldozer confront each other, the larger bulldozer pushes the smaller one off the road. On the other hand, the bulldozers are quite unprotected at their rears; so, if a bulldozer reaches the rear-end of another one, the first one pushes the second one off the road, regardless of their sizes. Let and be two towns, with being to the right of . We say that town can sweep town away if the right bulldozer of can move over to pushing off all bulldozers it meets. Similarly, can sweep away if the left bulldozer of can move to pushing off all bulldozers of all towns on its way. Prove that there is exactly one town which cannot be swept away by any other one.
Solution
Let be the towns enumerated from left to right. Observe first that, if town can sweep away town , then also can sweep away every town located between and . We prove the problem statement by strong induction on . The base case is trivial. For the induction step, we first observe that the left bulldozer in and the right bulldozer in are completely useless, so we may forget them forever. Among the other bulldozers, we choose the largest one. Without loss of generality, it is the right bulldozer of some town with . Surely, with this large bulldozer can sweep away all the towns to the right of it. Moreover, none of these towns can sweep away; so they also cannot sweep away any town to the left of . Thus, if we remove the towns , none of the remaining towns would change its status of being (un)sweepable away by the others. Applying the induction hypothesis to the remaining towns, we find a unique town among which cannot be swept away. By the above reasons, it is also the unique such town in the initial situation. Thus the induction step is established.

---

Alternative solution.

We start with the same enumeration and the same observation as in Solution 1. We also denote by and the sizes of the left and the right bulldozers belonging to , respectively. One may easily see that no two towns and with can sweep each other away, for this would yield . Clearly, there is no town which can sweep away from the right. Then we may choose the leftmost town which cannot be swept away from the right. One can observe now that no town with may sweep away some town with , for otherwise would be able to sweep away as well. Now we prove two claims, showing together that is the unique town which cannot be swept away, and thus establishing the problem statement.

Claim 1. also cannot be swept away from the left. Proof. Let be some town to the left of . By the choice of , town can be swept away from the right by some town with . As we have already observed, cannot be greater than . On the other hand, cannot sweep away, so a fortiori it cannot sweep away.

Claim 2. Any town with can be swept away by some other town. Proof. If , then can be swept away from the right due to the choice of . In the remaining case we have . Let be a town among having the largest right bulldozer. We claim that can sweep away. If this is not the case, then for some with . But this means that is greater than all the numbers with , so can sweep away. This contradicts the choice of .

---

Alternative solution.

We separately prove that (i) there exists a town which cannot be swept away, and that (ii) there is at most one such town. We also make use of the two observations from the previous solutions. To prove , assume contrariwise that every town can be swept away. Let be the leftmost town; next, for every we inductively choose to be some town which can sweep away. Now we claim that for every , the town is to the right of ; this leads to the contradiction, since the number of towns is finite. Induction on . The base case is clear due to the choice of . Assume now that for all with , the town is to the right of . Suppose that is situated to the left of ; then it lies between and (possibly coinciding with ) for some . Therefore, can be swept away by , which shows that it cannot sweep away - so also cannot sweep away. This contradiction proves the induction step. To prove (ii), we also argue indirectly and choose two towns and neither of which can be swept away, with being to the left of . Consider the largest bulldozer between them (taking into consideration the right bulldozer of and the left bulldozer of ). Without loss of generality, is a left bulldozer; then it is situated in some town to the right of , and this town may sweep away since nothing prevents it from doing that. A contradiction.

Techniques

Induction / smoothingColoring schemes, extremal argumentsGames / greedy algorithmsLogic