Problem 5
Two squirrels, Bushy and Jumpy, have collected walnuts for the winter. Jumpy numbers the walnuts from through and digs little holes in a circular pattern in the ground around their favourite tree. The next morning Jumpy notices that Bushy had placed one walnut into each hole, but had paid no attention to the numbering. Unhappy, Jumpy decides to reorder the walnuts by performing a sequence of moves. In the -th move, Jumpy swaps the positions of the two walnuts adjacent to walnut . Prove that there exists a value of such that, on the -th move, Jumpy swaps some walnuts and with .
Step 2 of 5: Colour walnuts red as they are processed
In plain words
Recording which walnuts have already been "used" as a colour turns the swapping process into a purely combinatorial colouring problem.
Detailed analysis
Right after move is performed, colour walnut red; all other walnuts keep their previous colour (initially all black). By the assumption of the first step, the walnut that turns red at move always has two same-coloured neighbours at that moment — both black, or both already red — never one of each.