Exercise · Volume 1 · 1.2.7-14
Exercise 1.2.7-14
proved in Lean solution written
| Rating | M22 |
|---|---|
| Markers | M (mathematical) |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.7 of Volume 1. Companion chapter: Harmonic numbers |
The task
Prove that , and evaluate .
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 first sum, compare the identity for and for . The difference of the two right sides is easy.
Hint 2
For the second sum, write with the index and , then use the first result.
Solution
Show the solution
First identity. Let . Then . For use and :
So by induction.
Second sum. Let and . Then
Add and subtract the terms with , both equal to : the first sum is , and the second is . So the difference is
Check
For : , and . For the second sum, , and . Python checks and .
Remarks
Exercise 1.2.7-25 with is the first identity: it says that . Exercise 1.2.7-21 builds on part (a) and on this part.
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.Ex14.a.statementaxioms: Classical.choice, Quot.sound, propext - Solution (a):
TAOCP.S1_2_7.Ex14.a.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (b):
TAOCP.S1_2_7.Ex14.b.statementaxioms: Classical.choice, Quot.sound, propext - Solution (b):
TAOCP.S1_2_7.Ex14.b.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.