The Diophantine Equation x2 − 2y2 = z2 (Part IV)

A Method for Generating the Variables

Picture of a square

Squares of Magic Squares Equation

Andrew Bremner's article on squares of squares included the 3x3 square:

Bremner's square
373228925652
3607214252232
20525272222121

The numbers in the right diagonal as the triple (2052,4252,5652) seem to have been derived elsewhere. This sequence as well as a host of others has been obtained from a number of web pages starting with PartIA-1 where the first number in the triple when added to a difference (Δ) gives the second square in the triple and when this same (Δ) is added to the second square produces a third square. In other words adding the two sums produces the Diophantine equation 2y2 − x2 = z2. The method discovered therefore was useful in generating integers which could be used as the right diagonal entries of a magic square consisting primarily of squares. These integers, as well as a host of others, became entries of this particular Diophantine equation as was shown in Part I and Part II.

The Diophantine equation x2 − 2y2 = z2 is well known and only a small number of values are available for this equation. This web page will show how to calculate a large number of triples which satisfy this equation using a simple novel method, completely different from the method used in Part I and Part II for the Diophantine equation 2y2 − x2 = z2 but identical to the method used, with slight modifications, for the Diophantine equation x2 + 2y2 = z2 covered in Part III. This section will construct the triples calculated without the attached imaginary symbol i to the first number in each triple as was done previously. In addition, the first and last numbers in the triples are reversed so as to correspond to the equation x2 − 2y2 = z2.

Generation of Tables for odd and even numbers

The method uses tables of odd and even initial numbers starting first with Table I and Table II, where we use 1 for the first odd number and 2 for the first even number, then with Tables III to IX which covers other odd and even numbers. The triples are tabulated using the following titles for odd and even numbers:

Odd Number
δ1a b c δ2
k2k2 + j2kj 2k2 - j
Even Number
δ1a b c δ2
kk2 + jk2j k2 - j

where k is the increment starting at 0 and j equals the odd or even number chosen from the two sequences listed just below, a and c equals the equations just below them in the table above; and where b equals (c2a2)/−2 in terms of k and where the δ1 and δ2 are the differences between the a and c columns, respectively. I must also mention that the square root of c2 can take on positive or negative values according to the Diophantine equation. However, because of the equations in the header only one is allowed otherwise subtracting a from c will always give 0.

What are the initial numbers that may be used in the tables? By initial I mean the ns in the triple (n, 0, -n). The tables of initial even numbers are generated only from those numbers in the sequences generated from 2n2, viz., 2,8,18,32,50,72,98,128,162,200... while the table of initial odd numbers are generated from (2n + 1)2, viz., 12, 32, 52 72, 92... Only those numbers in these two sequences serve as the initial numbers as well as satisfy both Diophantine equations x2 ± 2y2 = z2.

Table I (Odd Number 1)
δ1a b c δ2
k2k2 + 1 2k 2k2 - 1
010-1
22
1321
66
2947
1010
319617
1414
433831
1818
5511049
2222
6731271
2626
7991497
Table II (Even Number 2)
δ1a b c δ2
kk2 + 22k k2 - 2
020-2
11
1321
33
26 42
55
31167
77
418 814
99
5271023
1111
638 1234
1326
7511447

The next two tables III and IV, are shown below and use even number 8 and odd number 9 from the two sequences above where the light green triples of Table III are divisible by 4 and the light blue of Table IV by 9. In addition, the factored triples of III and IV are contained in previous tables.

Table III (Even Number 8)
δ1a b c δ2
kk2 + 84k k2 - 8
080-8
11
194-7
33
212 8-4
55
317121
77
424 168
99
5332017
1111
644 2428
1313
7572841
Table IV (Odd Number 9)
δ1a b c δ2
k2k2 + 9 6k 2k2 - 9
090-9
22
1116-7
66
21712-1
1010
327 189
1414
4412423
1818
5593041
2222
681 3663
2626
71074289

Tables V, VI and VII tabulate the results of integers 18, 25 and 32, respectively.

Table V (Even Number 18)
δ1a b c δ2
kk2 + 186k k2 - 18
0180-18
11
1196-17
33
222 12-14
55
32718-9
77
434 24-2
99
543307
Table VI (Odd Number 25)
δ1a b c δ2
k2k2 + 25 10k 2k2 - 25
0250-25
22
12710-23
66
23320-17
1010
34330-7
1414
457407
1818
575 5025
Table VII (Even Number 32)
δ1a b c δ2
kk2 + 328k k2 - 32
0320-32
11
1338=31
33
23616 -28
55
34124-23
77
44832 -16
99
55740-7

Tables VIII and IX tabulate the results of integers 49 and 50, respectively.

Table VIII (Odd Number 49)
δ1a b c δ2
k2k2 + 49 14k 2k2 - 49
0490-49
22
15114-4
66
25728-41
1010
36742-31
1414
48146-17
1818
599701
Table IX (Even Number 50)
δ1a b c δ2
kk2 + 5010k k2 - 50
0500-50
11
15110-49
33
254 20-46
55
35930-41
77
466 40-34
99
575 50-25

Only nine integers were used in the calculation for the Diophantine equation x2 − 2y2 = z2 to get an idea of its versatility. Note that the tables produced can be expanded downward indefinitely and that the entries in the two sequences, used as the initial numbers, are infinite in number, thereby, giving rise to an infinite number of triples for this Diophantine equation. In addition, one can determine the triple value of a particular odd/even number, chosen from any of the two sequences above, by employing any arbitrary k value and performing the calculation for a and c then calculating for b.

This concludes Part IV. Go back to Part III.

Go back to homepage.


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