euler_phi7
Provedalgebraelementaryeulerflt-n7modular-arithmeticnumber-theoryopen-problemprime-7
Euler's Theorem for p=7, φ(7)=6. If 7 ∤ a then 7 | a^6 − 1. Equivalently, a^6 ≡ 1 (mod 7). Used in Lamé's FLT-7 argument and related to the structure of the multiplicative group mod 7.
Preamble
import Mathlib.Data.Int.Basic import Mathlib.Data.ZMod.Basic
Formal statement
theorem euler_phi7 (a : ℤ) (h : ¬(7 : ℤ) ∣ a) : (7 : ℤ) ∣ a ^ 6 - 1 := by sorry