Legendre symbol

The Legendre symbol a/p records whether an integer a is zero, a nonzero square, or a nonsquare modulo an odd prime p, with values 0, 1, or −1.

Connect