Exercise · Volume 1 · 1.2.7-12
Exercise 1.2.7-12
stated 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.7 of Volume 1. Companion chapter: Harmonic numbers |
The task
Evaluate to at least 100 decimal places.
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
Write the sum as and bound the tail by a quantity that you can compare with .
Solution
Show the solution
. Bound the tail with the integral: for , . So
Now , which is less than . So up to an error below . To 100 decimal places the value is with zeros, and the first nonzero digit after the point is the digit at place , since .
Check
Python gives and . The difference is of the size , since the term dominates.
Remarks
For large , is about . This agrees with the bound of exercise 1.2.7-3, which tends to .
This solution is checked, and a person has not reviewed it yet. The source.
In Lean
stated The statement is in Lean and it builds. The proof is not in Lean yet.
- Problem:
TAOCP.S1_2_7.Ex12.statementaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.