Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.4.22* (Congruences in the Fibonacci sequence)
Exercise 4.4.22* (Congruences in the Fibonacci sequence)
Let be a prime number. Show that . Show that if , and that if . Show that if , and that if . Conclude that if then is a period of . (This is not necessarily the least period.) Conclude also that if then is a period of .
Answers
Proof.
We treat separately the case . If , then and , so . We prove by induction that
- and .
-
Suppose now that is true. Then
Thus is true, and the induction is done.
In conclusion
Therefore the results of the problem are true for , in the case . In particular is a period, but not the least period.
In the rest of the problem we suppose that is an odd prime.
- (a)
-
We note that . The associate discriminant of is . Then Problem 20 gives
- (b)
-
By the law of quadratic reciprocity,
Therefore,
-
If , then . By Problem 19,
-
If , then . We proved in the solution of Problem 19 that
Therefore
Since is odd,
In conclusion,
-
- (c)
-
-
If , then . By Problem 21, since
-
If , then . By the congruence (9) in the solution of Problem 21, using
In conclusion,
-
- (d)
-
-
If , then by (3), . We will prove that is a period modulo , i.e. for all .
-
First proof, with my methods.
Here we write the class of in .
As in the second solution of Problem 19, consider the sequence defined for all by , so that
Here , thus there exists such that , so there are two distinct roots of .
By induction, we obtain for all ,
Here , thus . By Fermat’s theorem, . Therefore
This shows that for all ,
-
Second proof, with the methods of Lucas (for which I have great respect and admiration).
If are the complex roots of , then . We define
We need an addition formula: for all ,
Indeed,
By (3), . By the formula (5) in the solution of Problem 21, since , we know that . Then, using (7),
Since is an odd prime, , so for all .
-
-
If , by (2), . We will prove that is a period modulo , i.e. for all .
Here , then as in Problem 20, has a square root in some quadratic extension of with elements. Let and be the distinct roots of in . Then formulas (5) and (6) remain true and by the second proof of Problem 20,
Therefore, for all ,
so for all , thus . Therefore
So is a period modulo of the sequence (note that is an anti-period, if this word exists).
(We leave the proof with Lucas’s methods to the patient reader.)
-