Exercise · Volume 1 · 1.2.6-6
Exercise 1.2.6-6
proved in Lean solution written
| Rating | 10 |
|---|---|
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.2.6 of Volume 1. Companion chapter: Binomial coefficients |
The task
Extend Pascal's triangle upward with the addition formula and write the rows .
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
Read eq. 1.2.6(9) as a rule that finds row from row .
Hint 2
In every row the entry for is and the entries for are .
Solution
Show the solution
Eq. 1.2.6(9) says . Solve for the row above: . In each new row the entry at is , since , and the entries with are . Then each entry follows from the entry of the row below and the entry to its left in the new row.
Row is . Row : , then , then , then , and so on: .
Row from row : ; ; ; ; . So .
Row from row : ; ; ; ; . So .
| 1 | -1 | 1 | -1 | 1 | -1 | |
| 1 | -2 | 3 | -4 | 5 | -6 | |
| 1 | -3 | 6 | -10 | 15 | -21 |
The pattern is . It follows from eq. 1.2.6(17) with : .
Check
Take , . The definition (3) gives , which agrees with the table.
Remarks
The absolute values in the new rows are the columns of Pascal's triangle, read down: and . This is the content of eq. 1.2.6(17). See also the C1 chapter on Section 1.2.6.
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_6.Ex6.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_6.Ex6.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.