lean_workbook_plus_48644
ProvedWe can substitute to get . Since , the first term is . We are given that the remainder upon dividing by is , so we ave . Similarly, substituting gives us , and substituting gives us . We now have a system of three equations:
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_48644 (a b c : ℝ) (p : ℝ → ℝ) (h₀ : ∀ x, p x = (x + 1) * (x - 4) * (x - 2) + a * x^2 + b * x + c) (h₁ : p (-1) = 2) (h₂ : p 4 = -13) (h₃ : p 2 = 5) : a - b + c = 2 ∧ 16 * a + 4 * b + c = -13 ∧ 4 * a + 2 * b + c = 5 := by sorry
Source