The Pellian Equation x2 −Dy2 = ±1 from a Sequence Sn (Part IIIA)

A Method for Generating Pellian Triples (x,y,±1) and (x,y,−1)

The Pellian equation x2 − Dy2 = 1 was covered in Part I and the negative Pellian equation x2 − Dy2 = −1 in Part II. The least solutions of the negative Pell equation, however, are not posted in either Wikipedia (which has a small section describing this topic) or listed in Recreations in the Theory of Numbers by Albert H. Beiler (1966) as were their positive Pell solutions, but the following equations on page 253 may be used for their computation:

x = [(p + qD)2n-1 + (p − qD)2n-1 ∕ 2]
y = [(p + qD)2n-1 + (p − qD)2n-1 ∕ 2D)]

In addition, the method of converting a quadratic surd D into continued fractions (pages 261-262) are also methods that can be used to generate these least solutions. On the other hand, it has been found that the group of Ds 13, 29 and 53 described in the articles above are actually part of the sequence with the OEIS number A078370. In addition, the numbers in this sequence are a subset of the numbers for which the negative Pell equation is soluble as listed in A031396:

Sn = 4(n)(n+1) + 5
13, 29, 53, 85, 125, 173, 229, 293, 365, 445, 533, 629, ...

where every number in this sequence has been found to be a surd for the regular Pell equation.

The method described here is different from that of Part II and requires a different set of mathematical expressions, viz., R1 and R2 to generate the subsequent x and y values from the numbers in the sequence Sn.

R1 = [(n1 + D)2 ∕4]3∕2 = (n2 + n3D)1∕2 = n4 + n5D
R2 = [(n1 + D)2 ∕4]3 = (n2 + n3D) = (n4 + n5D)2

where

R1 corresponds to ± staggered Pell triples
R2 corresponds to the separate regular or negative Pell triples
n1 equals 2n + 3 corresponding to the values: 3, 5, 7, 9, 11, ...
n2, n3, n4 and n5 are available or calculated values
the last equality in both expressions is the negative Pell

where available means from the two articles above or if not available can be calculated from the first equality of the RD equations.

The Actual Method

R1 is initially multiplied and rounded off with the known least value solutions x and y of the positive Pell equation to generate a new x and y solutions with z = −1. This new row of values is then tested to make sure it fits the negative Pell equation. Further multiplication and rounding off of this row by R1 produces staggered +1 and −1 Pell values. Once the desired number of rows is obtained we can backtrack and generate the approximate least solution values of the negative Pell equation by taking the initial +1 least solutions x and y and dividing by R1. In addition, to obtain the separate non staggered triples one uses R2, the square of R1.

The first three tables below are tabulated with the actual literature x and y values while in the latter two, the x and y values were calculated from the left hand side of the RD. As an aside these numbers would probably be difficult to come by via any other method.

Note an online search shows that the equation R2 = [(3 + 13)2 ∕4]3 = 649 + 18013 is listed on page 187 in the pdf article Solving the Pell Equation by H.W. Lenstra Jr.

Tables of D and Pell (x,y,±1) and (x,y,−1) Triples

Table I D=13
x y z
185 -1
6491801
233826485-1
8424012336401
303498188417525-1
10934358493032645401
3939404038210925940965-1
14192788896013936371392801
Table II D=13
x y z
185-1
233826485-1
303498188417525-1
3939404038210925940965-1
5113343406601814181862955045-1
Table III D=29
x y z
7013 -1
980118201
1372210254813-1
192119201356756401
268980603504994844413-1
37659205682016993138934601
Table IV D=29
x y z
7013-1
1372210254813-1
268980603504994484413-1
Table V D=53
x y z
18225 -1
6624991001
241148183312425-1
877786000112057318001
3195165155182438889687625-1
Table VI D=53
x y z
18225-1
241148193312425-1
3195165155182438889687625-1
Table V D=85
x y z
37841 -1
285769309961
21604174223433017-1
163327842721177153918481
Table VI D=85
x y z
37841-1
21604174223433017-1
Table IX D=125
x y z
68261 -1
930249832041
1268860318113490317-1
17307264040011548008755921
Table X D=125
x y z
68261-1
1268860318113490317-1

This concludes Part IIIA. To continue to Part IIIB.
Go back to Part II.

Go back to homepage.


Copyright © 2020 by Eddie N Gutierrez. E-Mail: enaguti1949@gmail.com