Pascal-diagonal sum equals fib(n+2)
ProvedNoAdjString.sum_choose_pascal_diagonalbinomial-coefficientcombinatoricsfibonacci
The sum along a diagonal of Pascal's triangle equals a Fibonacci number:
The sum is identified with the count of length- binary strings with no adjacent ones, grouped by the number of ones, and that count is .
Preamble
import Definitions.Def_NoAdjacentBinaryStrings import Mathlib.Data.Nat.Fib.Basic open Finset Function
Formal statement
namespace NoAdjString
theorem sum_choose_pascal_diagonal (n : ℕ) :
∑ k ∈ Finset.range (n + 1), Nat.choose (n + 1 - k) k = Nat.fib (n + 2) := by sorry
end NoAdjStringSource
Kenneth H. Rosen, Discrete Mathematics and Its Applications, 8th ed., McGraw-Hill 2019. The no-consecutive-ones count is the worked example on bit strings without consecutive 1s in Section 8.1 (Applications of Recurrence Relations); the exact-k binomial count is the restricted-combinations (gap) argument of Chapter 6.