The Role of Triangular Numbers in the Pellian Equation x2 −Dy2 = 1 (Part XVIII)

A quick summary of the Pellian equation x2 − Dy2 = 1 is covered in Part I and the negative Pellian equation x2 − Dy2 = −1 in Part II.

On the previous article Part XVII, the following equation and its accompanying sequence Sn, were shown to correspond to those D values of the Pell equation whose Qn was equal to +1 at n = 7. (See article on Convergents Part XIII for a description of Qn):

Sn = 4(n)(n+1) − 3
5, 21, 45, 77, 117, 165, 221, 285, 357, 437, 525, 621, 725, 837, 957, 1085, 1221, 1365...

These D terms when plugged into a Pell equation generated the appropriate x and y variables consistent with their D values. In addition, the equations could be written in an alternative mode in which the y values (as the value n2) were triangular numbers ½(n2+n). See Part XVII Table II. Moreover, I will show that the equivalent form of the x variables, as depicted in Part XVII, are the sum of triangular numbers and a pair of numbers from a known OEIS sequence.

Triangular Numbers to x Conversion

The Sloane sequence A002620 was found to be identical to a sequence I generated from the pair of values (m2, m2+m) where m ≥ 0. This pair of m values were, however, not the end-all but needed a doubling of each of the terms in the sequence, as in the third row of the accompanying table, prior to using them in their conversion to x:

Sequence Pair
Δ01122 33445 5667
A0026200012469 12162025303642 49
2A002620002481218 24324050607284 98

Note that the sequence is constructed in such a manner that the difference between the pair of m values on the second row is also a pair of Δ values.

We begin by employing a second variable n to generate the triangular numbers ½(n2+n) which when subjected to multiplication followed by addition generate x:

x = ½(n2+n) × 2n + k

where k = 2m2 or 2(m2+m) depending on whether column 3 or 4 of Table I is being used and where the latter number is twice a triangular number. Column 2 contains the values of m which coincidentally are identical to Δ. The last column are the values of y identical to the triangular numbers that were initially shown in Part XVII Table II along with their accompanying D and x values. There one uses D to find x and y. Here one can do the reverse and use x and y to find D if one is so inclined.

Table I
nm2m22(m2+m)n(n2+n)+kxy
1 0-01×2+021
212-2×6+2143
31- 43×12+4406
428-4×20+88810
52-125×30+1216215
6318-6×42+1827021
73-247×56+2441628
8432-8×72+3260836
94-409×90+4085045
10550-10×110+50115055
115-6011×132+60151266
12672-12×156+72194478
136-8413×110+84245091
14798-14×132+983038105

Thus, we have the first instance of a series of equations equivalent to their Pell counterparts where their x and y values are based on the triangular numbers.

This concludes Part XVIII. To Go back to Part XVII.

Go back to homepage.


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