lean_workbook_plus_43597
ProvedFind the closed form of the sequence defined by the recurrence relation with initial conditions and .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_43597 (a : ℕ → ℤ) (a1 : a 0 = 1) (a2 : a 1 = 3) (a_rec : ∀ n, a (n + 2) = a (n + 1) - 2 * a n - 1) : ∃ f : ℕ → ℤ, ∀ n, a n = f n := by sorry
Source