Exercise · Volume 1 · 1.2.9-3
Exercise 1.2.9-3
proved in Lean solution written
| Rating | HM21 |
|---|---|
| Markers | HM (needs higher mathematics) |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.9 of Volume 1. Companion chapter: Generating functions |
The task
Differentiate the generating function of the harmonic numbers, compare it with the generating function of the partial sums , and deduce a closed form for those sums.
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
The generating function (18) is . Differentiate it with the product rule.
Hint 2
The series times a series is the series of the partial sums of the coefficients of .
Hint 3
Compare the coefficient of on both sides.
Solution
Show the solution
Let and . Since ,
Multiplying a series by replaces its coefficients by their partial sums. So , and . The coefficient of in is . So
The last form uses .
Check
For : , and . For : , and .
Remarks
The same value follows from summation by parts, as in Section 1.2.7. The method extends to with the series (25).
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.Ex3.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_9.Ex3.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.