Fermats Little Theorem
- Let p be a prime and a be an integer such that , then
Proof . Primes and the Binomial Theorem will be helpful for lying this out: Base Case:
Inductive Step: Suppose that , then And since p is prime, a has an inverse, giving us: