MathDB
Polish MO Finals 2018, Problem 6

Source:

April 19, 2018
number theoryPolandTSTcombinatorics

Problem Statement

A prime p>3p>3 is given. Let KK be the number of such permutations (a1,a2,,ap)(a_1, a_2, \ldots, a_p) of {1,2,,p}\{ 1, 2, \ldots, p\} such that a1a2+a2a3++ap1ap+apa1a_1a_2+a_2a_3+\ldots + a_{p-1}a_p+a_pa_1 is divisible by pp. Prove K+pK+p is divisible by p2p^2.