Maths Olympiad Prep

Library / /11 of 12

Combinatorics Difficulty 6.9 National Olympiad Prove it Mongolia

Let n2n \ge 2. There are 2n2n people standing in a circle, each holding a different painting in an art conference. Each person has their own fixed preference order of the paintings, which can be different from person to person. A trade of paintings between two adjacent people can happen if and only if both people are getting a painting they prefer more. What is the maximum number of trades that can happen?
(Proposed by Nyamdavaa Amar)

Solution

Answer: 2n2n2n^2 - n.
Consider the position of the painting for each person in their preference order, and let SS denote the sum of these positions. The maximum of SS is 2n2n=4n22n \cdot 2n = 4n^2 and the minimum of SS is 2n1=2n2n \cdot 1 = 2n. For each trade, SS is reduced at least by 2. Hence the maximum number of trades is n(2n1)n(2n - 1).

Now we show that n(2n1)n(2n - 1) trades can happen. We number the paintings from 1 to 2n2n in clockwise direction. Then we let odd-numbered paintings go clockwise and even-numbered paintings go counter-clockwise. After nn trades, we can have all odd-numbered paintings shifted one position in clockwise direction and all even-numbered paintings shifted one position in counter-clockwise direction. Repeating this 2n2n times will return the paintings to the initial position. Repeating 2n12n - 1 times gives n(2n1)n(2n - 1) trades. This determines the preference order for each person.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.