previous up next
Previous: 3 Confrac expansion of Up: Patterns Occurring During the Next: 5 Relations between lengths

4 Patterns

Definition 4.1   Let us define a pattern as a palindromic sequence maths where maths. The associated matrix maths is symmetrical and we define it's signature and it's "whole fingerprint" as:

maths

Notation 4.2   When convenient, signature and fingerprint will be expanded using the corresponding digits of maths. This will be denoted as:

maths (4.1)

where, for example, maths is the second binary digit of maths and maths. Occasionally, maths will be used.

Definition 4.3   For a quadratic integer maths, we say that it belongs to a pattern maths when

maths

Proposition 4.4   Let maths belong to pattern maths. Then :

maths

Moreover, maths.

Proof. We have maths. Since maths we must have maths and similarly for maths. The second part holds from

maths

maths

Notation 4.5   The notation maths is efficient, and not too cumbersome since maths characterizes the sequence maths. For a given maths, not a perfect square, the pattern associated with maths will be denoted by maths (first kind), and notations 3.10, 3.12 completed by:

maths

Accordingly, when maths, the pattern associated with maths will be denoted by maths (second kind), and following notations will be used:

maths

It should be noticed that some patterns maths are of both kinds (but not for the same maths).

Corollary 4.6 (An Euler's result, proven by Lagrange)   . A method to solve Pell's equation follows from proposition 4.4. Using maths, we have

maths

If maths is even, then maths is the fundamental solution of maths. Otherwise, this solution is associated with maths.

Theorem 4.7   There are maths (over the maths possibilities) signatures that actually occur for a pattern. Moreover, these signatures can be grouped into three classes that depend only of the existence and the parity of the middle quotient of the pattern :

maths (4.2)

Proof. It can be checked that, if maths and maths, then (using notations of definition 4.2) we have:
maths maths maths (4.3)

where computations are done in maths (and not in maths !). By recurrence, a pattern of even length is obtained when starting from the empty pattern, i.e. from maths and a pattern of odd length when starting from maths where maths is the middle quotient of the pattern. Starting from the corresponding signatures (bold-faced in 4.2) and using iteratively 4.3, we obtain the three given classes. maths

Remark 4.8   The action of 4.3 over the odd middle class can be summarized by FIG. 4.1. When lengthening a pattern by maths, one moves along radiuses when maths is even and along circles when maths is odd (clockwise along the inner circle and counter-clockwise along the outer).

FIG.  4.1: The odd middle class.
maths

Proposition 4.9   There are maths fingerprints that actually occur. The action induced by maths group them into three transitive classes, depending on the existence and parity of the middle quotient. The cardinal of the none, even and odd class are respectively maths, maths and maths, leading to the following rules (stated using notations 4.1):

maths (4.4)

Proof. Exhaustion by formal computing, following the same guideline as in the preceeding theorem. It should be noticed that the maths are equalities in maths while the maths are only congruences. maths

Theorem 4.10   For a given pattern, the maths such that equation maths defines a quadratic integer maths are exactly the positive elements of the arithmetic progression:

maths (4.5)

except perhaps from the smallest. The discriminant of all the maths take four values modulo maths, except from the signature maths where it takes only two values. According to the signature of maths, these values of maths are given by:

maths (4.6)

Moreover, for a pattern whose signature is one of these four : maths, maths or maths, all the quotients maths such that maths verifies additionally maths (and therefore such that maths has an associated maths) are given by 4.5 where maths has to be set according to the last column of 4.6 (where maths is as in 4.1).

Proof. Since maths, we have maths (Bezout). Substituting maths into equation maths, i.e. into maths, we obtain maths and therefore maths since maths, maths are coprime and maths is a quadratic integer.

For the remaining results, a computer aided proof is the easiest. We consider the first five binary digits of maths, i.e. maths and refer these maths, maths, maths (maths) as "the" digits. The signature fixes the value of maths, determining the value of maths and therefore the exact value of maths.

For each signature, equation maths can be iteratively solved modulo the successive powers of maths, fixing at each step the value of another digit. When using the usual tools of formal computing, these values must be carefully expressed since maths is false outside of maths ! It is therefore convenient to express a sum maths in maths by maths in maths.

We iterate this process as long as the equation remains linear in at least a variable. It happens that maths depends only on maths and that the set maths collapses to the same set of cardinal maths for each maths-uple in the remaining digits, except for signature maths where it appears two sets of cardinal two : maths and maths.

The same formulae show that, for any first kind integer, maths depend only on maths (and not on the digit maths) and give the value of maths leading to maths (when possible, i.e. for adequate signatures). maths

Corollary 4.11   The patterns of second kind are characterized equivalently by
(i) the signature is not maths
(ii) the middle element is odd or none

Corollary 4.12  

The patterns of first kind are characterized by : the signature is not maths. The middle element of a maths that allows maths is even (or none). This last point is only an implication, not a characterization.

Proposition 4.13   Assume that maths is not a perfect square, maths and maths. When maths is not empty, we have

maths

Proof. The condition on maths follows directly from theorem 4.10 by substituting maths into 4.5. By definition, maths for an maths. Thus maths and the conclusion on maths follows. When maths is empty, we have maths and conclusion remains when using maths instead of maths. maths

Definition 4.14   We want to emphasize three special patterns, the knowledge of which will appear to be useful in the next section (it will be proven, inter alia, that all are maths-patterns).

(1) "nothing but maths", where all the quotients are equal to a given maths.

(2) "any, one, one", where maths and maths (the sequence maths must be palindromic, since maths has to be so).

Proposition 4.15   A "nothing but ones" pattern is a pattern of second kind for all length maths. The corresponding maths and maths are given by:

maths (4.7)

where maths and maths is the maths-th Fibonacci number. Additionally, the parameter maths must be even when maths.

Proof. First part follows from theorem 4.10, and we have maths. Thus the signatures are given by:

maths

and criterion of corollary 4.11 is satisfied (when maths, maths is also a pattern of first kind and the parity condition over maths is here to select integers of second kind). The maths and maths values follow from :

maths

maths

Proposition 4.16   An "any, one, one" pattern is a pattern of second kind if and only if its middle element is odd or none. In such a case, all the maths associated to a maths belong to the same pattern of first kind maths, where maths. And we have

maths

Conversely, let be given a pattern maths whose signature is maths or maths and whose quotients maths are all even and at least maths. Then it exists infinitely many maths such that maths, and all the associated maths share the above described pattern of second kind maths.

Proof. First assertion follows from theorem 4.10. The second is obtained by factoring maths according to :

maths

The value of the maths pattern follows from :

maths (4.8)

proving that maths is a fixed point of maths when maths is a fixed point of maths.

Conversely: if maths is as described, the existence of the maths such that maths follows from theorem 4.10. Then proposition 4.13 shows that maths is a quadratic integer. And, by 4.8, maths is a fixed point of maths. maths

Corollary 4.17   When maths is "nothing but ones" and maths then maths is "nothing but fours" and maths.

Corollary 4.18  

It exists an infinite number of quadratic integers of each kind having a given period length.

Remark   The values of maths given in proposition 4.15 and corollary 4.17 for a given value of maths or maths are quickly huge, and give no hint about the smallest maths leading to a given period length.


previous up next
Previous: 3 Confrac expansion of Up: Patterns Occurring During the Next: 5 Relations between lengths


douillet@ensait.fr
2004-02-06