Problem

Source: Czech-Polish-Slovak Match 2008, P3

Tags: modular arithmetic, quadratics, number theory, prime numbers, number theory proposed



Find all primes $p$ such that the expression \[\binom{p}1^2+\binom{p}2^2+\cdots+\binom{p}{p-1}^2\] is divisible by $p^3$.