Exercise · Volume 1 · 1.2.8-10
Exercise 1.2.8-10
not stated yet in Lean solution written
| Rating | 15 |
|---|---|
| Kind | K2, decide: say whether a claim holds from the written solution |
| Section | Section 1.2.8 of Volume 1. Companion chapter: Fibonacci numbers |
The task
Decide whether is greater or less than .
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 eq. (14): .
Hint 2
The sign of the difference is the sign of , and is negative.
Solution
Show the solution
By eq. 1.2.8(14),
Since is negative, is positive for even and negative for odd . It is never zero. Hence, for :
- if is even, then ;
- if is odd, then .
This is true for all and also, by Exercise 1.2.8-9, for negative .
Check
For : . For : . For : . For : . For : .
Remarks
The size of the difference is for , which is the reason for the rounding rule in eq. (15). The signs alternate, so the values of lie above and below the integers in turn.
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.