Maths Olympiad Prep

Track / Stage 6 / 196 of 400 #1676 of 2444

Problem 1676

National Olympiad, first round
Combinatorics Difficulty 6.4 Prove it Taiwan IMO Selection Camp · Taiwan · 2023

Let kk be a positive integer, and let n=2k,N={1,2,,n}n = 2^k, N = \{1, 2, \dots, n\}. For a bijective function ff from NN to NN, if there exists an element aa in a set ANA \subseteq N such that {a,f(a),f(f(a)),}=A\{a, f(a), f(f(a)), \dots\} = A, then we call AA a cycle of ff. Prove that: among all bijective functions ff from NN to NN, there are at least n!2\frac{n!}{2} many ff whose number of cycles does not exceed 2k12k-1.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Let A(n)A(n) be the sum of the number of cycles over all bijective functions from NN to NN. We first prove:

Lemma: A(n)=n!i=1n1iA(n) = n! \sum_{i=1}^{n} \frac{1}{i}.

Proof: Note that among all bijective functions from NN to NN,

1. Those satisfying f(n)=nf(n) = n number (n1)!(n-1)! in total, and the total number of cycles of these ff is A(n1)+(n1)!A(n-1) + (n-1)!, where the (n1)!(n-1)! corresponds to the new {n}\{n\}-cycle.
2. For any m{1,2,,n1}m \in \{1, 2, \dots, n-1\}, the functions satisfying f(n)=mf(n) = m number (n1)!(n-1)! in total, and the total number of cycles of these ff is A(n1)A(n-1).

Hence we obtain the recurrence:
A(n)=A(n1)+(n1)!+(n1)A(n1)=nA(n1)+(n1)!A(n)n!=A(n1)(n1)!+1nA(n)n!=A(1)1!+i=2n1i \begin{aligned} A(n) &= A(n-1) + (n-1)! + (n-1)A(n-1) = nA(n-1) + (n-1)! \\ \Rightarrow \frac{A(n)}{n!} &= \frac{A(n-1)}{(n-1)!} + \frac{1}{n} \\ \Rightarrow \frac{A(n)}{n!} &= \frac{A(1)}{1!} + \sum_{i=2}^{n} \frac{1}{i} \end{aligned}

And clearly A(1)=1A(1) = 1, so A(n)=n!i=1n1iA(n) = n! \sum_{i=1}^{n} \frac{1}{i}.

Returning to the original problem. It is easy to see that when k3k \ge 3, we have A(n)n!×kA(n) \le n! \times k. At this point, if the number of functions whose number of cycles is not less than n!2\frac{n!}{2} is 2k\ge 2k, then A(n)>n!2×2k=n!×k1A(n) > \frac{n!}{2} \times 2k = n! \times k^1, a contradiction! Hence the original proposition holds for k3k \ge 3. It is easy to verify that the proposition also holds for k=1,2k=1,2.

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from zh; metadata (topic, difficulty, ordering) added by this project.