by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
Calling the four numbers a, b, c, d, we have the equations:\n\n 3a+b+c+d=89→a+b+c+3d=267 \n 3b+c+d+a=95→b+c+d+3a=285 \n 3c+d+a+b=101→c+d+a+3b=303 \n 3d+a+b+c=117→d+a+b+3c=351 \n\nAdding all four equations together:\n\n 6(a+b+c+d)=1206 \n a+b+c+d=201 \n\nPlugging this value into each of the four equations, d = 33, a=42, b=51, c=75
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_35153 (a b c d : ℕ) : (a+b+c)/3 + d = 89 ∧ (b+c+d)/3 + a = 95 ∧ (c+d+a)/3 + b = 101 ∧ (d+a+b)/3 + c = 117 ↔ d = 33 ∧ a = 42 ∧ b = 51 ∧ c = 75 := by sorry