lean_workbook_plus_18262
ProvedLet be the number of people who missed a and the number of people who missed a . Set up two equations: , . 2nd eqn leads to . is even so let and get . This has only one positive integral solution by inspection: . Thus, .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_18262 (a b n : ℕ) (h₀ : 0 < a ∧ 0 < b ∧ 0 < n) (h₁ : a + b = n) (h₂ : (32 - 4) * a + (32 - 8) * b = 256) : n = 10 := by sorry
Source