IMC 2016 · Problem 5
Statement
Let denote the set of permutations of the sequence . For every permutation , let be the number of pairs with ; i.e. the number of inversions in . Denote by the number of permutations for which is divisible by .
Prove that there exist infinitely many primes such that , and infinitely many primes such that .
Official solution
Proposed by Fedor Petrov, St. Petersburg State University.