TABLE OF RIGHT DIAGONALS

GENERATION OF RIGHT DIAGONALS FOR MAGIC SQUARE OF COMPLEX SQUARES (Part IA)

Picture of a square

Square of Squares Tables

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

Bremmer's square
5824621272
942113222
972822742

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 + c23b2 = 0 are generated from another set of tuples that (except for the initial set of tuples) obeys the equation a2 + b2 + c23b20.

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. This is shown using ± symbol in tables I, II, III and Δ .

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 first example is then (±i, 2, 3).

Table Ti
abc
±i11
±i23
±i1217
±i7099
±i408577
±i23783363
±i1386019601
±i80782114243

Construction of Tables of Right Diagonal Tuples

  1. The object of this exercise is to generate a table with a set of tuples that obey the rule: a2 + b2 + c23b20
    and convert these tuples into a second set of tuples that obey the rule: a2 + b2 + c23b2 = 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.
  2. 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.
  3. Table I
    ±i23
    ±i2+e3+g
  4. 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 + 2)2 + (gn + 3)2 − 3(en +2)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.
  5. This number f when added to the square of each member in the tuple (1,b,c) generates (f ±i)2 + (f + en + 2)2 + f + gn + 3)2 − 3(f + en +2)2 producing the resulting tuple in table II. This is the desired tuple obeying the rule a2 + b2 + c23b2 = 0.
  6. Table I
    ±i23
    ±i2+e3+g
    Table II
    ±i23
    ±i + f2+e + f 3+g + f
  7. This explains why when both n and f are both equal to 0 that the first row of both tables are equal.
  8. 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.
  9. 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.
  10. 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 = 2 ± 2i and f is found using equations (g), (h), and finally (i).
n
0
1
2
3
4
Table I
±i23
±i47
±i611
±i815
±i1019
f = S/d
0
4±4i
12±12i
24±24i
40±40i
Table II Unsquared
i23
4 ± 5i8 ± 4i11 ± 4i
12 ± 13i18 ± 12i23 ± 12i
24 ± 25i32 ± 24i39 ± 24i
40 ± 41i50 ± 40i59 ± 40i
Table III Squared
−149
−9 ± 40i48 ± 64i105 ± 88i
−25 ± 312i180 ± 432i385 ± 552i
−49 ± 1200i448 ± 1536i945 ± 1872i
−81 ± 3280i900 ± 4000i1881 ± 4720i
Δ
5
57 ± 24i
205 ± 120i
497 ± 336i
981 ± 720i

To obtain e, g,  f  and d the algebraic calculations are performed as follows:

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.


  1. 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 n = 1 The right diagonal tuple is (4 ± 5i, 8 ± 4i, 11 ± 4i) for A and B Unsquared. The magic sum in this case is 144 ± 192i.
  2. Note that the top + and − go together and the and the bottom − and + also go together.
  3. Magic square A Squared
    ±200i39 ∓ 96i105 ± 88i
    153 ∓ 48i48 ± 64i−57 ± 176i
    −9 ± 40i57 ± 224i96 ∓ 72i
    Magic square A Unsquared
    (10 ± 10i)239 ∓ 96i(11 ± 4i)2
    153 ∓ 48i(8 ± 4i)2(8 ± 11i)2
    (4 ± 5i)257 ± 224i96 ∓ 72i
    Magic square B Squared
    697 ± 696i−658 ∓ 760i105 ± 88i
    153 ∓ 48i48 ± 64i−640 ± 672i
    −9 ± 40i754 ± 720i−601 ∓ 736i
    Magic square B Unsquared
    (29 ± 12i)2−658 ∓ 760i(11 ± 4i)2
    153 ∓ 48i(8 ± 4i)2(28 ± 12i)2
    (4 ± 5i)2754 ± 720i96 ∓ 72i
  4. For n = 3 the right diagonal tuple is (24 ± 25i, 32 ± 24i, 39 ± 24i) for C Unsquared. To get six complex squares square roots that look similar but which are not must be used. For example, (−24 + 32i)2 as opposed to (32 + 24i)2. The pair of roots for the center cell is (32 + 24i) and (−32 − 24i). For the top left cell it is (−24 + 32i) and (24 − 32i). Also the entry in the lower right cell is the magic sum S. Likewise for magic square D. Attempts are currently under way to generate the squares without resorting to this scheme.
  5. Magic square C Squared
    −448 ∓ 1536i847 ± 4272i945 ± 1872i
    1841 ± 4944i448 ± 1536i−945 ∓ 1872i
    −49 ± 1200i49 ∓ 1200i1344 ± 4608i
    Magic square C Unsquared
    (−24 ± 32i)2847 ± 15073i(39 ± 24i)2
    1841 ± 4944i(32 ± 24i)2(−24 ± 39i)2
    (24 ± 25i)2(25 ± 24i)21344 ± 4608i
  6. For n = 4 the right diagonal tuple is (40 ± 41i, 50 ± 40i, 59 ± 40i)for D Unsquared.
  7. Magic square D Squared
    −900 ∓ 4000i1719 ± 11280i1881 ± 4720i
    3681 ± 12720i900 ± 4000i−1881 ∓ 4720i
    −81 ± 3280i81 ∓ 3280i2700 ± 12000i
    Magic square D Unsquared
    (−40 ± 50i)21719 ± 11280i(59 ± 40i)2
    3681 ± 12720i(50 ± 40i)2(−40 ± 59i)2
    (40 ± 41i)2(−41 ± 40i)22700 ± 12000i
  8. 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 IA. Go to Part IIA.
Go back to homepage.


Copyright © 2011 by Eddie N Gutierrez. E-Mail: Fiboguti89@Yahoo.com