Exercise · Volume 1 · 1.2.9-15
Exercise 1.2.9-15
proved in Lean solution written
| Rating | M28 |
|---|---|
| Markers | M (mathematical) |
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.2.9 of Volume 1. Companion chapter: Generating functions |
The task
Find a closed form for by studying , and show that it equals .
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
Find a recurrence with Pascal's rule and sum over .
Hint 2
The recurrence gives . Factor the denominator.
Hint 3
For the second form, rewrite with the rule for negative upper index.
Solution
Show the solution
Pascal's rule gives . Multiply by and sum over . The first part gives . In the second part put : . So for , with and .
Let . The recurrence gives , so . Factor with and , so with . By partial fractions,
The right side is a polynomial in , because the odd powers of cancel in the difference and . If then and , so .
Second form. For let . If , the upper index is a negative integer and . So . If then for , so the binomial coefficient is , and because . For the only term is , equal to in both forms. So the two sums agree term by term.
Check
For , : . With the closed form gives . For and : .
Remarks
At the sum is the Fibonacci number (Section 1.2.8), and the closed form is Binet's formula. In general is a Fibonacci polynomial.
This solution is drafted, and a person has not reviewed it yet. The source.
In Lean
proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.
- Problem:
TAOCP.S1_2_9.Ex15.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_9.Ex15.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.