Exercise · Volume 1 · 1.2.8-7
Exercise 1.2.8-7
not stated yet in Lean solution written
| Rating | 15 |
|---|---|
| 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 is composite whenever is composite, with one exception, and find the exception.
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
Show that divides . Use eq. (6) with equal to the first index.
Hint 2
If with , the number is a divisor of with .
Hint 3
A composite without a divisor with has only the divisors and below . What is then?
Solution
Show the solution
First, divides for all and . This is the case , and for the step use eq. (6) in the form with :
By the induction hypothesis , so divides both terms.
Now let be composite. Then with . Suppose that . Then . Also , and because and the Fibonacci numbers increase strictly from on. So is a divisor of with , and is composite.
The only composite with is . Here is a prime. For the divisor is useless, and that is the reason for the exception.
Answer: if is composite and , then is composite. The exception is , where is prime.
Check
The composite indices up to give , , , , , and is composite as well. The index gives , a prime. The converse is false: is a prime but .
Remarks
The result is the first step of the study of the divisors of . Lucas's theorem, , is in the C1 chapter on Section 1.2.8 and goes much further. So if is a prime then is a prime or . The converse fails, as the check shows.
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.