Quiz 4 Lemmas/Theorems Flashcards
Chinese Remainder Theorem Formula
x ≅ ((n^-1 modm)na + (m^-1 modn)mb) (modmn)
What does phi(p) do?
If GCD(m,n) = 1, then phi(mn) = phi(m)phi(n). Furthermore, if p is a prime number then phi(p) = p-1, phi(p^2) = p^2 - p,….., phi(p^n) = p^n - p^(n-1)
What is (mod mn), if m and n are relatively prime?
If m and n are relatively prime and x^2 ≅ a(modmn), then those solutions are in 1-to-1 correspondence with (u,v) where u^2 ≅ a(mod m) and v^2 ≅ a(mod n).
Hensel Lifting
If p is an odd prime, where we know x^2 ≅ a(mod p), then we can solve for x^2 ≅ a(mod p^2)
For PHI(p), when is ‘a’ a quadratic residue?
‘a’ is a quadratic residue if there exists an ‘x’ in PHI(p) such that x^2 ≅ a(mod p)
Legendre Symbol
Legendre symbol of a/p is:
1. 1 if a is a quadratic residue (mod p)
2. 0 if p|a
3. -1 if a is a quadratic non-residue (mod p)
a-partners
If a,x,y are elements of PHI(p), then x,y are a-partners if xy ≅ a(mod p)
Wilsons Theorem
If p is an odd prime then (p-1)! ≅ -1(mod p)
Euler’s Criterion
- a is a qr (mod p) iff a^(p-1)/2 ≅ 1(mod p)
- a is a qnr (mod p) iff a^(p-1)/2 ≅ -1(mod p)
Quadratic Reciprocity