Sequences of Pythagorean Multiples (Part XIX)

New Method for Random Accessing of x, y2 and z2 Variables

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 y and z values are non-perfect squares. in addition, three new equations have been produced that can be used to access larger Pythagorean triplets and do so via random access instead of having to trudge through one set of triples after another.

We first produce all triples where the aj, e.g., (a1,a2,a3) can either take on the values (3,5,7) or (9,1,1) where these subscript j increases consecutively from 1 to k. Both sets of values afford the same ∑ of aj2. This is shown in Table I where, for example, all the three ajs are equal to 3,5,7. 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= 1)
x y1y2y3...ykz
a1a2a3...ak D(a12 + a22 + a32 + ... + ak2) − n2 2na12na22na3 Root
35783 − 1 = 82610147056
357(83 + 83) − 1 = 1656101428553
357 (83 + 83 + 83) − 1 = 2486101464492
357...7(83 + 83 + 83 + ...) − 1 = 83k − 1 61014...14Nk

When the calculations are done for k = 1 to 9, the following results are obtained and listed in Tables IIa and IIb, where the δy2 and the δz2 values are used to avoid non-integral values of y and z. In addition, the δx between adjacent x values is 83 which may also be obtained from the arithmetic progression formula using 82 as the initial number, ai, and 83 as the common difference, d:

ak = ai + d(k − 1))     (A1)

We split the results into two tables in order to obtain the differences of y without overcrowding Table IIa. In addition, we have Table IIc where a) initially z = 7056 = 84 and where b) each row is calculated using the initial value xi = 82 in the random access equations of Part XIV. While I may be jumping the gun, these equations were derived from equation (B1) below.

Table IIa (δx=83)
δxx y2 z2δz2δδz2
823327056
8321497
16513282855314442
8335939
24829886449214442
8350381
331531211487314442
8364823
414830017969614442
8379265
4971195225896114442
8393707
5801626835266814442
83108149
6632124846081714442
83122591
7462689258340814442
Table IIb (δy2s)
y2 δy2δδy2
332
996
1328664
1660
2988664
2324
5312664
2988
8300664
3352
11952664
4316
16268664
4980
21248664
5644
26892664
Table IIc
x y2z
8233284
 
3311328333
 
7462988748
 
132753121329
 
2987119522989
 
4066162684068
 
5311212485313
 
6722268926724

As shown in Table IIc the values of y2 calculated using the random access equations are identical to those from different rows of Table IIa where the zs are non integer values. The difference between Table IIa and Table IIc is that the rows of table IIa are derived using k as the multiplicand while those of Table IIc are derived using k2.

The y2 and z2 values may be obtained using equation (A2) as previously shown in Part XV.

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

where ai is the initial δy2 or δz2 value, d is the common difference δδy2 or δδz2and bk are the variables y2 or z2. The bk+1, thus, obtained in the first step becomes the bk of the next step.

A New Way of Randomly Accessing the x, y2 and z2 Values

Previously we have been generating the values of x, y2 and z2 in a consecutive manner using equation A2 or by the delta (δ) differences in Table IIa. A new method of generating the x, y2 or z2 values of any Pythagorean triplets of this type via random access was, therefore, warranted and thus three equations were created using a variable k to generate new x, y2 or z2 values without having to calculate each value consecutively.

kxi + (k−1)    (B1)
kyi2 + (k(k−1)dy2) ∕2     (B2)
kzi2 + (k(k−1)dz2) ∕2 − (k−1)    (B3)

and where the xi, yi2 and zi2 are the initial values from the table and where the dy2 and dz2 are the two δδ values.

Examples of Triplets Using the Three Equations

Three examples using the above equations with different values for k are shown below:

k = 9
x = 9(82) + 8 = 746
y2 = 9(332) + 9(8)(664) 2 = 26892
z2 = 9(7056) + 9(8)(14442) − 8 = 63504 + 519912 − 8 = 583408

Which confirms the last row values of Table IIa. The values for k = 20 and 36 are as follow:

k = 20
x = 20(82) + 19 = 1659
y2 = 20(332) + 20(19)(664) 2 = 132800
z2 = 20(7056) + 20(19)(14442) − 19 = 141120 + 2743980 − 19 = 2885081
x2 + y2 = 16592 + 132800 = 2885081 = z2
k = 36
x = 36(82) + 35 = 2987
y2 = 36(332) + 36(35)(664) 2 = 430272
z2 = 36(7056) + 36(35)(14442) − 35 = 254016 + 9098460 − 35 = 9352441
x2 + y2 = 29872 + 430272 = 9352441 = z2

Note that the three new equations are only good where the differences are of the type δδ. No equations for δδδ or higher differences have to date been found.

This concludes Part XIX. Go to Part XX for random access of a few known Pythagorean triples.
Go back to Part XVIII. Go back to homepage.


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