lean_workbook_plus_22977
ProvedWrite for some integer . For all equations of this form, just complete the square: . Now clear denominators and rearrange; we get . If it helps, let even, odd and solve by equating factors of to , .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_22977 (n k : ℤ) (h₀ : n^2 - 19 * n + 99 = k^2) : (2 * k)^2 - (2 * n - 19)^2 = 35 := by sorry
Source