MathDB
f (a_1,..., a_p) - k$ is divisible by P, f (x_1,..., x_p)=x_1+2x_2+...+ px_p

Source: Polish Math Olympiad 2021 2nd round p3 day 2

May 31, 2021
combinatoricspermutationsnumber theory

Problem Statement

Let p5p\ge 5 be a prime number. Consider the function given by the formula f(x1,...,xp)=x1+2x2+...+pxp.f (x_1,..., x_p) = x_1 + 2x_2 +... + px_p. Let AkA_k denote the set of all these permutations (a1,...,ap)(a_1,..., a_p) of the set {1,...,p}\{1,..., p\}, for integer number f(a1,...,ap)kf (a_1,..., a_p) - k is divisible by pp and aiia_i \ne i for all i{1,...,p}i \in \{1,..., p\}. Prove that the sets A1A_1 and A4A_4 have the same number of elements.