# Legendre symbol sum

Let $$\left( \dfrac{a}{p}\right)$$ denote the Legendre symbol. If $$p=163,$$ what is the value of

$\sum_{a=1}^{p} \left( \dfrac{a}{p} \right)?$

×