Exercise · Volume 1 · 1.2.8-35
Exercise 1.2.8-35
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.8 of Volume 1. Companion chapter: Fibonacci numbers |
The task
Show that the number has infinitely many representations with the digits and in base , but that every nonnegative real number has exactly one representation without adjacent ones that does not end in . Find the representations of the integers.
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 to move a digit pattern to .
Hint 2
Bound the value of a digit string without adjacent ones, by the geometric series .
Hint 3
The bound shows that the leading digit of the unique representation is the greedy one. Use it again for the rest. For the integers use the existence part of Exercise 1.2.8-42.
Solution
Show the solution
Write a representation as a set of integers, with , where has a largest element. A representation is sparse if no two elements of are adjacent, and admissible if it is sparse and does not end in the infinite tail (the digits ).
Many representations of . From it follows that . The rule replaces a digit at place by two digits at places and . Apply it to the last digit again and again: , an infinite list of different finite representations. Also , because . So too.
Upper bound. If is sparse and all its elements are at most , then , with equality only if . Proof: list as . Then , so the sum is at most , because . Equality needs for all . For an admissible the equality never holds for any , since the set is an alternating tail. So for admissible and any , the part of below or at has value .
Existence and uniqueness for . Let be the integer with . If is an admissible representation of with largest element , then and, by the upper bound, . So is forced. The rest is admissible, has elements at most , and represents . This proves uniqueness by induction: the same argument fixes the next element, and so on. If the list stops, and otherwise it goes on forever with elements that decrease by at least each time.
For existence, define the list by the greedy rule: , is the integer with , and . Then , so and the list is sparse. If it is infinite, then , so the sum is . The list is not ending in an alternating tail: such a tail starting at place would give by the upper bound, but the greedy choice has . For the empty list is the only representation, since a nonempty one has a positive value.
Integers. For an integer let be a finite sparse set with . Since and is irrational, this holds if and only if and over . With this says and . By the existence part of Exercise 1.2.8-42 (its proof does not use this exercise) there is such a set for every . It is finite and sparse, so it is admissible, and by uniqueness it is the representation of . So the integers have finite representations. The greedy rule gives them, for example and . The table lists the places of the digits and the digit string.
| places of the digits 1 | ||
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | ||
| 10 | ||
| 11 | ||
| 12 |
Check
Numeric check with python: for , and . For the table: , , and the greedy runs in exact arithmetic over give the rows of the table, each sum equal to . The pairs for with are and .
Remarks
The fact that the integers have finite representations is the special case , of Exercise 1.2.8-42.
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.