TABLE OF RIGHT DIAGONALS
GENERATION OF RIGHT DIAGONALS FOR MAGIC SQUARE OF COMPLEX SQUARES (Part IIIA)
Square of Squares Tables
Andrew Bremner's article on squares of squares included the 3x3 square:
Bremmer's square
| 582 | 462 | 1272 |
| 942 | 1132 | 22 |
| 972 | 822 | 742 |
The numbers in the right diagonal as the tuple (972,1132,1272) appears to have come out of the blue. But I will show that
this sequence is part of a larger set of tuples having the same property, i.e. the first number in the tuple when added to a
difference (Δ) gives the second square in the tuple and when this same (Δ)
is added to the second square produces a third square. All these tuple sequences can be used as entries into the right diagonal of a magic square.
It was shown previously that these numbers are a part of a sequence of squares and this page is a continuation of that effort.
I will show from scratch, (i.e. from first principles) that these tuples
(a2,b2,c2)
whose sum a2 + b2 +
c2 − 3b2 = 0
are generated from another set of tuples that (except for the initial set of tuples) obeys the equation
a2 + b2 +
c2 − 3b2 ≠ 0.
Generation of Diagonal Tuple Sets
As was shown in the web page Generation of Right Diagonals, the first seven tuples of
complex squares, i.e., those with real and imaginary coefficients are generated using the formula
c2
= 2b2 + 1 and placed into table Ti below. The first number in each tuple
of all a start with either +i or −i which employ imaginary numbers as the initial entry in the diagonal.
The desired c2 is calculated by searching all b numbers
between 1 and 100,000. However, it was found that the ratio of bn+1/bn or cn+1/cn converges
on (1 + √2)2 as the b's or c's get larger. This means that moving down each row on the table
each integer value takes on the previous bn or cn multiplied by
(1 + √2)2, i.e.,
5.8284271247...
The initial simple tuple (±i,1,1) is the only tuple stands on its own. Our third example is then (±i, 70, 99).
Table Ti
| a | b | c |
| ±i | 1 | 1 |
| ±i | 2 | 3 |
| ±i | 12 | 17 |
| ±i | 70 | 99 |
| ±i | 408 | 577 |
| ±i | 2378 | 3363 |
| ±i | 13860 | 19601 |
| ±i | 80782 | 114243 |
Construction of Tables of Right Diagonal Tuples
- The object of this exercise is to generate a table with a set of tuples that obey the rule:
a2 + b2 +
c2 − 3b2 ≠ 0
and convert these tuples into a second set of tuples that obey the rule:
a2 + b2 +
c2 − 3b2 = 0. The initial row, however,
of table I is identical to the first row of table II. On the other hand, there are other examples where this is not true.
- To accomplish this we set a condition. We need to know two numbers e and
g where
g = 2e and which when added to the second and third numbers,
respectively, in the tuple of table I produce the two numbers in the next row of table I. Every first number, however, remains an i.
Table I
| ±i | 70 | 99 |
| ±i | 70+e | 99+g |
- These numbers, e and g are not initially known but a mathematical method will be shown below
on how to obtain them. Having these numbers on hand we can then substitute them into the tuple
equation (±i)2 + (en + 70)2 +
(gn + 99)2
− 3(en +70)2 along with n (the order), the terms squared
and summed to obtain a value
S which when divided by a divisor
d produces a number f.
- This number f when added to the square of
each member in the tuple (1,b,c) generates
(f ±i)2 +
(f + en
+ 70)2 + f + gn + 99)2
− 3(f + en +70)2
producing the resulting tuple in table II. This is the desired tuple obeying the rule
a2 + b2 +
c2 − 3b2 = 0.
Table I
| ±i | 70 | 99 |
| ±i | 70+e | 99+g |
|
| ⇒ |
Table II
| ±i | 70 | 99 |
| ±i + f | 70+e +
f |
99+g + f |
|
|
- This explains why when both n and f are both equal to 0
that the first row of both tables are equal.
- Two Tables II and III are set up. The first takes the values in Table I adds the requisite value from table f to generate
Table II. These complex numbers are then squared to generate Table III, which gives the diagonals to be used per magic square.
- The Δs are calculated, by subtracting column 2 from column 3 in Table III Squared and the results placed in
the last column. For example adding 57 + 24i to −9 + 40i gives 48 + 64i and adding 57 + 24i to that value gives
105 + 88i.
- The final tables produced after the algebra is performed are shown below. The divisor d is easily obtained using the
algebraic equations below. The value for d = 82 ± 2i and f
is found using equations (g), (h) and finally
(i).
|
|
Table I
| ±i | 70 | 99 |
| ±i | 128 | 215 |
| ±i | 186 | 331 |
| ±i | 244 | 447 |
| ±i | 302 | 563 |
|
|
f = S/d
| 0 |
| 164±4i |
| 492±12i |
| 984±24i |
| 1640±40i |
|
Table II Unsquared
| i | 70 | 99 |
| 164 ± 5i | 292 ± 4i | 379 ± 4i |
| 492 ± 13i | 678 ± 12i | 823 ± 12i |
| 984 ± 25i | 1228 ± 24i | 1431 ± 24i |
| 1640 ± 41i | 1942 ± 40i | 2203 ± 40i |
|
|
Table III Squared
| −1 | 4900 | 9801 |
| 26871 ± 1640i | 85248 ± 2336i | 143625 ± 3032i |
| 241895 ± 12792i | 459540 ± 16272i | 677185 ± 19752i |
| 967631 ± 49200i | 1507408 ± 58944i | 2047185 ± 68688i |
| 2687919 ± 134480i | 37697644 ± 155360i | 4851609 ± 176240i |
|
|
Δ
| 4901 |
| 58377 ± 696i |
| 217645 ± 3480i |
| 539777 ± 9744i
|
| 1081845 ± 20880i
|
|
To obtain e, g, f
and d the algebraic calculations are performed as follows:
- The condition we set is g = 2e
- Generate the equation: ((±i2) + (en + 70)2
+ (gn + 99)2
− 3(en +70)2 (a)
- Add f to the numbers in the previous equation:
(f + ±i)2 +
(f + en + 70)2 +
(f + gn + 99)2
− 3(f + en +70)2
(b)
- Expand the equation in order to combine and eliminate terms:
(f2 ± 2if − 1) +
(f2 + 2enf +
58377
140f + e2n2 +
140en + 4900)
+ (f2 + 2gnf +
198f + g2n2
+ 198gn + 9801) +
(−3f2 − 6en
f −
420f − 3e2n2
− 420en − 14700) = 0 (c)
-
(±2i − 82)f + (2gnf −
4enf)
+ (g2n2
−2e2n2) + (198gn
− 280en) = 0 (d)
- Move f to the other side of the equation and
since g = 2e then
(82 ± 2i)f = (4e2n2
−2e2n2) +
(396en − 280en) (e)
(82 ± 2i)f = 2e2n2 +
116en (f)
- At this point the divisor d is equal to the coefficent of f,
i.e. d = 82 ± 2i.
For 82 ± 2i to divide the right side of
the equation we find the lowest value of e and g
which would satisfy the equation.
To obtain e and g we must first multiply by the factor
(82 ∓ 2i) ⁄ (82 ∓ 2i) which gives (g) followed by
(h).
And where the + of the first factor in the denominator is multiplied
by the − of the second factor in the denominator and vice versa.
- f = 2e2n2 +
4en ⁄ 82 ± 2i) × (82 ∓ 2i) ⁄ (82 ∓ 2i)
(g)
f = [(2e2n2 +
4en) × (82 ± 2i)] ⁄ 8 (h)
- At this point setting e = 58 and therefore, g = 116 affords
f = (n2 + n)(82 ± 2i)
(i)
- Therefore substituting these values for e, f
and g into the requisite two equations affords:
for Table I: (i2 + (58n + 2)2
+ (116n + 3)2
− 3(58n + 2)2 (i)
for Tables II and III: [(n2 + n)(82 + 2i) + i]2 +
[(n2 + n)(82 ± 2i) + 58n + 70]2 +
[(n2 + n)(82 ± 2i) + 116n + 99]2
− 3[(n2 + n)(82 ± 2i) + 58n + 70]2
(j)
Thus the values of the rows in both tables can be obtain by using a little arithmetic as was shown above or we can employ the two mathematical equations to generate
each row. The advantage of using this latter method is that any n can be used. With the former method one calculation
after another must be performed until the requisite n is desired.
- The following complex magic squares are exhibited first in square format and in square root format where both forms are equivalent. Only five complex squares with
integer values for both the real and imaginary part were
found for each of the squares looked at. For Square A (n = 1) the right diagonal tuple is
(164 ± 5i, 292 ± 4i, 379 ± 4i) while for Square B
(n = 2) the right
diagonal tuple is (492 ± 13i, 678 ± 12i, 823 ± 12i)
Unsquared. The magic sums in this case are 255744 ± 7008i and 1378620 ± 48816i, respectively.
- Note that the top + and − go together and the and the bottom − and + also go together.
Magic square A Squared
| 146784 ± 119720i | −34665 ∓ 115744i | 143625 ± 3032i |
| 82089 ∓ 114352i | 85248 ± 2336i | 88407 ± 119024i |
| 26871 ± 1640i | 205161 ± 120416i | 23712 ∓ 115048i |
|
≡ |
Magic square A Unsquared
| (410 ± 146i)2 | 70263 ± 14832i | (379 ± 4i)2 |
| 102113 ± 18192i | (292 ± 4i)2 | (344 ± 173i)2 |
| (164 ± 5i)2 | 16785 ± 5328i | 86188 ± 16512i |
|
Magic square B Squared
| 269620 ± 1243248i | 431875 ∓1214184i | 677185 ± 19752i |
| 867105 ∓ 1207224i) | 459540 ± 16272i | 51975 ± 1239768i |
| 241895 ± 12792i | 487265 ± 1246728i | 649460 ∓ 1210704i |
|
≡ |
Magic square B Unsquared
| (878 ± 708i)2 | 431875 ∓1214184i | (823 ± 12i)2 |
| 867105 ∓ 1207224i | (678 ± 12i)2 | (804 ± 771i)2 |
| (492 ± 13i)2 | 487265 ± 1246728i | 649460 ∓ 1210704i |
|
- We can get six complex squares from n = 2 by using squares that look similar but which are not.
For example, (492 + 13i)2 and (−13 + 492i)2 are different numbers.
Magic square C Squared
| −459540 ∓ 16272i | 1160975 ± 45336i | 677185 ± 19752i |
| 1596265 ± 52296i) | 459540 ± 16272i | −677185 ∓ 19752i |
| 241895 ± 12792i | −241895 ∓ 12792i | 1378620 ∓ 48816i |
|
≡ |
Magic square C Unsquared
| (−12 ± 678i)2 | 1160975 ± 45336i | (823 ± 12i)2 |
| 1596265 ± 52296i | (678 ± 12i)2 | (−12 ∓ 823i)2 |
| (492 ± 13i)2 | (−13 ± 492i)2 | 1378620 ∓ 48816i |
|
- The following equations were used for calculating squares and square roots:
Multiplication = (a + bi) × (a + bi) = a2 − b2 + 2abi
Division = (a + bi) / (a + bi)
Square root of (a + bi) :
r = sqrt(a2 + b2)
r1 = x + y
r2 = −x − y
where,
y = sqrt((r − a) / 2) and
x = b / 2y
This concludes Part IIIA.
Go back to homepage.
Copyright © 2011 by Eddie N Gutierrez. E-Mail: Fiboguti89@Yahoo.com