The Pellian Equation x2 −Dy2 = 1 Revisited (Part I)

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

The Pellian equation is the Diophantine equation x2 − Dy2 = z2 where z equals 1. The negative Pellian equation x2 − Dy2 = −1 is a topic of Part II which follows a similar method as described in this page. The least solutions of the Pell equation are posted in Wikipedia. and also listed in Table 91, page 254 of Recreations in the Theory of Numbers by Albert H. Beiler (1966), where the values for D on page 252-253 have been computed using the following two expressions:

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

In addition, the method of converting a quadratic surd D into continued fractions (pages 261-262) is also shown and may be also found online. The method is now available as JS computer code where the calculations are now in the hands of "the computer". However, a simpler non computer based method to generate the subsequent x and y values, starting with the known least solutions, is now the subject of this web page. The method involves the use of the following first mathematical expression which was later subsequently found to be equal to the second math expression:

RD = (n1 + D)2 ∕n2 = x + yD)

where n1 and n2 are arbitrary integers and n1 is mostly less than the D. RD is an irrational number or surd generated for each value of D and used for generating all subsequent values x and y. Initially the known least value solutions x and y are multiplied and rounded off by RD to generate new x and y solutions which are then tested to make sure they fit the Pell equation where z is equal to 1. If not the variables n1 and n2 are simply tweaked until the desired results are obtained. The RD that is obtained is then repeatedly multiplied by each row of x and y to generate the next row which is then tested in the Pell equation to confirm that z is equal to 1.

Relation of a Sequence Sn and the Pell Equation

At this point we can mention that the RDs in the following math expression:

RD = (n1 + D)2

are related to a sequence Sn A002522 in the OEIS database and where the variable n1 are consecutive integers 1,2,3,4,5... and the variable Ds are the numbers having the formula:

D = n2 + 1

Examples where D equals 2, 5, 10 and 17 are shown in Tables II, IV, VII and XIII below. It will be shown in Part III thru Part X that many of the surds may be derived from the OEIS or from new sequences (see homepage for a listing).

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

Table I D=2
x y z
321
17121
99701
5774081
336323781
19601138601
114243807821
6658504708321
Table II D=3
x y z
211
741
26151
97561
3622091
13517801
504229111
18817108641
Table III D=5
x y z
941
161721
288912921
51841231841
9302494160201
1669264174651761
2995372891339571481
537497856124037634881
Table IV D=6
x y z
521
49201
4851981
480119601
47525194021
4704491920601
465696519011981
Table V D=7
x y z
831
127481
20247651
32257121921
5140881943071
819315130967201
130576328493532131
Table VI D=8
x y z
311
1761
99351
5772041
336311891
1960169301
114243403911
Table VII D=10
x y z
1961
7212281
2737986581
10396813287761
39480499124848301
14992192814740947641
Table VIII D=11
x y z
1031
199601
397011971
79201238801
15800504764031
3152179995041801
Table IX D=12
x y z
721
97281
13513901
1881754321
262987756581
365040110537801
Table XI D=13
x y z
6491801
7079.51963.51
77225.521418.51
8424012336401
9189185.52548621.51
100238639.527801196.51
10934358493032645401
Table XI D=14
x y z
1541
4491201
1345535961
4032011077601
1208257532292041
362074049967683601
1085013889528998215961
Table XII D=15
x y z
411
3181
244631
19214961
1512439051
119071307441
9374442420471
Table XI D=13 (revised)
x y z
6491801
8424012336401
10934358493032645401
14192788896013936371392801
Table XIII D=17
x y z
3381
21775281
143649348401
947865722989121
6254477131516933521
Table XIV D=18
x y z
1741
5771361
1960146201
6658571569441
2261953753314761

This concludes Part I. Go to Part II.

Go back to homepage.


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