MathDB
Inversions of Permutations

Source: USAMO #2

April 19, 2017
AMCUSA(J)MOUSAMO2017 USAMOcombinatoricsHi

Problem Statement

Let m1,m2,,mnm_1, m_2, \ldots, m_n be a collection of nn positive integers, not necessarily distinct. For any sequence of integers A=(a1,,an)A = (a_1, \ldots, a_n) and any permutation w=w1,,wnw = w_1, \ldots, w_n of m1,,mnm_1, \ldots, m_n, define an AA-inversion of ww to be a pair of entries wi,wjw_i, w_j with i<ji < j for which one of the following conditions holds:
[*]aiwi>wja_i \ge w_i > w_j [*]wj>aiwiw_j > a_i \ge w_i, or [*]wi>wj>aiw_i > w_j > a_i.
Show that, for any two sequences of integers A=(a1,,an)A = (a_1, \ldots, a_n) and B=(b1,,bn)B = (b_1, \ldots, b_n), and for any positive integer kk, the number of permutations of m1,,mnm_1, \ldots, m_n having exactly kk AA-inversions is equal to the number of permutations of m1,,mnm_1, \ldots, m_n having exactly kk BB-inversions.