Exercise · Volume 1 · 1.2.8-27
Exercise 1.2.8-27
not stated yet in Lean solution written
| Rating | M20 |
|---|---|
| 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 a prime exactly one of and is a multiple of .
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
First treat by hand. For odd use Exercise 1.2.8-26 to find .
Hint 2
Use Cassini's identity, eq. (4), for , and then the relation of and to .
Solution
Show the solution
The case . and . Exactly one of them, , is a multiple of .
Odd . By Exercise 1.2.8-26, . Squaring gives , by Fermat's theorem, because does not divide . Cassini's identity with odd reads . So divides . Since is prime, it divides one of the two factors.
It cannot divide both. The difference is , and shows that does not divide .
Check
For : and . Only is a multiple of . For : is a multiple of and is not. For : is not and is. For : is a multiple of and is not.
Remarks
Which of the two numbers is the multiple depends on : for it is , and for it is . The examples above agree: gives , gives . For the number is a multiple of itself.
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.