Exercise · Volume 1 · 1.2.8-41
Exercise 1.2.8-41
not stated yet in Lean solution written
| Rating | M25 |
|---|---|
| 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 for in the Fibonacci number system, and find the analogous formula for .
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 from Exercise 1.2.8-28, and sum over the terms.
Hint 2
Bound with geometric series, using that the indices are different and at least . The bound is .
Hint 3
For the second formula use .
Solution
Show the solution
Let (Fibonacci system, , distinct) and .
Bound for . Since , the term is for even and for odd . The even indices are distinct and at least , so their terms sum to less than . The odd indices are distinct and at least , so their terms sum to more than . (For a finite sum the inequalities are strict.) The positive part is and the negative part is , so
First formula. By Exercise 1.2.8-28, . Sum over the : , an integer. Then because , and because . So .
Second formula. From the Binet formula, . Summing, , an integer. Then because , and because . So
Check
For : and . Also and . A python test for confirms both formulas.
Remarks
The first formula says that shifting every index by multiplies the number by and rounds it. The second formula is used in Exercise 1.2.8-36 to count the letters in a Fibonacci string.
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.