lean_workbook_plus_19806
ProvedSecond, for powers 9, you could say : \n implies \n implies (Fermat) \nBut the only squares equal to 1 are 1 and 18 (see above) \nAnd so can only be .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_19806 (y : ℤ) (h₀ : 0 < y) (h₁ : y < 19) : (y^9) % 19 = 0 ∨ (y^9) % 19 = 1 ∨ (y^9) % 19 = 18 := by sorry
Source