Let p≥5 be a prime number. Consider the function given by the formula f(x1,...,xp)=x1+2x2+...+pxp.
Let Ak denote the set of all these permutations (a1,...,ap) of the set {1,...,p}, for integer number f(a1,...,ap)−k is divisible by p and ai=i for all i∈{1,...,p}. Prove that the sets A1 and A4 have the same number of elements. combinatoricspermutationsnumber theory