Maths Olympiad Prep

Library / /171 of 520

Combinatorics Difficulty 6.1 National olympiad Find the answer

23. (POL 2) IMO6We{ }^{\mathrm{IMO} 6} \mathrm{We} consider permutations (x1,,x2n)\left(x_{1}, \ldots, x_{2 n}\right) of the set {1,,2n}\{1, \ldots, 2 n\} such that xixi+1=n\left|x_{i}-x_{i+1}\right|=n for at least one i{1,,2n1}i \in\{1, \ldots, 2 n-1\}. For every natural number nn, find out whether permutations with this property are more or less numerous than the remaining permutations of {1,,2n}\{1, \ldots, 2 n\}.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

23. Two numbers x,y{1,,2n}x, y \in\{1, \ldots, 2 n\} will be called twins if xy=n|x-y|=n. Then the set {1,,2n}\{1, \ldots, 2 n\} splits into nn pairs of twins. A permutation (x1,,x2n)\left(x_{1}, \ldots, x_{2 n}\right) of this set is said to be of type TkT_{k} if xixi+1=n\left|x_{i}-x_{i+1}\right|=n holds for exactly kk indices ii (thus a permutation of type T0T_{0} contains no pairs of neighboring twins). Denote by Fk(n)F_{k}(n) the number of TkT_{k}-type permutations of {1,,2n}\{1, \ldots, 2 n\}. Let (x1,,x2n)\left(x_{1}, \ldots, x_{2 n}\right) be a permutation of type T0T_{0}. Removing x2nx_{2 n} and its twin, we obtain a permutation of 2n22 n-2 elements consisting of n1n-1 pairs of twins. This new permutation is of one of the following types: (i) type T0:x2nT_{0}: x_{2 n} can take 2n2 n values, and its twin can take any of 2n22 n-2 positions; (ii) type T1:x2nT_{1}: x_{2 n} can take any one of 2n2 n values, but its twin must be placed to separate the unique pair of neighboring twins in the new permutation. The recurrence formula follows:
F0(n)=2n[(2n2)F0(n1)+F1(n1)] F_{0}(n)=2 n\left[(2 n-2) F_{0}(n-1)+F_{1}(n-1)\right]
Now let (x1,,x2n)\left(x_{1}, \ldots, x_{2 n}\right) be a permutation of type T1T_{1}, and let (xj,xj+1)\left(x_{j}, x_{j+1}\right) be the unique neighboring twin pair. Similarly, on removing this pair we get a permutation of 2n22 n-2 elements, either of type T0T_{0} or of type T1T_{1}. The pair (xj,xj+1)\left(x_{j}, x_{j+1}\right) is chosen out of nn twin pairs and can be arranged in two ways. Also, in the first case it can be placed anywhere ( 2n12 n-1 possible positions), but in the second case it must be placed to separate the unique pair of neighboring twins. Hence,
F1(n)=2n[(2n1)F0(n1)+F1(n1)]=F0(n)+2nF0(n1) F_{1}(n)=2 n\left[(2 n-1) F_{0}(n-1)+F_{1}(n-1)\right]=F_{0}(n)+2 n F_{0}(n-1)
This implies that F0(n)2F_{0}(n)2, is the twin of x1x_{1}, then
f(x1,x2,,x2n)=(x2,,xk1,x1,xk,,x2n) f\left(x_{1}, x_{2}, \ldots, x_{2 n}\right)=\left(x_{2}, \ldots, x_{k-1}, x_{1}, x_{k}, \ldots, x_{2 n}\right)
The mapping ff is injective, but not surjective. Thus F0(n)<F1(n)F_{0}(n)<F_{1}(n).

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.