Beruflich Dokumente
Kultur Dokumente
Theorem 1
Theorem 2
(a) d i /| p + 1 and (b) d i /| p (i.e., d i is even). If you do not want to previously check
2
for a Fpr the results are equivalent.
The section The 6m Limit explains why the prime 5 is a special case.
Theorem 3
If we replace p (the odd prime) with a Fibonacci number Fm where m > 3 we could write
Fn mod ( Fm ) . The period of the sequence h ( Fm ) that results from this congruence is
given by:
h ( Fm ) = 2m ⇔ m is even
h ( Fm ) = 4m ⇔ m is odd
Prime Powers:
If m = 2e then h ( m ) = 3 × 2 e −1
If m = 5e then h ( m ) = 5e × 4.
2p +2
If p is of the form 2 p + 2 then h ( m ) = p e (e.g. 3 is of this form).
p
p −1
If p is of the form p − 1 then h ( m ) = p e
p
Theorem 4
Fn mod ( m ) , where m ∈ + , forms a periodic sequence. That is, the sequence is periodic
and repeats by returning to its initial values.
Proof
By definition we have Fn +1 − Fn = Fn −1 .
So if
Fn +1 Fs +1 mod ( m ) then Fn −1 Fs −1 mod ( m ) , , Ft − s +1 F1 mod ( m ) and Ft − s F0 mod ( m ) .
Thus, each period must begin with F0 . Therefore, we can conclude that
Fn mod ( m ) forms a simply periodic sequence.
Generalization for m
We also know that, due to Theorem 2, for a non-prime m > 2, h ( m ) can be expressed as
follows:
1. For m > 2, h ( m ) is even. Let h = h ( m ) and consider all equalities
to be congruencies modulo m. Since Fh = 0 and Fh +1 = 1 , we can
see that Fh −1 = 1 . Similarly, F− h +1 = 1 . Now assuming that h is odd,
we have, by the following identity:
F− t = ( −1) Ft ; that Fh −1 = − F−( h −1) = −1 . Since 1 ≡ −1mod ( m ) we
t +1
Given a positive integer m let h ( m ) denote the length of the period of the Fibonacci
sequence Fn for n = 1,2,3…taken modulo m. We wish to prove that h ( m ) ≤ 6m for all m
and that equality holds for infinitely many values of m.
{ }
which is ≤ lcm p j j , h ( p j ) . Thus, any boundary for h ( m ) must be determined by the
e −1
Therefore we need to consider only products of irreducible primes and the special prime
5. If m is a product of only odd irreducible primes, then
p j + 1 e j −1 p −1
h ( m ) ≤ lcm pj ≤ 4m∏ j (0.7)
2 2pj
which proves that the ratio is < 4 in this case. So, in view of the fact that
h ( 3n ) = 8 × 3n −1 and h ( 2 n ) = 3 × 2 n −1 (0.8)
for both the Fibonacci and Lucas sequences and
4 × 5n for the Fibonacci sequence
h (5 ) =
n
(0.9)
4 × 5n-1 for the Lucas sequence
h (m)
we can easily see that the Fibonacci sequence possesses a maximum value of =6
m
which occurs ⇔ m = 2 × 5n where n is any positive integer. On the other hand, for the
h (m)
Lucas sequence, there is a maximum value of = 4 which occurs ⇔ m = 6.
m
Bibliography