Sequences of Pythagorean Multiples (Part XVIII)

Use of the Diophantine Equation x2 ± D(∑ yj2) = z2 for Generating Sequences

In Part XIII an alternative method was used to generate a couple of partial integral Pythagorean triples, while Part XIV was used to generate all integral Pythagorean triples. In this section the method of Part XIV will be used to generate a sequence of partial integral triples where the z value is a non-perfect square and using the method of Part XIII where n2 is added instead of being subtracted and is a continuation of Part XVII.

We first produce all triples where all the aj are equal and where these subscript j increases consecutively from 1 to k. This is shown in Table I where, for example, all the ajs are equal to 3. Since the entire equation for z is too big to fit in the cell, it has been set equal to Root and this variable placed within the cell. The last root is some variable, Nk, whose square root is again a non-perfect square.


Root =
 _______________________________ √D2(a12 + a22 + a32 + ... + ak2 )2 + 6n2(a12 + a22 + a32 + ... + ak2) + n4
Table I (D = 1, n= 2)
x y1y2y3...ykz
a1a2a3...ak D(a12 + a22 + a32 + ... + ak2) + n2 2na12na22na3 Root
50025 + 4 = 2920001241
550(25 + 25) + 4 = 54202003716
555(25 + 25 + 25) + 4 = 792020207441
555...5(25 + 25 + 25 + ...) + 4 = 25k + 1 202020...20Nk

Only those values of y which are multiples of 20 (from Table I) with their appropriate x values are used. The xs are obtained thru the use if Table I or by multiplying (aj)2 (in this case 25) with multiples of m2 = 1,4,9,16,... then adding 4 as exhibited in Table I. This results in Table II which the appropriate values of x, y and z2 where we use z2 avoid non-perfect square roots. On inspection we see that the common difference between adjacent x values is no longer δ1 but δ1δ1 with a value of 50. In addition, the common difference between adjacent z2 values (on the right hand side) is not 50 but is obtained thru four levels of δ differences. Moreover, when we get to the end of Table II we can continue generating new x and z2 values by using the various delta (δ) differences.

The results for x, y and z2 are depicted in Table II along with columns of deltas δ1δ1, δδ, δδδ and δδδδ.

Table II (δy=20)
δ1δ1δ1x y z2δδδ δδδδδδδ
5029201241
7511175
50104401241632450
1254362537500
5022960560416995015000
17511357552500
504048016961612245015000
22523602567500
5062910040564118995015000
27542597582500
5090412083161627245015000
32569842597500
501229140153004136995015000
3751068375112500
501604160259841648245015000
4251550825127500
502029180414924160995015000
4752160775142500

The x values may be obtained using equation (A2):

bk+1 = bk + (ai + (k − 1)d)    (A2)

where ai is the initial δ1 value, d is the common difference δδ and bk is the variable x. The bk+1, thus, obtained in the first step becomes the bk of the next step. On the other hand, the values for y are obtained using the regular arithmetic progression formula (A1).

ai + (k − 1)d     (A1)

The z values, on the other hand, must be obtained directly from the regular z2 = x2 + y2. By using the delta (δ) differences in the last four columns, the fourth level common difference δδδδ was found to be 15000.

Alternatively, to calculate the values of x using equation (A2), we place the initial numbers for bk of 29 in equation (A2) and perform the calculations for the various bks in Tables IIIx. The bk values are in perfect agreement with those of Table II.

Table IIIx (d = δδ = 50)
bk+1 = bk + (ai + (k − 1)d)
b1 = 29 + (75 + 0(50)) = 104
b2 = 104 + (75 + 1(50)) = 229
b3 = 229 + (75 + 2(50)) = 404
b4 = 404 + (75 + 3(50)) = 629
b5 = 629 + (75 + 4(50)) = 904
b6 = 904 + (75 + 5(50)) = 1229
b7 = 1229 + (75 + 6(50)) = 1604
b8 = 1604 + (75 + 7(50)) = 2029

Finally there is a trick to calculating the δδδδ values of Table II. For example, we take a z2row r1, subtract the cell below, z2row r+1, and then diagonally, subtract then add, subtracting and adding again and again until the δδδδ is reached (see Table II).

δδδδ = z2row rz2row r+1 + δδδ + δδδ
δδδδ = 1241 − 12416 + 43625 − 69950 + 52500 = 15000

This concludes Part XVIII. Go to Part XIX for a new method for random accessing the various x, y2 and z2 values.
Go back to previous to Part XVII.
Go back to homepage.


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