lean_workbook_plus_23725
ProvedProove that, for any non-negative integer, the number is divisible by 5 if, and only if, is not divisible by 4.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_23725 (n:ℕ) : n % 4 ≠ 0 ↔ (1^n + 2^n + 3^n + 4^n) % 5 = 0 := by sorry
Source