lean_workbook_plus_56868
ProvedLet denote the length n strings ending in and . Then we have , and .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_56868 (p_A p_B p : ℕ → ℕ) (h₀ : ∀ n, p n = p_A n + p_B n) (h₁ : ∀ n, p (n + 1) = p n + p (n - 1) + p_B (n - 2)) (h₂ : ∀ n, p_A n = p_B (n - 1) + p_B (n - 2) + p_B (n - 3)) : ∀ n, p n = p_A n + p_B n := by sorry
Source