Exercise · Volume 1 · 1.2.4-43
Exercise 1.2.4-43
not stated yet 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.4 of Volume 1. Companion chapter: Integer functions and elementary number theory |
The task
Evaluate in closed form.
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 the summation by parts formula of Exercise 1.2.4-42 (a) with .
Hint 2
The difference is when is a perfect square and otherwise.
Solution
Show the solution
Let and . The value rises by exactly when is a square . Indeed shows that it rises by at most , and it rises when some square lies in .
For the condition is with (the value gives ). So , and By Exercise 1.2.4-42 (a),
Check
For : and the terms are with sum . The formula gives . For : , formula . A run over confirms the formula.
Remarks
For the formula becomes : for this is , the sum for . The leading term is , as the integral of suggests.
This solution is checked, and a person has not reviewed it yet. The source.
In Lean
not stated yet The exercise is not stated in Lean yet.
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.