Number theory MOC Fermat's little theorem Given a prime number 𝑝 and number 𝑎 ∈ℕ, then 𝑎𝑝−1 ≡𝑝1 and 𝑎𝑝 ≡𝑝𝑎. #m/thm/num ProofLet 𝑎 =𝑚𝑝 +𝑟 where 0 ≤𝑟 <𝑝, so 𝑎 ≡𝑝𝑟, and it suffices to show 𝑟𝑝−1 ≡𝑝1. Then 𝑟 ∈ℤ×𝑝, and since the order of an element divides the order of a group, 𝑎𝑝−1 ≡1. #state/tidy | #lang/en | #SemBr