Exercise · Volume 1 · 1.2.6-36
Exercise 1.2.6-36
proved in Lean solution written
| Rating | M10 |
|---|---|
| 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.6 of Volume 1. Companion chapter: Binomial coefficients |
The task
Find the sum of row of Pascal's triangle and the same sum with alternating signs.
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
Put in the binomial theorem, eq. 1.2.6(13).
Hint 2
Put for the signs.
Solution
Show the solution
By the binomial theorem for a natural . With , . With , . This is for and for , since here.
Check
For the row is . The sum is and the alternating sum is . For the row is and both sums are .
Remarks
The first result counts the subsets of an -set. The second says that the subsets of even size and of odd size are equally many for , which Exercise 1.2.6-37 uses.
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.Ex36.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_6.Ex36.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.