previous up next
Previous: 4 Complements Up: Is the Fibonacci Sequence Next: Bibliography


5 Using generating functions modulo m

Let us examine now some properties of the sequences maths. Defining maths and maths as the smallest positive indice such that, respectively, maths and maths, we want to reformulate the results, and shorten the proofs of [4]. In this section, maths will ever denotes a positive integer coprime with maths, because of :

Proposition 6  

When maths, the recurrence can be followed backwards and :

maths

Proof. Follows from Binet's formula Eq. 11. When maths, a more complicated formula can be obtained by using Eq. 12. maths

Proposition 7  

The sequences maths are periodic. This periodicity is direct if and only if maths.

Proof. Since maths is finite, there must exist maths such that maths and maths. Due to the recurrence, maths is periodic from that point on. When the recurrence can be followed backwards, the periodicity is direct. On the other hand, Eq. 4 gives maths. maths

Proposition 8  

The period of any sequence maths divides the period of maths. When maths, both periods are equal.

Proof. The period of a basis is the lcm of all the periods, and maths is a basis if and only if maths has an inverse in maths. maths

Proposition 9  

It exists maths such that maths divides maths if and only if maths divides maths.

Proof. Consider the set maths. By definition, maths. By periodicity maths, maths is infinite. By Proposition 4, we have maths as soon as maths. This characterize an ideal of maths. maths

Theorem 3 (Robinson)  

Consider maths coprime with maths, maths as in Proposition 9, maths the multiplicative order of maths modulo maths, i.e the smallest maths such that maths and maths the multiplicative order of maths. Then the period of maths is given by  :

maths (27)

Proof. [A shorter proof]Let maths, maths. By Eq. 9, we have maths and maths, allowing maths to exist. From Proposition 4 and Eq. 6, the generating function of maths is : french

maths

From Eq. 11, maths . From Eq. 9, maths. From Eq. 22, maths. Substituting these relations into maths, we obtain :

maths

Therefore maths and maths is a period of maths. Conversely, let maths be the shortest period of maths. From maths, maths divides maths. From the value of maths, the smallest positive maths such that maths is maths.

To obtain the second part of Eq. 27, we remark that maths by Eq. 9 and maths by Eq. 4 so that maths. Equating the orders of both sides, we obtain our proof by :

maths

maths

We will now prove a usefull lemma, then examine what can be said for composite moduli, then for prime moduli and conclude by a closer look over the special case maths (e.g. the genuine Fibonacci).

Proposition 10  

Define maths where maths and maths is prime. Except from the special case maths, maths, maths odd, maths, maths is inversible in the ring :

maths

Proof. From maths, maths and maths is invertible in maths except perhaps when maths. In this case, maths and maths. Suppose maths and maths even. Then maths, leading to maths that could not happen. It remains only to examine maths, maths.

If maths is even, maths is odd. Otherwise maths is even in the special case and odd otherwise. maths

Theorem 4   For composite modulus, ever assuming maths, we have :

  1. When maths and maths are coprimes, then maths is the maths of maths and maths while maths is the maths of maths and maths.
  2. For all primes maths, either maths or maths.
  3. For all primes maths and all indices maths, except perhaps from the case maths :

    maths

    maths

  4. The oddest prime, maths. When maths is even, maths. When maths is odd, maths. In the special case of Proposition 10, maths implies maths.

Proof. Point 1 results from the Chinese remainder theorem. To obtain point 2, remark that the maths-sequence maths is the Fibonacci sequence associated to a recurrence whose poles are equal maths. Then apply thm:AL-primes, part 1 (that will be proved independantly). In point 3, the result is obvious if maths is really equal to 0, since in such a case maths.

Let maths, maths where maths and assume maths, maths. We have :

maths

Substituting in Binet Eq. 11, we obtain an expansion of maths that starts by maths. When maths this is the only term. In the special case, maths and maths. Otherwise, maths and by Fermat, maths starts by maths. When maths, there are other terms, but the coefficients are binomials and therefore provide another factor maths except from the term in maths and we have again maths. The result concerning maths follows by recurrence over maths.

Concerning maths, let maths, maths, maths where maths. Resolving in maths and maths and substituting in Binet Eq. 11 leads to an expansion in maths where the coefficients are again binomials, and therefore divisible by maths except the coefficient of maths. This can be written as  :

maths

leading to maths, maths except perhaps from the case maths. In this case, a direct examination shows that maths leads to maths, while maths leads to maths. maths

Theorem 5   The following rules apply when maths is prime (and maths) :

(i) When maths divides maths, then maths and maths.

(ii) When maths is a quadratic residue maths, then maths is a divisor of maths.

(iii) Otherwise, maths divides maths, and maths divides maths.

Proof. This theorems results from :

(i) We have maths and maths.

(ii) Binet (11b). We have maths, thus maths by Fermat.

(iii) We have maths, thus maths by Frobenius. Therefore maths and maths. From the proof of thm:robinson, maths divides maths and maths divides maths. maths

Theorem 6   Assume that maths is odd and doesnt divide maths nor maths. Then :

(i) When maths then either maths maths is odd, maths is QR (quadratic residue maths) and maths or maths maths is even, maths is QR and maths. Moreover, either maths maths and *** is QR or maths maths and *** is QR.

(ii) When maths then maths maths is QR and maths.

(iii) maths then either maths maths, maths is QR and maths or maths maths, maths is QR and maths.

(iv) Define maths. If maths is QR then maths (and maths divides maths). Otherwise maths or maths.

Proof. Everywhere in this proof, we use the fact that solving a product is solving the factors. Therefore the current results arent granted for composite moduli.

Case maths. Assume maths odd, substitute maths, maths, maths, maths in Eq. 18 and obtain :

maths

This requires frenchmaths QR (and additionally maths QR). Then substitute in Eq. 9.

Case maths. Assume maths even and substitute maths in Eq. 18. Solve, substitute in Eq. 9 and obtain :

maths

From the minimality of maths, case maths cannot occur. Case maths requires maths QR and implies maths odd while case maths leads to maths even.

Cases maths. ****

Cases maths. Assume maths even, maths and substitute maths, maths, maths in Eq. 18. Solve, substitute in Eq. 9 and obtain :

maths

Therefore, case maths requires maths QR and implies maths while case maths requires maths QR and implies maths.

Case maths. Assume maths, substitute maths, maths, maths, maths in Eq. 18 and obtain :

maths

This requires frenchmaths QR (and additionally maths QR). Then substitute in Eq. 9.

(iv-a). Suppose that maths is QR. Then Eq. 18 applied to maths and maths gives :

maths

so that either maths and maths or maths and maths. Substituting in Eq. 9, we obtain that maths equals maths when maths and maths otherwise.

(iv-b). Suppose that maths is not QR. Then Eq. 18 applied to maths and maths gives :

maths

so that either maths and mathsor maths and maths. Substituting in Eq. 9, we obtain that maths equals maths when maths and maths otherwise. maths

Theorem 7   When maths is an odd prime not dividing maths or maths, the behaviour of maths is ruled by the quadratic nature of maths, maths and maths. In the general case, there are eight classes, whose behaviour is given by tab:Behaviour.


Table 1: Behaviour of the eight classes of primes (assuming maths, maths, maths).
maths maths maths cases maths maths maths maths maths maths
maths maths maths 4 0 maths 0 maths 0 2
maths maths maths 3 1 maths maths 0 0  
maths maths maths 1, 4, 5 0 maths all maths all  
maths maths maths 1, 3, 5 1 maths maths all all 4
maths maths maths 2b 1 maths maths maths maths 1
maths maths maths 2a, 3, 4 0 maths 0 maths 0  
maths maths maths 1, 5 1 maths maths maths maths  
maths maths maths all 0 maths all all all all


When maths is a perfect square, there are only four cases. When maths, as in the genuine Fibonacci case, maths is ever even (maths), and maths is either maths, maths or maths according to the maths column of tab:Behaviour.

Proof. Column maths comes from the equivalence of maths QR with maths and the definition maths. Column maths is (iv) above. Column maths is obtained as follows : when maths is odd and maths then maths and maths is odd ; when maths, then maths while maths : thus maths if maths is odd and maths if maths is even.

In line maths, we have maths while maths. Thus maths and maths have the same valuation maths and maths must be odd. Otherwise, the columns "cases", maths and maths are obtained by discarding all the possibilities that contradict the previous theorem.

When maths is QR maths, we can consider the Fibonacci sequence maths associated with the recurrence maths where maths. Then maths and both sequences share the same maths value.

When maths, then maths since maths has been excluded. By Robinson Eq. 27, maths is ever even and maths. When maths is odd, maths must be even and thus, again by Eq. 27, maths. maths

Proposition 11  

Assuming maths, maths and maths we have : if maths then maths is QR ; if maths then maths is QR ; otherwise maths and maths is QR.

Proposition 12  

Considering the genuine Fibonacci sequence, where maths. The special primes are maths and maths. It happens that maths while maths. For other primes, define maths. Then maths enforces maths, maths enforces maths and maths enforces maths. In the remaining case (maths), there are maths that gives maths.

Proposition 13  

When considering the Fibonacci sequence associated with maths, the only special prime is maths. It happens that maths. For other primes, define maths. Then maths enforces maths, maths enforces maths and maths enforces maths. In the remaining case (maths), there are maths that gives maths.

Proof. It is well known (Gauss) that maths is QR when maths and maths is QR (and therefore 8) when maths. maths

In the old ancient times, where the Fermat's last theorem was not allready proved, it has been nevertheless proved that a subcase of maths would imply the existence of a prime such that maths in the genuine Fibonacci sequence. Therefore, intensive computer aided searchs have been undertaken, ever with a negative result [1]. The fact that such primes actually exists for OTHER Fibonacci sequences (e.g. maths and maths in the sequence of Proposition 13) indicates that only specific methods can be used for this conjecture.


previous up next
Previous: 4 Complements Up: Is the Fibonacci Sequence Next: Bibliography


douillet@ensait.fr
2005-03-18