fermat_little_7
Provedelementaryfermatflt-n7lamemodular-arithmeticnumber-theoryopen-problemprime-7
Fermat's Little Theorem for p = 7. For any integer a, 7 | a^7 - a. Equivalently a^7 ≡ a (mod 7). Connected to Lamé's 1839 proof of FLT for n = 7.
Preamble
import Mathlib.Data.Int.Basic import Mathlib.Data.ZMod.Basic
Formal statement
theorem fermat_little_7 (a : ℤ) : (7 : ℤ) ∣ a ^ 7 - a := by sorry