For distinct odd primes , quadratic reciprocity states
Here the Legendre symbol records whether a nonzero congruence class is a quadratic residue. The first supplementary law for quadratic reciprocity and second supplementary law for quadratic reciprocity give
Thus minus one is a square exactly when , and two is a square exactly when or .
To test the specified congruence class, factor . Since , multiplicativity of the Legendre symbol and quadratic reciprocity yield
There is no sign change on swapping and because . Finally , so multiplicativity of the Legendre symbol gives , since . Therefore

Articles by others on the same topic (0)

There are currently no matching articles.