by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
Let the numbers be a1,a2,…a9 , then we have that a1+a2+a3≡0anda2+a3+a4(mod3) Which implies that a1≡a4(mod3) or more generally that ai≡aj(mod3) if i≡j(mod3) .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_4977 (a : ℕ → ℕ) (h : a 1 + a 2 + a 3 ≡ 0 [ZMOD 3]) (h' : a 2 + a 3 + a 4 ≡ 0 [ZMOD 3]) : a 1 ≡ a 4 [ZMOD 3] := by sorry