2

That is prove that the numerator of $\sum^{p-1}_{k=1} \frac{1}{k^2}$ expressed in lowest terms is divisible by $p$ where $p$ is prime.

I have tried to express the numerator but am not having much luck reducing it and I cannot find much online that is helpful here. Any hints/help is greatly appreciated, thanks in advance.

Rick Owens
  • 253
  • 1
  • 12

1 Answers1

2

Hint:

$$\sum_{k=1}^{p-1}\dfrac1{k^2}\equiv\sum_{r=1}^{p-1}r^2\pmod p$$

as $(k,p)=1$ for $1\le k<p,$ there exists a unique $r,1\le r<p$ such that $kr\equiv1\pmod p$

See also: Multiplicative Inverse of Modulo n is UNIQUE