fermat_little_3
Provedelementaryeulerfermatflt-n3modular-arithmeticnumber-theoryopen-problemprime-3
Fermat's Little Theorem for p = 3. For any integer a, 3 | a^3 - a. Equivalently a^3 ≡ a (mod 3). Used in Euler's proof of FLT for n = 3.
Preamble
import Mathlib.Data.Int.Basic import Mathlib.Data.ZMod.Basic
Formal statement
theorem fermat_little_3 (a : ℤ) : (3 : ℤ) ∣ a ^ 3 - a := by sorry