The Pellian Equation x2 −Dy2 = 1 A General Method (Part XIIA)

A Method for Generating Pellian Triples from Paired Sequences P(n) (x,y,1)

The Pellian equation is the Diophantine equation x2 − Dy2 = z2 where z equals 1. 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 − q2D)n ∕ 22D)]

The tables in these two articles show a series of numbers of which I will focus on those triples of the type (x,y,1) starting at (3,2,1) and D = 2. It will be shown here that we can continue generating all those values of x not listed in these articles by employing a general sequence method where the specific seqeunces from this general method may or may not be in the OEIS database. The sequences uses the expression consisting of a pair of numbers and the corresponding x values while keeping y constant:

P(n) = n(an − 2), n(an + 2)
x(n) = an − 1, an + 1

corresponding to the various D and x values in the sequence where each pair uses the same value of n, and a is equal to the square of y. Thus, this method is a way of obtaining the Pellian triples from the set of square numbers S = {(y1)2,(y2)2,(y3)2,...} of which a miniscule number are found in the tables of the above articles.

However, as a check once we find D and its corresponding x value we can backtrack and find y according to the following:

y =x/D ⌋ = a½

where y is the floor(y) value, i.e., rounded down to the nearest integer equal to the square root of a.

Accordingly, Tables D and E shows the calculation of P(n) and x(n) for a, viz., the square numbers 1,4,9,16,25,36,49,64,81 and n 1 to 5, producing the following tabulated results for D and x. Values of y from the floor(y) are calculated from the previous two rows, another way of verifying for the value of y. Moreover, when y = 1 the D and xs are repeated so that we can eliminate the n(n − 2) and n − 1 and just focus on the n(n + 2) and n + 1 . The sequence for these D numbers (where y = 1 in Table D) is listed in the OEIS database entry A005563 as n(n + 2).

Table D
n 11223344 55
D-13083158241535
x0213243546
y1111111111
D2612203042567290110
x3579111315171921
y2222222222
D71132407587136152215235
x8101719262835375355
y3333333333
D14186068138150248264390410
x15173133474963657981
y4444444444
D232796104219231392408615635
x24264951747699101124126
y5555555555
Table E
n 11223344 55
D3438140148318330568584890910
x35377173107109143145179181
y6666666666
D475119220043544771679212151235
x48509799146148195197244246
y7777777777
D62662522605705821016103215901610
x6365127129191193255257319321
y8888888888
D79833203287237351288130420152035
x8082161163242244323325404406
y9999999999

The method of generating groups of triples involves multiplying the initial least solutions by either of the two parts of the following mathematical expression:

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

where:

n1 are consecutive integers, 1, 2, 3, 4, 5, ...
the values of adjacent xs in a pair is (an1 − 1, an1 + 1).
D are the values from the above sequences starting at column one.

then multiplying and rounding off each row of triples generated by the RD for as many triples as are desired. The lists below show the patterns generated for twelve Ds from table D and the accompanying three row triple tables generated for each D.

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

Table I D=2
x y z
321
17121
99701
Table II D=6
x y z
521
49201
4851981
Table III D=12
x y z
721
97281
135113501
Table IV D=20
x y z
921
161361
28896461
Table V D=30
x y z
1121
241441
52919661
Table VI D=42
x y z
1321
337521
874913501
Table VII D=7
x y z
831
127481
20247651
Table VIII D=11
x y z
1031
199601
397011971
Table IX D=32
x y z
1731
5771021
1960134651
Table X D=40
x y z
1931
7211141
2737943291
Table XI D=75
x y z
2631
13511561
7022681091
Table XI D=87
x y z
2831
156711681
8772494051

This concludes Part XII. Go to Part XIIb. Go back to Part XI.

Go back to homepage.


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