Quiz 3 Lemmas/Theorems Flashcards
Diophantine equations and Modulo
If a Diophantine Equation has an integer solution, then it has a solution (mod m)
What is a Modular Inverse
‘a’ has a modular inverse - a^-1(mod m), if there exists ‘b’ such that ab = 1(mod m). We write it as a^-1 = b(mod m)
What is PHI(m)
It is the set of all number n, such that 0<= n < m such that GCD(m,n) =1
What is phi(m)
It is the amount of numbers existing within PHI(m)
Cancellation Property
If ab = ac(mod m) and GCD(a,m) = 1, then b = c(mod m)
Euler’s Theorem
If GCD(a,m) = 1, where m is a positive integer, then a^(phi(m)) = 1(mod m)
Fermat’s Little Theorem
If p is a prime and a is an integer such that p /| a, then a^(p-1) = 1(mod p)
Can use it to prove if a number is not prime
Does not prove a number is prime if it passes test, but does prove it is composite if it fails.
Proposition about squares and moduli
If p is prime and a is an integer, where a^2 = 1(mod p), then a = +/-1(mod p)