Exercise · ZW-QUADRATIC-RESIDUE-007 · ★★☆ Intermediate
Decide whether 2 is a quadratic residue modulo 17 by computing the squares of the residues from 1 to 8.
Choose one option.
Show answer
- A. Yes, because 6² ≡ 2 (mod 17)
Exercise · ZW-QUADRATIC-RESIDUE-007 · ★★☆ Intermediate
Choose one option.
We have 6² = 36 ≡ 2 (mod 17), so 2 is a residue. Claiming that being prime settles the question is a typical error, since primality alone does not determine residuosity.
A quadratic residue modulo n is an integer a with gcd(a,n)=1 such that the congruence x² ≡ a (mod n) has a solution. If it has no solution, a is a quadratic nonresidue.