Problem

Source: ELMO Shortlist 2010, N2

Tags: modular arithmetic, algebra, difference of squares, special factorizations, number theory proposed, number theory



Given a prime $p$, show that \[\left(1+p\sum_{k=1}^{p-1}k^{-1}\right)^2 \equiv 1-p^2\sum_{k=1}^{p-1}k^{-2} \pmod{p^4}.\] Timothy Chu.