0

Let $p$ be an odd prime, and put $$s(a, p) = \sum_{n=1}^{p} (\frac{n(n+a)}{p}) $$

Show that:

(i) $\sum_{a=1}^{p}s(a, p) = 0.$

(ii) If $(a, p) = 1$ then $ s(a, p) = s(1, p).$

(iii) Conclude that $s(a, p) = −1$ if $(a, p) = 1.$

I've tried (i) and I think that the proof relies on $\sum_{n=1}^{p} \frac{n}{p}=0 $, however I don't know how to show this result. (ii) and (iii) I am unsure of as well.

0 Answers0