# Legendary Product

Let $$\left( \dfrac{a}{p} \right)$$ denote the Legendre symbol.

If $$p = 2011$$, find the value of $$\ \displaystyle \prod_{a = 1} ^{p - 1} \ \left( \dfrac{a}{p} \right)$$.

×