olymmath

BALTIC-WAY 2007 Problem 6

    Freddy writes down numbers 1,2,…,n1, 2,\ldots ,n in some order. Then he makes a list of all pairs (i,j)(i, j) such that 1≤i<j≤n1\le i<j\le n and the ii -th number is bigger than the jj -th number in his permutation. After that, Freddy repeats the following action while possible: choose a pair (i,j)(i, j) from the current list, interchange the ii -th and the jj -th number in the current permutation, and delete (i,j)(i, j) from the list. Prove that Freddy can choose pairs in such an order that, after the process finishes, the numbers in the permutation are in ascending order.

    Dataset text AI-MO AoPS. Quoted with source.

    Solutions

    No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

    Add a solution

    Similar problems

    These problems have the most words in common with this statement.

    Locator baltic-way/2007/p6 · Tag EHG1HB0YF7 · Edit this page on GitHub · Keys: j next, k previous