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)

Explanation

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.

Study Elementary number theory in ZWMath →

Review the concept: Quadratic residue

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.

\[x^2 \equiv a \pmod{p}\]

More practice problems: quadratic residue

← ZW-QUADRATIC-RESIDUE-006 ZW-QUADRATIC-RESIDUE-008 →