Let p be a prime number.
Prove that it is possible to choose a permutation a1,a2,...,ap of 1,2,...,p such that the numbers a1,a1a2,a1a2a3,...,a1a2a3...ap all have different remainder upon division by p. number theoryprime numbersDivisibility