Some more Long Continued Fractions, I
James Mc Laughlin, Peter Zimmer

TL;DR
This paper constructs infinite families of polynomials whose square roots have long, controlled-period continued fraction expansions and provides methods to compute fundamental units in related quadratic fields.
Contribution
It introduces a systematic way to generate polynomials with long continued fraction periods and efficient techniques for fundamental unit computation in quadratic fields.
Findings
Constructed families of polynomials with arbitrarily long continued fraction periods.
Developed methods for quick computation of fundamental units.
Demonstrated control over period length via parameter k.
Abstract
In this paper we show how to construct several infinite families of polynomials , such that has a regular continued fraction expansion with arbitrarily long period, the length of this period being controlled by the positive integer parameter . We also describe how to quickly compute the fundamental units in the corresponding real quadratic fields.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Some more Long Continued Fractions, I
James Mc Laughlin
Mathematics Department
Anderson Hall
West Chester University, PA 19383
and
Peter Zimmer
Mathematics Department
Anderson Hall
West Chester University, PA 19383
Abstract.
In this paper we show how to construct several infinite families of polynomials , such that has a regular continued fraction expansion with arbitrarily long period, the length of this period being controlled by the positive integer parameter .
We also describe how to quickly compute the fundamental units in the corresponding real quadratic fields.
Key words and phrases:
Continued Fractions, Pell’s Equation, Quadratic Fields
2000 Mathematics Subject Classification:
Primary: 11A55. Secondary: 11R27.
The authors would like to thank the referee of an earlier version of this paper for pointing out a number of relevant papers, of which they were previously unaware.
1. Introduction
Let be a polynomial in , where , , are integer variables and is a positive integer parameter which appears as an exponent in the expression of . Suppose further that there are positive lower bounds and such that, for all integral and all integral , the surd has a regular continued fraction of the form
[TABLE]
where each , for , and the length of the period, , depends only on ( may also be present in some of the as an exponent). Under these circumstances we say that has a long continued fraction expansion and call the expansion a long continued fraction.
We give the following example due to Madden [11] to illustrate the concept:
Let , and be positive integers. Set
[TABLE]
Then
[TABLE]
The fundamental period in the continued fraction expansion has length .
Since the discovery of Daniel Shanks [17] and [18], there have been a number of examples of families of quadratic surds whose continued fraction expansions have unbounded period length. These include those discovered by Hendy [6], Bernstein [2] and [3], Williams [23], [22] and [21] , Levesque and Rhin [8], Azuhatu [1], Levesque [7], Halter-Koch [4] and [5], Mollin and Williams [13] and [14], van der Poorten [19], and, more recently, Madden [11] and Mollin [12].
Williams paper [23] contains several tables listing surds with long continued fraction expansions, along with the length of their fundamental period. In Mollin and Williams [13] and [14] and Williams [22] and [21], the authors describe a general method for computing the fundamental period of the continued fraction expansion of , where
[TABLE]
Here , (the value of depends on the parity of ), , , and . To describe this method we need some additional notation. For positive integers and , let the regular continued fraction expansion of
[TABLE]
with . Define . For a fixed and with , denote by the integer satisfying
[TABLE]
with . Let denote the multiplicative order of modulo and define
[TABLE]
The authors give various formulae for , formulae that depend on the various parameters and the functions and .
In this present paper we use matrix methods (based on Madden’s method in [11]) to derive several infinite families of quadratic surds with long continued fraction expansions. We feel that, while these matrix methods may not be as widely applicable, where they can be used the proofs are more transparent, more direct and less intricate than proofs by the method outlined above in the papers of Mollin and Williams. Furthermore, some of the families of long continued fractions in the present paper generalize some of the results in some of the papers cited previously in this introduction.
2. preliminaries
We first recall some basic properties of continued fractions. For any sequence of numbers , define, for , the numbers and (the -th numerator convergent and -th denominator convergent, respectively, of the continued fraction below) by
[TABLE]
By the correspondence between matrices and continued fractions, we have that
[TABLE]
It is also well known that
[TABLE]
See [10], for example, for these basic properties of continued fractions.
Our starting point is the following elementary result.
Lemma 1**.**
Let be a finite palindromic sequence of positive integers (with or without a central term) and let
[TABLE]
Then
[TABLE]
Proof.
As usual, means that the sequence of partial quotients is repeated infinitely often. Note that the matrix on the right side of (2.3) is symmetric, since the left side is a symmetric product of symmetric matrices.
Let , so that . Then, by (2.3), (2.1) and (2.2), we have that
[TABLE]
so that and the result follows. ∎
We will be primarily interested in the case where is an integer. The next result, although entirely trivial, is also central to what follows.
Lemma 2**.**
Let be any complex number and let and be any complex numbers such that . Define the matrix by
[TABLE]
Then
[TABLE]
To investigate the fundamental units in the corresponding real quadratic fields , there is the following theorem on page 119 of [15]:
Theorem 1**.**
Let be a square-free, positive rational integer and let . Denote by the fundamental unit of which exceeds unity, by the period of the continued fraction expansion for , and by the ()-th approximant of it.
If or , then
[TABLE]
However, if , then
[TABLE]
or
[TABLE]
Finally, the norm of is positive if the period is even and negative otherwise.
This theorem implies the following result.
Proposition 1**.**
Let be a non-square positive integer, . Suppose , and that
[TABLE]
Then the fundamental unit in is .
Proof.
By Theorem 1 and (2.1), the fundamental unit in is , and the equality of this quantity and follows from comparing corresponding entries in the matrices above. ∎
Remark: Other approaches can be used to calculate the fundamental unit in the case , but we do not pursue that here.
We will follow Madden and let denote the sequence whenever
[TABLE]
and let denote the sequence .
3. Some General Propositions
We next state several variants of a result of Madden from [11]. These general propositions will allow us to construct specific families of long continued fractions in the next section.
Proposition 2**.**
Let , , , and be positive integers such that is an integer, and let be a rational such that and are integers. Let
[TABLE]
Suppose further, for each integer , that the matrix defined by
[TABLE]
has an expansion of the form
[TABLE]
where each is a positive integer. Then
[TABLE]
If and is square free, then the fundamental unit in is
[TABLE]
Proof.
Let . We consider the matrix product
[TABLE]
By the definition of the , this product equals
[TABLE]
Define the matrix by
[TABLE]
One can check that
[TABLE]
Thus
[TABLE]
The result follows by Lemmas 1, 2 and Proposition 1. ∎
The fundamental period of the continued fractions above contain a central partial quotient, namely . We next show how to construct long continued fractions which do not have a central partial quotient.
Proposition 3**.**
Let , , and be positive integers. Let
[TABLE]
Suppose further, for each integer and each integer , that the matrix defined by
[TABLE]
has an expansion of the form
[TABLE]
where each is a positive integer. Then, for each integer ,
[TABLE]
If and is square free, then the fundamental unit in is
[TABLE]
Proof.
We proceed as in the proof of Proposition 2. Let . As above, the definition of implies
[TABLE]
Define the matrix by
[TABLE]
One can check that
[TABLE]
Thus
[TABLE]
and once again the result follows by Lemmas 1 and 2 and Proposition 1. ∎
It is also possible to create long continued fractions with no central partial quotient, but with two extra central partial quotients that do not come from and .
Proposition 4**.**
Let , , , and be positive integers. Let
[TABLE]
Suppose further, for each integer and each integer , that the matrix defined by
[TABLE]
has an expansion of the form
[TABLE]
where each is a positive integer. Then, for each integer ,
[TABLE]
For ease of notation, set and . Then the fundamental unit in is
[TABLE]
Proof.
We proceed as in the proof of Propositions 2 and 3. Let
[TABLE]
As above, the definition of implies
[TABLE]
Recall that and define the matrix by
[TABLE]
One can check (preferably with a computer algebra system like Mathematica) that
[TABLE]
Thus, as in Propositions 2 and 3, the result follows by Lemmas 1 and 2 and Proposition 1. ∎
4. long continued fractions
We next give specific values (in terms of other variables) for some of the variables in the propositions so as to produce explicit long continued fractions. The main problem is to do this in such a way that the matrices satisfy (3.1), (3.3) or (3.5).
From Proposition 2, we have that
[TABLE]
so one obvious approach is to initially define , , , and from a product of the form
[TABLE]
and then specialize the so that each also has an expansion of a similar form. We proceed similarly with Propositions 3 and 4.
We consider one example in detail to illustrate the method. We consider Proposition 2 with
[TABLE]
Upon comparing entries, it can be seen that must be a multiple of , so replace by and we then have
[TABLE]
Then , , and . The requirements that , and be integers force and to have the forms , , respectively, for some integers and . Thus we finally have
[TABLE]
With these values, we have that
[TABLE]
Thus
[TABLE]
For a non-square integer , let denote the length of the fundamental period in the regular continued fraction expansion of . We have proved the following theorem.
Theorem 2**.**
Let , , and be positive integers. Set
[TABLE]
Then and
[TABLE]
This long continued fraction generalizes Madden’s first example in Section 3 of [11], where Madden’s continued fraction is the case of the continued fraction above (This continued fraction of Madden is also given in row 1 of Table 3 in Williams paper [23]). The case , gives Bernstein’s Theorem 3 from [2].
Theorem 3**.**
Let , , and be positive integers. Set
[TABLE]
Then and
[TABLE]
Proof.
In Proposition 2, let
[TABLE]
With these values,
[TABLE]
∎
This example generalizes Madden’s second example (page 130 [11]) (set ) (Madden’s second example can also be found in row 2 of Table 3 in [23]), Theorem 8.1 of Levesque and Rhin [8] (set , and ) and Theorem 10.1 of Levesque and Rhin [8] (set , and ).
The example given by van der Poorten in [19], namely
[TABLE]
follows upon setting , and .
We can also let , and take negative values in Theorem 2. Any zero- and negative partial quotients in the continued fraction expansion can be removed by the following transformations:
[TABLE]
Out of the eight possible sign combinations for , and , only four lead to distinct polynomials, those in Theorems 2 and 3 (Theorem 3 could also have been proved by replacing by for the case is even, and replacing by in the case is odd) and two others.
Our first application of this transformation is to Theorem 3.
Corollary 1**.**
Let , and be positive integers such that . Set
[TABLE]
Then and
[TABLE]
Proof.
This follows upon letting in Theorem 3 and using (4.1) to remove the zeros resulting from the “” terms. ∎
This continued fraction generalizes that in Theorem 2 of Bernstein [2] (set and ) and also that in Theorem 6.1 of Levesque and Rhin [8] (set and ).
Theorem 4**.**
Let , , and be positive integers. Set
[TABLE]
Then and
[TABLE]
Proof.
We consider the cases where is odd and is even separately. We first consider odd.
Replace by and by in Theorem 2. Then
[TABLE]
and
[TABLE]
We now apply the second identity at (4.1) repeatedly to get that
[TABLE]
It is clear that . This proves the theorem for odd .
We next consider the case where is even. Replace by , by , by and by in Theorem 2. Then
[TABLE]
and
[TABLE]
We again apply the second identity at (4.1) repeatedly and the stated continued fraction expansion follows. It is clear that in this case. This completes the proof for even . ∎
This theorem generalizes Theorem 7.1 of Levesque and Rhin [8] (set , and ) and Theorem 9.1 of Levesque and Rhin [8] (set , and ). Williams example in row 3 of Table 3 in [23] is the case of the continued fraction above.
Remark: It seems likely from the common form of the expansions that there should be an alternative proof of Theorem 4 that covers the even and odd cases simultaneously. However, we do not pursue that here.
Corollary 2**.**
Let , and be positive integers. Set
[TABLE]
Then and
[TABLE]
Proof.
Let in Theorem 4 and use (4.1) to remove the zeros resulting from the “” terms. ∎
This result generalizes that in Theorem 1 of Bernstein [2] (set and ) and also that in Theorem 5.1 of Levesque and Rhin [8] (set and ). It also generalizes the example in row 5 of Table 3 in [23].
Theorem 5**.**
Let , , and be positive integers. Set
[TABLE]
Then and
[TABLE]
Proof.
Replace by and by in Theorem 2. Then
[TABLE]
and
[TABLE]
We again apply the second identity at (4.1) repeatedly and the stated continued fraction expansion follows. It is clear that in this case. This completes the proof. ∎
Williams continued fraction in row 9 of Table 3 in [23] is the case of the theorem above.
Corollary 3**.**
Let , and be positive integers such that . Set
[TABLE]
Then and
[TABLE]
Proof.
This follows after letting in Theorem 5 and using (4.1) to remove the resulting zeroes and negatives. ∎
Williams continued fraction in row 8 of Table 3 in [23] is the case of the corollary above.
Corollary 4**.**
Let and be positive integers. Set
[TABLE]
Then and
[TABLE]
Proof.
This follows after letting in Corollary 3 and using (4.1) to remove the zero resulting from the “” terms. ∎
The result above is Theorem 4 in Bernstein [2].
Corollary 5**.**
Let , and be positive integers. Set
[TABLE]
Then and
[TABLE]
Proof.
This follows after letting in Theorem 5 and using (4.1) to remove the zero resulting from the “” terms. ∎
We next use Propositions 3 and 4 to construct families of long continued fractions with no central partial quotient in the fundamental period.
Theorem 6**.**
Let , and be positive integers. Set
[TABLE]
Then and
[TABLE]
Here we understand the mid-point of the period to be just after the term, if is odd, and just after the term, if is even.
Proof.
We first prove this for even . In Proposition 3 set , , and . Then
[TABLE]
With these values also,
[TABLE]
and so . Thus
[TABLE]
and the result follows for even .
For odd we use Proposition 4 above, where we set , , , and . Then
[TABLE]
With these values also,
[TABLE]
and so . Thus
[TABLE]
and the result again follows. ∎
The result above (without the explicit continued fraction expansion) appears in row 1 of Table 2 in [23].
As previously, we can let or take negative integral values and produce a new long continued fraction.
Corollary 6**.**
Let , and be positive integers. Set
[TABLE]
Then and
[TABLE]
Proof.
This follows from Theorem 6 in the case is even, after replacing by and using (4.1) to remove the resulting negative partial quotients from the resulting continued fraction expansion ∎
Corollary 7**.**
Let , and be positive integers. Set
[TABLE]
Then and
[TABLE]
Proof.
This follows from Theorem 6 in the case is odd, after replacing by and using (4.1) to remove the resulting negative partial quotients from the resulting continued fraction expansion. ∎
Remark: Statements similar to those in Corollaries 6 and 7 hold if is replaced by , but these results cannot be derived from Theorem 6. All of these statements, without explicit continued fraction expansions, appear in Table 2 of [23].
5. Fundamental Units in Real Quadratic Fields
It is straightforward in many cases to compute the fundamental units in the real quadratic fields corresponding to the surds in the various theorems and corollaries. In what follows, we assume is square free and .
In Theorem 2, for example, where
[TABLE]
it follows directly from Proposition 2 that the fundamental unit in is
[TABLE]
With , , and , for example, we get and that the fundamental unit in is (after simplifying)
[TABLE]
Likewise, in Theorem 6 (for even ), where
[TABLE]
Proposition 3 gives that the fundamental unit in is
[TABLE]
Setting , , and , for example, gives and that the fundamental unit in is
[TABLE]
For our last example, we also consider Theorem 6 (for odd ), where
[TABLE]
Proposition 4 gives that the fundamental unit in is
[TABLE]
Letting , , and gives and shows that the fundamental unit in is
[TABLE]
6. Concluding Remarks
While considering the various long continued fractions in the papers by Bernstein [2], [3], Levesque and Rhin [8] and Williams [23], and trying to see if any more of the continued fractions in these papers could be generalized by the methods in the present paper, we were led to a new construction.
This new construction succeeds where the methods in the present paper fail, in that it allowed us to generalize some more of the continued fractions in the papers mentioned above.
We will investigate this new construction in a subsequent paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Azuhatu, T. On the fundamental units and class numbers of real quadratic fields, II , Tokyo Journal of Math., 10 (1987), 259–270.
- 2[2] Bernstein, Leon. Fundamental units and cycles in the period of real quadratic number fields. I. Pacific J. Math. 63 (1976), no. 1, 37–61.
- 3[3] Bernstein, Leon. Fundamental units and cycles in the period of real quadratic number fields. II. Pacific J. Math. 63 (1976), no. 1, 63–78.
- 4[4] Halter-Koch, F. Einige periodische Kettenbruchentwicklungen und Grundeinheiten quadratischer Ordnungen . Abh. Math. Sem. Univ. Hamburg 59 (1989), 157–169.
- 5[5] Halter-Koch, F. Reell-quadratische Zahlkörper mit großer Grundeinheit . Abh. Math. Sem. Univ. Hamburg 59 (1989), 171–181.
- 6[6] Hendy, M. D. Applications of a continued fraction algorithm to some class number problems . Math. Comp. 28 (1974), 267–277.
- 7[7] Levesque, Claude Continued fraction expansions and fundamental units . J. Math. Phys. Sci. 22 (1988), no. 1, 11–44.
- 8[8] Levesque, C. and Rhin, G. A few classes of periodic continued fractions , Utilitas Math, 30 (1986), 79–107.
