olymmath

SMO 2022 Problem 4

    Let n,kn,k , 1≤k≤n1\le k\le n be fixed integers. Alice has nn cards in a row, where the card has position ii has the label i+ki+k (or i+k−ni+k-n if i+k>ni+k>n ). Alice starts by colouring each card either red or blue. Afterwards, she is allowed to make several moves, where each move consists of choosing two cards of different colours and swapping them. Find the minimum number of moves she has to make (given that she chooses the colouring optimally) to put the cards in order (i.e. card ii is at position ii ).

    NOTE: edited from original phrasing, which was ambiguous.

    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 sg-smo/2022/p4 · Tag CWFPKRWFBV · Edit this page on GitHub · Keys: j next, k previous