lean_workbook_plus_16315
ProvedProve that for odd , is congruent to 4 modulo 8, and for even , is congruent to 0 modulo 8.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_16315 : ∀ n : ℤ, n % 2 = 1 → 7 * n ^ 2 + 5 ≡ 4 [ZMOD 8] ∧ n % 2 = 0 → n ^ 3 ≡ 0 [ZMOD 8] := by sorry
Source