Determine the value of the Legendre symbol (313)\left( \frac{3}{13} \right)(133).
111
−1-1−1
000
Undefined