The Diophantine Equation x2 + 2y2 = z2 (Part III)
A Method for Generating the Variables
Squares of Magic Squares Equation
Andrew Bremner's article on squares of squares included the 3x3 square:
Bremner's square
3732 | 2892 | 5652 |
360721 | 4252 | 232 |
2052 | 5272 | 222121 |
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
| δ1i | ai |
b | c |
δ2 |
k | | 2k2
i - ji | 2k√j |
2k2 + j | |
|
| |
Even Number
| δ1i | ai |
b | c |
δ2 |
k | | k2
i - ji | k√2j |
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
(c2 − a2)/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)
| δ1i | ai |
b | c |
δ2 |
k | | 2k2
i - i | 2k |
2k2 + 1 | |
0 | | -i | 0 | 1 | |
| 2i | | | | 2 |
1 | | i | 2 | 3 | |
| 6i | | | | 6 |
2 | | 7i | 4 | 9 | |
| 10i | | | | 10 |
3 | | 17i | 6 | 19 | |
| 14i | | | | 14 |
4 | | 31i | 8 | 33 | |
| 18i | | | | 18 |
5 | | 49i | 10 | 51 | |
| 22i | | | | 22 |
6 | | 71i | 12 | 73 | |
| 26i | | | | 26 |
7 | | 97i | 14 | 99 | |
|
| |
Table II (Even Number 2)
| δ1i | ai |
b | c |
δ2 |
k | | k2
i - 2i | 2k |
k2 + 2 | |
0 | | -2i | 0 | 2 | |
| i | | | | 1 |
1 | | -i | 2 | 3 | |
| 3i | | | | 3 |
2 | | 2i |
4 | 6 | |
| 5i | | | | 5 |
3 | | 7i | 6 | 11 | |
| 7i | | | | 7 |
4 | | 14i
| 8 | 18 | |
| 9i | | | | 9 |
5 | | 23i | 10 | 27 | |
| 11i | | | | 11 |
6 | | 34i |
12 | 38 | |
| 13i | | | | 26 |
7 | | 47i | 14 | 51 | |
|
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)
| δ1i | ai |
b | c |
δ2 |
k | | k2
i - 8i | 4k |
k2 + 8 | |
0 | | -8i | 0 | 8 | |
| i | | | | 1 |
1 | | -7i | 4 | 9 | |
| 3i | | | | 3 |
2 | | -4i |
8 | 12 | |
| 5i | | | | 5 |
3 | | i | 12 | 17 | |
| 7i | | | | 7 |
4 | | 8i |
16 | 24 | |
| 9i | | | | 9 |
5 | | 17i | 20 | 33 | |
| 11i | | | | 11 |
6 | | 28i |
24 | 44 | |
| 13i | | | | 13 |
7 | | 41i | 28 | 57 | |
|
| |
Table IV (Odd Number 9)
| δ1i | ai |
b | c |
δ2 |
k | | 2k2
i - 9i | 6k |
2k2 + 9 | |
0 | | -9i | 0 | 9 | |
| 2i | | | | 2 |
1 | | -7i | 6 | 11 | |
| 6i | | | | 6 |
2 | | -i | 12 | 17 | |
| 10i | | | | 10 |
3 | | 9i |
18 | 27 | |
| 14i | | | | 14 |
4 | | 23i | 24 | 41 | |
| 18i | | | | 18 |
5 | | 41i | 30 | 59 | |
| 22i | | | | 22 |
6 | | 63i |
36 | 81 | |
| 26i | | | | 26 |
7 | | 89i | 42 | 107 | |
|
Tables V, VI and VII tabulate the results of integers 18, 25 and 32, respectively.
Table V (Even Number 18)
| δ1i | ai |
b | c |
δ2 |
k | | k2
i - 18i | 6k |
k2 + 18 | |
0 | | -18i | 0 | 18 | |
| 1i | | | | 1 |
1 | | -17i | 6 | 19 | |
| 3i | | | | 3 |
2 | | -14i |
12 | 22 | |
| 5i | | | | 5 |
3 | | -9i | 18 | 27 | |
| 7i | | | | 7 |
4 | | -2i |
24 | 34 | |
| 9i | | | | 9 |
5 | | 7i | 30 | 43 | |
|
|
Table VI (Odd Number 25)
| δ1i | ai |
b | c |
δ2 |
k | | 2k2
i - 25i | 10k |
2k2 + 25 | |
0 | | -25i | 0 | 25 | |
| 2i | | | | 2 |
1 | | -23i | 10 | 27 | |
| 6i | | | | 6 |
2 | | -17i | 20 | 33 | |
| 10i | | | | 10 |
3 | | -7i | 30 | 43 | |
| 14i | | | | 14 |
4 | | 7i | 40 | 57 | |
| 18i | | | | 18 |
5 | | 25i |
50 | 75 | |
|
Table VII (Even Number 32)
| δ1i | ai |
b | c |
δ2 |
k | | k2
i - 32i | 8k |
k2 + 32 | |
0 | | -32i | 0 | 32 | |
| i | | | | 1 |
1 | | -31i | 8 | 33 | |
| 3i | | | | 3 |
2 | | -28i | 16 |
36 | |
| 5i | | | | 5 |
3 | | -23i | 24 | 41 | |
| 7i | | | | 7 |
4 | | -16i | 32 |
48 | |
| 9i | | | | 9 |
5 | | -7i | 40 | 57 | |
Tables VIII and IX tabulate the results of integers 49 and 50, respectively.
Table VIII (Odd Number 49)
| δ1i | ai |
b | c |
δ2 |
k | | 2k2
i - 49i | 14k |
2k2 + 49 | |
0 | | -49i | 0 | 49 | |
| 2i | | | | 2 |
1 | | -47i | 14 | 51 | |
| 6i | | | | 6 |
2 | | -41i | 28 | 57 | |
| 10i | | | | 10 |
3 | | -31i | 42 | 67 | |
| 14i | | | | 14 |
4 | | -17i | 46 | 81 | |
| 18i | | | | 18 |
5 | | i | 70 | 99 | |
|
| |
Table IX (Even Number 50)
| δ1i | ai |
b | c |
δ2 |
k | | k2
i - 50i | 10k |
k2 + 50 | |
0 | | -50i | 0 | 50 | |
| i | | | | 1 |
1 | | -49i | 10 | 51 | |
| 3i | | | | 3 |
2 | | -46i |
20 | 54 | |
| 5i | | | | 5 |
3 | | -41i | 30 | 59 | |
| 7i | | | | 7 |
4 | | -34i |
40 | 66 | |
| 9i | | | | 9 |
5 | | -25i |
50 | 75 | |
|
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