IMC 2016, Problem 5
Source: IMC 2016
July 27, 2016
IMCIMC 2016prime numberspermutationscollege contests
Problem 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 .(Proposed by Fedor Petrov, St. Petersburg State University)