5 questions to test your understanding
To determine whether 5 is a quadratic residue mod 11 using Euler's Criterion (p = 11), what computation must you perform?
Suppose you compute a^((p−1)/2) ≡ −1 (mod p). What does this tell you about a?
The fact that a^((p−1)/2) (mod p) must equal either 1 or −1 follows from Fermat's Little Theorem via the factorization (a^((p−1)/2) − 1)(a^((p−1)/2) + 1) ≡ 0 (mod p) and the primality of p.
Euler's Criterion holds for most moduli, not just prime moduli, since it follows from Fermat's Little Theorem which holds whenever gcd(a, n) = 1.
Using the group structure of (ℤ/pℤ)*, explain why a^((p−1)/2) ≡ 1 (mod p) if and only if a is a perfect square in that group.