Generating Sequences of Pythagorean Triples (Part XXI)

Primitive and non-Primitive Triples

In this section we will produce tables of consecutive triples of the Pythagorean equation x2 + y2 = z2 by using the regular m, n generating functions we are accustomed to, which are actually simplifications of the equations used in Table I of Part XIV. In addition, a variable Δ is listed in the caption of each of the tables and corresponds to the difference zx also equal to 2n2. This difference is important for generating new Pythagorean multiples from the original triple and may be expanded to generate Pythagorean sequences as was shown in Part XX.

Three triples chosen from Tables III-IV will be used to generate entries into new Pythagorean sequences. The sequences that are produced actually consists of triplet entries further down in the tables since the Δs in each are identical. Therefore, by using these equations we can generate the higher multiples without having to consecutively go through every triple in a table before reaching the desired ones.

Table I (Δ=2, n=1)
  x yz
m m2 − n2 2nm m2 + n2
38610
5241026
8631665
Table II (Δ=8, n=2)
  x yz
m m2 − n2 2nm m2 + n2
5212029
7452853
8603268
Table III (Δ=18, n=3)
  x yz
m m2 − n2 2nm m2 + n2
2−51213
5163034
7404258
109160109
Table IV (Δ=32, n=4)
  x yz
m m2 − n2 2nm m2 + n2
3−72425
594041
7335665
1212896160

What can be gleaned from the tables is that primitive triples are obtained from an (even m, odd n) combination as well as an (odd m, even n) combo. In addition, x can be positive or negative since the difference between z and x will still sum up to positive Δ in either case.

Generating Pythagorean Sequences via Random Access

As described in Part XX multiple triples of primitive or non primitive triplets may be obtained from n2 using the following equations with the value of xi equal to x in the triplet being considered:

x = k2xi + n2(k2−1)
z = k2xi + n2(k2+1)

y =
 ____
z2x2

One triple from Table III and two from Table IV will be used to generate triplet entries in a Pythagorean sequence. The first set of Pythagorean triple multiples, where k = 2 and k = 3, were constructed using the new equations and utilizing xi for the initial value of x. The third triple from Table III is (91, 60, 109):

n2 = 9, k2 = 4 and xi = 91
x = 4 × 91 + 9 × 3 = 391
z = 4 × 91 + 9 × 5 = 409
y = 14400 = 120

k2 = 9
x = 9 × 91 + 9 × 8 = 891
z = 9 × 91 + 9 × 10 = 909
y = 32400 = 180

Thus, we obtain the second and third triple entries, (391, 120, 409) and (891, 180, 909), of the Pythagorean sequence starting with the triple (91, 60, 109). This sequence should, therefore, consist of just primitive entries. For instance, the fourth triplet with k2 = 16 is non reducible, viz., (1591, 240, 1609).


The second set of Pythagorean triple multiples, where k = 4 and k = 5, were constructed using the new equations and utilizing xi for the initial value of x. The second triple from Table IV is (33, 56, 65):

n2 = 16, k2 = 16 and xi = 33
x = 16 × 33 + 16 × 15 = 768
z = 16 × 33 + 16 × 17 = 800
y = 50176 = 224

k2 = 25
x = 25 × 33 + 16 × 24 = 1209
z = 25 × 33 + 16 × 26 = 1241
y = 78400 = 280

Thus we obtain the fourth and fifth triple entries, (768, 224, 800) and (1209, 280, 1241), in the Pythagorean sequence starting with the triple (33, 56, 65). Note that the fourth entry is reducible to the primitive (24, 7, 25). In addition, the next n2 = 36 will also produce a reducible non-primitive triple viz., (1748, 336, 1780) and, therefore, this type of sequence will consist of pairs of adjacent primitive and non-primitive entries.,


The first set of Pythagorean triple multiples, where k = 2 and k = 3, were constructed using the new equations and utilizing xi for the initial value of x. The third triple from Table IV is (−7, 24, 25) where the xi = −7:

n2 = 16, k2 = 4 and xi = −7
x = 4 × −7 + 16 × 3 = 20
z = 4 × −7 + 16 × 5 = 52
y = 2304 = 48

k2 = 9
x = 9 × −7 + 16 × 8 = 65
z = 9 × −7 + 16 × 10 = 97
y = 5184 = 72

Thus, we obtain the second and third triple entries, (20, 48, 52) and (65, 72, 97), of the Pythagorean sequence starting with the triple (−7, 24, 25). Note that the second entry is reducible to the primitive (5, 12, 13). Again, this sequence will consist of pairs of adjacent primitive and non-primitive entries.

Moreover, we can randomly access and construct an infinite number of Pythagorean triples via the use of these new equations and, thereby, produce sequences of triples for each initial set of Pythagorean triples all based on the value of k prior to squaring.

This concludes Part XXI.
Go back Part XX. Go back to homepage.


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