Exercise · Volume 1 · 1.2.4-42
Exercise 1.2.4-42
not stated yet in Lean solution written
| Rating | M24 |
|---|---|
| Markers | M (mathematical) |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.4 of Volume 1. Companion chapter: Integer functions and elementary number theory |
The task
Prove the summation by parts formula , and use it to find for an integer base .
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 (a), expand into two sums and shift the index in one of them.
Hint 2
For (b), take . The difference is or . When is it ?
Solution
Show the solution
(a) Split the sum and shift the index in the first part: Hence . Add to both sides.
(b) Let and . Then . Since , it follows that , so . The difference is exactly when an integer power of lies in , that is, when for an integer .
For this happens for with , that is, . So by (a) This is the claim.
Check
Take , : for is with sum . Here and the formula gives . For the formula gives . A run over and shows no exception.
Remarks
The same method gives the sum in Exercise 1.2.4-43. Since has digits in base , the sum in (b) plus is the number of digits needed to write in base .
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.