2010 USAMO · Question 2
Problem outline
Rank students from (shortest) to (tallest). They stand in a circle, all facing forwards along the circle. A student may change places with the person directly ahead only if the student is at least two ranks taller. Show that every sequence of such exchanges terminates after at most moves.
Show answer and methods 1 methods
Answer
Ranks exchange at most times. Summing gives the stated bound.
Method 1 Count overtakes between two consecutive ranks
Consider any finite prefix of a legal move sequence. Write for the number of times passes , with . Consecutive ranks never exchange, so .
For , follow only in their circular order, looking in the direction of travel. Immediately before passes their order starting at is ; immediately afterwards it is . To pass again, must return to the first order. No exchange with an outsider affects this order, and cannot pass one another. Consequently some exchange of with must occur between successive passes of by .
It follows that . Inducting on yields . On summing over all , the quantity counts the possible third ranks with . Each triple occurs once, so the bound is . It applies to every finite prefix, ruling out an infinite sequence.
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)