lean_workbook_plus_62330
ProvedDenote to be the probability of no consecutive tails after coin flips. When , . Now we can build a chart and get to coin flips. .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_62330 (p : ℕ → ℚ) (h₀ : p 0 = 1) (h₁ : p 1 = 1) (h₂ : ∀ x, p (x + 2) = 1 / 2 * p (x + 1) + 1 / 4 * p x) : p 6 = 21 / 64 := by sorry
Source