Exercise · Volume 1 · 1.2.7-25
Exercise 1.2.7-25
proved in Lean solution written
| Rating | M21 |
|---|---|
| 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
Find and , and prove that .
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
For the special cases, count how many times each term occurs in the double sum.
Hint 2
For the identity, expand the product as a sum over all pairs with , and split the pairs into , and .
Solution
Show the solution
Here for integers , , and .
Case . The inner sum over with has terms equal to , so .
Case . For a fixed the index takes values from to , so .
Identity. The product is . Split the pairs into the pairs with and the pairs with . The pairs with are in both parts, so
The first sum is . In the second sum rename to : it becomes with and , which is . The last sum is . So , which is the identity.
Check
For , and : and . Python checks the identity and the two special cases with exact fractions for and . With the identity says , which agrees with the two special cases.
Remarks
The case is the identity of exercise 1.2.7-14, since . The case with is eq. (8) written as a double sum.
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. Lean states the parts one by one.
- Problem (a):
TAOCP.S1_2_7.Ex25.a.statementaxioms: Classical.choice, Quot.sound, propext - Solution (a):
TAOCP.S1_2_7.Ex25.a.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (b):
TAOCP.S1_2_7.Ex25.b.statementaxioms: Classical.choice, Quot.sound, propext - Solution (b):
TAOCP.S1_2_7.Ex25.b.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (c):
TAOCP.S1_2_7.Ex25.c.statementaxioms: Classical.choice, Quot.sound, propext - Solution (c):
TAOCP.S1_2_7.Ex25.c.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.