Exercise · ZW-QUADRATIC-RESIDUE-006 · ★★☆ Intermediate

Compute the nonzero quadratic residues modulo 9 and state how many there are.

Choose one option.

Show answer
  • B. {1, 4, 7}, three residues

Explanation

The squares of 1 through 8 modulo 9 are 1, 4, 0, 7, 7, 0, 4, 1, so the nonzero ones are {1, 4, 7}. The option including 8 fails because 8 is not a square modulo 9.

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-005 ZW-QUADRATIC-RESIDUE-007 →