What is the value of the Legendre symbol (231)\left( \frac{2}{31} \right)(312)?
111
−1-1−1
000
Undefined