The Diophantine Equation x2 + 2y2 = z2 (Part III)

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 many other 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. The method has already been covered in Part IA, Part IB, Part IC, Part IIC, Part IIIC, Part ID and Part IE, but its relation to x2 + 2y2 = z2 was not shown until now even though several of the triples found via this method were used to construct eight magic squares containing seven squares each.

Generation of Tables for odd and even numbers

There are two slightly different methods for construction of the triples. I will cover only the preferred method shown below since it is simple, consistent and captures all the triples for that particular series. The other method is covered in Tables VII and VIII of Part IB. The preferred 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
δ1iai b c δ2
k2k2 i - ji2kj 2k2 + j
Even Number
δ1iai b c δ2
kk2 i - jik2j 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, ai and c equals the equations just below them in the table above; and where b equals (c2a2)/2 in terms of k. In addition, the δ1i and δ2 are the differences between the ai and c columns, respectively.

What are the initial numbers that may be used in the tables? By initial I mean the ns in the triple (-ni, 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 the Diophantine equation xi2 + 2y2 = z2 where xi2 = x2.

Table I (Odd Number 1)
δ1iai b c δ2
k2k2 i - i2k 2k2 + 1
0-i01
2i2
1i23
6i6
27i49
10i10
317i619
14i14
431i833
18i18
549i1051
22i22
671i1273
26i26
797i1499
Table II (Even Number 2)
δ1iai b c δ2
kk2 i - 2i2k k2 + 2
0-2i02
i1
1-i23
3i3
22i 46
5i5
37i611
7i7
414i 818
9i9
523i1027
11i11
634i 1238
13i26
747i1451

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)
δ1iai b c δ2
kk2 i - 8i4k k2 + 8
0-8i08
i1
1-7i49
3i3
2-4i 812
5i5
3i1217
7i7
48i 1624
9i9
517i2033
11i11
628i 2444
13i13
741i2857
Table IV (Odd Number 9)
δ1iai b c δ2
k2k2 i - 9i6k 2k2 + 9
0-9i09
2i2
1-7i611
6i6
2-i1217
10i10
39i 1827
14i14
423i2441
18i18
541i3059
22i22
663i 3681
26i26
789i42107

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

Table V (Even Number 18)
δ1iai b c δ2
kk2 i - 18i6k k2 + 18
0-18i018
1i1
1-17i619
3i3
2-14i 1222
5i5
3-9i1827
7i7
4-2i 2434
9i9
57i3043
Table VI (Odd Number 25)
δ1iai b c δ2
k2k2 i - 25i10k 2k2 + 25
0-25i025
2i2
1-23i1027
6i6
2-17i2033
10i10
3-7i3043
14i14
47i4057
18i18
525i 5075
Table VII (Even Number 32)
δ1iai b c δ2
kk2 i - 32i8k k2 + 32
0-32i032
i1
1-31i833
3i3
2-28i16 36
5i5
3-23i2441
7i7
4-16i32 48
9i9
5-7i4057

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

Table VIII (Odd Number 49)
δ1iai b c δ2
k2k2 i - 49i14k 2k2 + 49
0-49i049
2i2
1-47i1451
6i6
2-41i2857
10i10
3-31i4267
14i14
4-17i4681
18i18
5i7099
Table IX (Even Number 50)
δ1iai b c δ2
kk2 i - 50i10k k2 + 50
0-50i050
i1
1-49i1051
3i3
2-46i 2054
5i5
3-41i3059
7i7
4-34i 4066
9i9
5-25i 5075

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.

This concludes Part III. To go to Part IV which covers the Diophantine equation x2 − 2y2 = z2. To go back to Part II.

Go back to homepage.


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