Problem

Source: Balkan MO Shortlist 2013 N4 BMO

Tags: number theory, divisible, Sum of powers, divisor



Let $p$ be a prime number greater than $3$. Prove that the sum $1^{p+2} + 2^{p+2} + ...+ (p-1)^{p+2}$ is divisible by $p^2$.