Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 2023 / Problems / Day 1, P5

IMC 2023 · Day 1 · P5

killer

Fix positive integers nn and kk such that 2kn2 \le k \le n and a set MM consisting of nn fruits. A permutation is a sequence x=(x1,x2,,xn)x = (x_1, x_2, \dots, x_n) such that {x1,,xn}=M\{x_1, \dots, x_n\} = M. Ivan prefers some (at least one) of these permutations. He realized that for every preferred permutation xx, there exist kk indices i1<i2<<iki_1 < i_2 < \dots < i_k with the following property: for every 1j<k1 \le j < k, if he swaps xijx_{i_j} and xij+1x_{i_{j+1}}, he obtains another preferred permutation.

Prove that he prefers at least k!k! permutations.

(proposed by Ivan Mitrofanov, École Normale Superieur Paris)

Solution (official)

Hint: For every permutation zz of MM, choose a preferred permutation xx such that mMx1(m)z1(m)\sum_{m \in M} x^{-1}(m) z^{-1}(m) is maximal.

Let SS be the set of all n!n! permutations of MM, and let PP be the set of preferred permutations. For every permutation xSx \in S and mMm \in M, let x1(m)x^{-1}(m) denote the unique number i{1,2,,n}i \in \{1, 2, \dots, n\} with xi=mx_i = m.

For every xPx \in P, define A(x)={zS:yP mMx1(m)z1(m)mMy1(m)z1(m)}.A(x) = \left\{ z \in S : \forall y \in P \ \sum_{m \in M} x^{-1}(m) z^{-1}(m) \ge \sum_{m \in M} y^{-1}(m) z^{-1}(m) \right\}. For every permutation zSz \in S, we can choose a permutation xPx \in P for which mMx1(m)z1(m)\sum_{m \in M} x^{-1}(m) z^{-1}(m) is maximal, and then we have zA(x)z \in A(x); hence, all zSz \in S is contained in at least one set A(x)A(x).

So, it suffices to prove that A(x)n!k!\bigl| A(x) \bigr| \le \dfrac{n!}{k!} for every preferred permutation xx. Fix xPx \in P, and consider an arbitrary zA(x)z \in A(x). Let the indices i1<<iki_1 < \dots < i_k be as in the statement of the problem, and let mj=xijm_j = x_{i_j} for j=1,2,,kj = 1, 2, \dots, k.

For s=1,2,,k1s = 1, 2, \dots, k-1 consider the permutation yy obtained from xx by swapping msm_s and ms+1m_{s+1}. Since yPy \in P, the definition of A(x)A(x) provides isz1(ms)+is+1z1(ms+1)is+1z1(ms)+isz1(ms+1),z1(ms+1)z1(ms).\begin{gather*} i_s z^{-1}(m_s) + i_{s+1} z^{-1}(m_{s+1}) \ge i_{s+1} z^{-1}(m_s) + i_s z^{-1}(m_{s+1}), \\ z^{-1}(m_{s+1}) \ge z^{-1}(m_s). \end{gather*} Therefore, the elements m1,m2,,mkm_1, m_2, \dots, m_k appear in zz in this order. There are exactly n!/k!n!/k! permutations with this property, so A(x)n!k!\bigl| A(x) \bigr| \le \dfrac{n!}{k!}.

How the field did

contestants scored
377
average (of 10)
0.13
solved (≥ 80%)
1.1%
near-0 (≤ 10%)
98.4%
discrimination
0.28

Score distribution (field cohort)

Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.

Similar problems

IMC 2022 · Day 1 · P4killeravg 0.2/10 · solved 1% · near-0 96% · disc 0.43
IMC 2020 · Day 1 · P3killeravg 0.1/10 · solved 1% · near-0 98% · disc 0.22
IMC 2004 · Day 2 · P12killeravg 0.2/10 · solved 1% · near-0 97% · disc 0.13
IMC 2024 · Day 2 · P9killeravg 0.2/10 · solved 1% · near-0 97% · disc 0.34