Exercise · Volume 1 · 1.2.7-15
Exercise 1.2.7-15
proved in Lean solution written
| Rating | M23 |
|---|---|
| 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.7 of Volume 1. Companion chapter: Harmonic numbers |
The task
Express in terms of and .
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
Use summation by parts (exercise 10) with and .
Hint 2
The difference factors. Then the sums that remain are given by eq. (8).
Solution
Show the solution
Apply exercise 10 with , , and the upper limit :
Since , it follows that . So . By eq. (8), . Also . Therefore
Now put . The square gives , and . So the sum is , and . The result is
Check
For : . The formula gives . Python checks with exact fractions. For the formula gives .
Remarks
An induction proof is also short: the difference of the right sides for and is . Exercise 1.2.7-22 evaluates a similar convolution of harmonic numbers.
This solution is checked, 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_7.Ex15.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_7.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.