Maths Olympiad Prep

Library / /10 of 24

, 2016

Combinatorics Difficulty 6.3 National olympiad Prove it Argentina

Let n3n \ge 3 an integer. Find the number of arrangements a1,a2,...,ana_1, a_2, ..., a_n of 1,2,...,n1, 2, ..., n around a circle, in clockwise direction, such that a1a2+a2a3++an1an+ana1=2n2|a_1 - a_2| + |a_2 - a_3| + \dots + |a_{n-1} - a_n| + |a_n - a_1| = 2n - 2.

Solution

First we clarify the meaning of the given equality. Let a1,a2,...,ana_1, a_2, ..., a_n be an arbitrary circular arrangement of 1,2,...,n1, 2, ..., n, n3n \ge 3, in clockwise direction. The extremal numbers 11 and nn separate the remaining numbers into two groups. For convenience denote them by b1,...,bkb_1, ..., b_k and c1,...,clc_1, ..., c_l, arranged as shown in the figure. Here k+l=n2k + l = n - 2; one of kk and ll can be zero. We have
nbk+bkbk1++b11(nbk)+(bkbk1)++(b11)=n1|n - b_k| + |b_k - b_{k-1}| + \dots + |b_1 - 1| \ge (n - b_k) + (b_k - b_{k-1}) + \dots + (b_1 - 1) = n - 1
ncl+clcl1++c11(ncl)+(clcl1)++(c11)=n1|n - c_l| + |c_l - c_{l-1}| + \dots + |c_1 - 1| \ge (n - c_l) + (c_l - c_{l-1}) + \dots + (c_1 - 1) = n - 1
The absolute values in the two left hand sides are
a1a2,a2a3,,an1an,ana1 |a_1 - a_2|, |a_2 - a_3|, \dots, |a_{n-1} - a_n|, |a_n - a_1|
Adding up gives S=a1a2+a2a3++an1an+ana12n2S = |a_1 - a_2| + |a_2 - a_3| + \dots + |a_{n-1} - a_n| + |a_n - a_1| \ge 2n - 2. For any circular arrangement a1,a2,...,ana_1, a_2, ..., a_n of 1,2,...,n1, 2, ..., n.
We are interested in the equality case. Clearly S=2n2S = 2n - 2 if and only if bk>bk1>>b1b_k > b_{k-1} > \dots > b_1 and cl>cl1>>c1c_l > c_{l-1} > \dots > c_1 (because n>bk,b1>1n > b_k, b_1 > 1 and n>cl,c1>1n > c_l, c_1 > 1 hold trivially).
Now we show that there is a bijection between our admissible circular arrangements, the ones with S=2n2S = 2n - 2, and the subsets of {2,,n1}\{2, \dots, n-1\}. Let BB be any subset of {2,,n1}\{2, \dots, n-1\}, including the empty one. Construct a circular arrangement of 1,2,...,n1, 2, ..., n in a way suggested by the previous reasoning. Start with 11, proceed in clockwise direction along the circle by placing the elements of BB in increasing order, place nn after them and finish with the remaining elements of {2,,n1}\{2, \dots, n-1\} in decreasing order. By the above the obtained circular arrangement is admissible, and clearly different subsets BB of {2,,n1}\{2, \dots, n-1\} give rise to different arrangements. The bijection shows that there are 2n22^{n-2} admissible circular arrangements, as many as the subsets of {2,,n1}\{2, \dots, n-1\}.

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 and solution reproduced as published; topic and difficulty added by this site.