Questions: Quadratic Residues and the Legendre Symbol

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Suppose (a/p) = −1 and (b/p) = −1 for a prime p. What is (ab/p)?

A−1, because combining two non-residues produces another non-residue.
B0, because neither a nor b is a perfect square mod p.
C1, because the product of two quadratic non-residues is always a quadratic residue.
DIt depends on the specific values of a and b; no general rule applies.
Question 2 Multiple Choice

Among the nonzero elements {1, 2, 3, ..., p−1} of ℤ/pℤ for an odd prime p, how many are quadratic residues?

Ap − 1, because every nonzero element has a square root in some extension field.
B(p − 1)/2, because the squaring map x ↦ x² is two-to-one: x and −x always yield the same square.
C(p + 1)/2, because we must count zero as a quadratic residue.
DIt varies depending on the prime; no general formula exists.
Question 3 True / False

The product of a quadratic residue and a quadratic non-residue mod an odd prime p is always a quadratic non-residue.

TTrue
FFalse
Question 4 True / False

If x² ≡ a (mod p) has a solution and p ∤ a, then it has exactly one solution in {1, 2, ..., p−1}.

TTrue
FFalse
Question 5 Short Answer

Explain why exactly half of the nonzero elements of ℤ/pℤ are quadratic residues, for an odd prime p.

Think about your answer, then reveal below.