Showing posts with label magic intersections. Show all posts
Showing posts with label magic intersections. Show all posts

Wednesday, 17 October 2012

3,036 Diagonally Magic 4th-Order Tori and 213,540 Diagonally Semi-Magic 4th-Order Tori

In traditional magic squares the sums of each row and column are equal, and in traditional pandiagonal (or in traditional panmagic) squares the sums are also equal along the different diagonals. Why not look into diagonal magic squares where all the different diagonals are magic and the rows and columns play the role of diagonals in traditional magic squares? This concept might seem quite simple, as with a 45° rotation of an odd-order magic square a diagonally magic square will be produced. However, things get more complicated with even-order squares, and at my request, Walter Trump kindly programmed his computer to determine the different types and quantities of diagonally magic 4th order tori. The results are illustrated below:

Fourth-Order Diagonal Magic Tori


DT 4.01 Diagonal Panmagic Tori Type 1
with 8 crossed horizontal and vertical magic lines producing 16 magic intersections

order-4 diagonally panmagic torus type 1
This diagonal torus type DT4.01 is the same traditional pandiagonal torus type T4.01 that has already been identified in a previous article! This panmagic torus type is an important link between the traditional magic system and the diagonally magic system that we are now exploring.

Total   : 3 diagonal panmagic tori type 1 that display 48 diagonal panmagic squares


DT 4.02 Diagonal Partially Panmagic Tori Type 2
with 4 x 2 crossed horizontal and vertical magic lines producing 8 magic intersections

order 4 diagonally partially panmagic torus type 2

Total   : 29 diagonal partially panmagic tori type 2 that display 464 diagonal partially panmagic squares


DT 4.03 Diagonal Partially Panmagic Tori Type 3
with 2 x 2 crossed horizontal and vertical magic lines producing 4 magic intersections

order 4 diagonally partially panmagic torus type 3

Total   : 698 diagonal partially panmagic tori type 3 that display 11,168 diagonal partially panmagic squares


DT 4.04 Diagonal Partially Panmagic Tori Type 4
with 4 x 1 crossed horizontal and vertical magic lines producing 4 magic intersections

order 4 diagonally partially panmagic torus type 4

Total   : 6 diagonal partially panmagic tori type 4 that display 96 diagonal partially panmagic squares


DT 4.05 Diagonal Partially Panmagic Tori Type 5
with 2 x 1 crossed horizontal and vertical magic lines producing 2 magic intersections

order 4 diagonally partially panmagic torus type 5

Total   : 332 diagonal partially panmagic tori type 5 that display 5,312 diagonal partially panmagic squares


DT 4.06 Diagonal Magic Tori Type 6
with a pair of crossed horizontal and vertical magic lines producing 1 magic intersection

order 4 diagonally magic torus type 6

 Total   : 1,968 diagonal magic tori type 6 that display 31,488 diagonal magic squares

GRAND TOTAL OF THE DIAGONAL MAGIC TORI :
3,036 FOURTH-ORDER DIAGONAL MAGIC TORI 

THAT DISPLAY 48,576 DIAGONAL MAGIC SQUARES



Observations

1/ Please note that as the three diagonal panmagic tori type DT4.01 are completely magic, they also belong to the traditional magic system, and have already been counted as pandiagonal type T4.01 in the total of the fourth-order magic tori.

2/ Unlike the 4x4 traditional magic squares, which have magic diagonals that cross at their centre, even-order diagonal magic squares cannot have centrally intersecting horizontal and vertical magic lines. This is why I have decided to describe all squares on a same torus as having the same magic value as the torus itself. A torus is more or less magic depending on the number of magic intersections that occur on its surface and the same should apply to all the squares that it displays.

3/ Semi-magic diagonal tori are considered to have all diagonals magic, but no magic intersection of horizontal and vertical magic lines occurs on their surface. The examples of semi-magic diagonal tori found by Walter Trump's computer calculations are as follows:


Fourth-Order Diagonal Semi-Magic Tori


DT 4.07 Diagonal Semi-Magic Tori Type 7
with 4 parallel horizontal or vertical magic lines producing no magic intersections

order 4 diagonally semi-magic torus type 7

Total   : 631 diagonal semi-magic tori type 7 that display 10,096 diagonal semi-magic squares


DT 4.08 Diagonal Semi-Magic Tori Type 8
with 2 parallel horizontal or vertical magic lines producing no magic intersections

order 4 diagonally semi-magic torus type 8

Total   : 18,895 diagonal semi-magic tori type 8 that display 302,320 diagonal semi-magic squares


DT 4.09 Diagonal Semi-Magic Tori Type 9
with 1 horizontal or vertical magic line producing no magic intersection

order 4 diagonally semi-magic torus type 9

Total   : 28,214 diagonal semi-magic tori type 9 that display 451,424 diagonal semi-magic squares


DT 4.10 Diagonal Semi-Magic Tori Type 10
with no horizontal or vertical magic lines

order 4 diagonally semi-magic torus type 10

Total   : 165,800 diagonal semi-magic tori type 10 that display 2,652,800 diagonal semi-magic squares


GRAND TOTAL OF THE DIAGONAL SEMI-MAGIC TORI :
213,540 FOURTH-ORDER DIAGONAL SEMI-MAGIC TORI 

THAT DISPLAY 3,416,640 DIAGONAL SEMI-MAGIC SQUARES



Walter Trump points out the special properties of many of the above diagonal magic or semi-magic tori where the sum of the two numbers at opposite corners of any displayed 3x3 subsquare is N²+1 = 17. Examples of such diagonal magic tori are illustrated below:


Fourth-Order Special Diagonal Magic Tori and Special Diagonal Semi-Magic Tori



Special DT 4.01 Diagonal Panmagic Tori Type 1
with 8 crossed horizontal and vertical magic lines producing 16 magic intersections

order 4 special diagonally panmagic torus type DT 4.01

This diagonal torus type DT4.01 is the same traditional pandiagonal torus type T4.01 that has already been identified in a previous article! This panmagic torus type is an important link between the traditional magic system and the diagonally magic system that we are now exploring.

Total   : 3 special diagonal panmagic tori type 1 that display 48 diagonal panmagic squares


Special DT 4.02 Diagonal Partially Panmagic Tori Type 2
with 4x2 crossed horizontal and vertical magic lines producing 8 magic intersections

order 4 special diagonally partially pandiagonal torus DT 4.02

Total   : 26 Special diagonal partially panmagic tori type 2 that display 416 special diagonal partially panmagic squares


Special DT 4.03 Diagonal Partially Panmagic Tori Type 3
with 2x2 crossed horizontal and vertical magic lines producing 4 magic intersections

order 4 special diagonal partially panmagic torus DT 4.03

Total   : 656 special diagonal partially panmagic tori type 3 that display 10,496 special diagonal partially panmagic squares


Special DT 4.07 Diagonal Semi-Magic Tori Type 7
with 4 parallel horizontal or vertical magic lines producing no magic intersections
order 4 special diagonal semi-magic torus type DT 4.07

Total   : 400 special diagonal semi-magic tori type 7 that display 6,400 special diagonal semi-magic squares


Special DT 4.08 Diagonal Semi-Magic Tori Type 8
with 2 parallel horizontal or vertical magic lines producing no magic intersections
order 4 special diagonal semi-magic torus type DT 4.08

Total   : 14,502 special diagonal semi-magic tori type 8 that display 232,032 special diagonal semi-magic squares


Special DT 4.10 Diagonal Semi-Magic Tori Type 10
with no horizontal or vertical magic lines

order 4 special diagonal semi-magic torus type DT 4.10

Total   : 65,053 special diagonal semi-magic tori type 10 that display  1,040,848 special diagonal semi-magic squares


GRAND TOTAL OF THE SPECIAL DIAGONAL MAGIC TORI AND SPECIAL DIAGONAL SEMI-MAGIC TORI :
80,640



The total number of special diagonal tori (magic and semi-magic) is 80,640 (if we include the 3 pandiagonal tori that are already counted as pandiagonal type T4.01 in the total of the fourth-order magic tori).
Walter Trump points out that :
N(4) = 8! x 2
N(4) = (8 x 7 x 6 x 5 x 4 x 3 x 2 x 1) x 2
N(4) = 80 640
Follow it subscription button
Read more ...

Monday, 15 October 2012

Sixth and Higher-Order Magic Tori

Walter Trump has kindly authorised me to publish his results concerning 6th and higher-order magic tori. When studying the fourth-order magic tori it had been anticipated that there might be some semi-magic tori with crossed magic diagonals producing no magic intersections (and thus displaying no magic squares). However, after computer calculation, the 4th-order semi-magic tori were all found to have either parallel magic diagonals or no magic diagonals at all. So, it was quite interesting to discover that cases of semi-magic squares with crossed magic diagonals do exist in 6th-order tori, as shown in the following example:

order-6 semi-magic torus with crossed magic diagonals_high
order-6 semi-magic torus with crossed magic diagonals_low

Until now, for even-order magic tori, I have always considered an intersection of magic diagonals to be a magic intersection when it could coincide with the centre of a magic square. In the case of even-order tori, magic intersections therefore take place between numbers, and never over numbers. However, on even-order magic tori, an intersection of magic diagonals that occurs over numbers is not to be overlooked. It may be sterile as far as magic squares are concerned, but it may also be just as significant as a classic magic intersection. 

It should be remembered that semi-magic squares can have close magic square cousins on a same torus (as on the partially pandiagonal 4th-order tori type T4.03). The fact that certain squares displayed on these tori appear to be just semi-magic is a false impression. Like their magic square cousins they only offer partial views of the magic tori that they belong to.

The torus concept opens new perspectives for semi-magic squares which until today tended to be neglected. Semi-magic squares are now to be recognised as being as important as their magic square cousins. In the table that follows Walter Trump counts all tori with crossed diagonals as being magic tori, even if some of these do not display traditional magic squares. The cases of tori having only "sterile" intersections of crossed magic diagonals begins with 6th and higher-order tori. The number of magic tori that has already been identified for 3rd, 4th and 5th-orders therefore remains unchanged:

table of numbers of magic squares and magic tori from orders 3 to 10
 The numbers are written in Excel form. 3,59E+34 means 3,59 x 1034

There is an ongoing debate as to the validity of the order 1 magic square, and Walter Trump has chosen to exclude the order 1 from the above table. Depending on individual preference, the magic square sequence A006052 of the On-Line Encyclopedia of Integer Sequences (1, 0, 1, 880, 275305224... with offset 1), could also be presented as 1, 880, 275305224 ... with offset 3.
Follow it subscription button
Read more ...

Friday, 28 September 2012

251,449,712 Fifth-Order Magic Tori

After finding the number of 3rd and 4th-order magic tori it was tempting to look further and Walter Trump kindly offered his computing skills to determine the number of the 5th-order magic tori.

Please note that the squares used to illustrate the magic tori are not necessarily "magic," except for the pandiagonal examples, as partially pandiagonal and basic magic tori display not only magic squares but also "semi-magic" cousins. To see the magic squares you sometimes need to move the viewpoint round the torus until a magic intersection of magic diagonals coincides with the centre of the grid, as explained in a previous article "From the Magic Square to the Magic Torus." With odd-order tori a magic intersection of magic diagonals occurs over a number and not over a space between numbers.

Provisionally, the different types of fifth-order tori are listed in descending magic order (taking into account the number of magic squares per torus). The results of Walter Trump's computing are thus as follows:


T 5.01 Pandiagonal or Panmagic Tori Type 1
with 10 crossed magic diagonals producing 25 magic intersections

Order-5 pandiagonal magic torus type 1
Total   : 144 pandiagonal or panmagic tori type 1 that display 3,600 pandiagonal or panmagic squares


T 5.02 Partially Pandiagonal Tori Type 2
with 5 magic diagonals crossed by 3 other magic diagonals producing 15 magic intersections

order 5 partially pandiagonal magic torus type 2

Total   : 402 partially pandiagonal tori type 2 that display 6,030 partially pandiagonal squares and 4,020 semi-magic squares


T 5.03 Partially Pandiagonal Tori Type 3
with 5 magic diagonals crossed by 2 other magic diagonals producing 10 magic intersections

order 5 partially pandiagonal magic torus type 3

Total   : 136 partially pandiagonal tori type 3 that display 1,360 partially pandiagonal squares and 2,040 semi-magic squares


T 5.04 Partially Pandiagonal Tori Type 4
with 3 magic diagonals crossed by 3 other magic diagonals producing 9 magic intersections

order 5 partially pandiagonal magic torus type 4

Total   : 2,856 partially pandiagonal tori type 4 that display 25,704 partially pandiagonal squares and 45,696 semi-magic squares


T 5.05 Partially Pandiagonal Tori Type 5
with 3 magic diagonals crossed by 2 other magic diagonals producing 6 magic intersections

order 5 partially pandiagonal magic torus type 5

Total   : 21,348 partially pandiagonal tori type 5 that display 128,088 partially pandiagonal squares and 405,612 semi-magic squares


T 5.06 Partially Pandiagonal Tori Type 6
with 5 magic diagonals crossed by 1 other magic diagonal producing 5 magic intersections

order 5 partially pandiagonal magic torus type 6

Total   : 14,038 partially pandiagonal tori type 6 that display 70,190 partially pandiagonal squares and 280,760 semi-magic squares


T 5.07 Partially Pandiagonal Tori Type 7
with 2 magic diagonals crossed by 2 other magic diagonals producing 4 magic intersections

order 5 partially pandiagonal magic torus type 7

Total   : 518,536 partially pandiagonal tori type 7 that display 2,074,144 partially pandiagonal squares and 10,889,256 semi-magic squares


T 5.08 Partially Pandiagonal Tori Type 8
with 3 magic diagonals crossed by 1 other magic diagonal producing 3 magic intersections

order 5 partially pandiagonal magic torus type 8

Total   : 523,036 partially pandiagonal tori type 8 that display 1,569,108 partially pandiagonal squares and 11,506,792 semi-magic squares


T 5.09 Partially Pandiagonal Tori Type 9
with 2 magic diagonals crossed by 1 other magic diagonal producing 2 magic intersections

order 5 partially pandiagonal magic torus type 9

Total   : 21,057,784 partially pandiagonal tori type 9 that display 42,115,568 partially pandiagonal squares and 484,329,032 semi-magic squares


T 5.10 Basic Magic Tori Type 10
with 2 crossed magic diagonals producing 1 magic intersection (over a number) and one non-magic intersection (between numbers)

order 5 basic magic torus type 10

Total   : 229,311,432 basic magic tori type 10 that display 229,311,432 basic magic squares and 5,503,474,368 semi-magic squares


GRAND TOTALS OF THE MAGIC TORI :
251,449,712 FIFTH-ORDER MAGIC TORI THAT DISPLAY 275,305,224 MAGIC SQUARES AND 6,010,937,576 SEMI-MAGIC SQUARES



T 5.11 Semi-Magic Tori Type 11
with 5 parallel magic diagonals producing no magic intersections

order 5 semi-magic torus type 11

Total   : 64,108 semi-magic tori type 11 that display 1,602,700 semi-magic squares


T 5.12 Semi-Magic Tori Type 12
with 3 parallel magic diagonals producing no magic intersections


order 5 semi-magic torus type 12

Total   : 3,823,164 semi-magic tori type 12 that display 95,579,100 semi-magic squares


T 5.13 Semi-Magic Tori Type 13
with 2 parallel magic diagonals producing no magic intersections


order 5 semi-magic torus type 13

Total   : 187,679,364 semi-magic tori type 13 that display 4,691,984,100 semi-magic squares


T 5.14 Semi-Magic Tori Type 14
with 1 magic diagonal producing no magic intersection


order 5 semi-magic torus type 14

Total   : 4,138,786,720 semi-magic tori type 14 that display 103,469,668,000 semi-magic squares


T 5.15 Semi-Magic Tori Type 15
with no magic diagonals


order 5 semi-magic torus type 15

Total   : 18,579,918,980 semi-magic tori type 15 that display 464,497,974,500 semi-magic squares


GRAND TOTALS OF THE SEMI-MAGIC TORI :
22,910,272,336 FIFTH-ORDER SEMI-MAGIC TORI THAT DISPLAY
572,756,808,400 SEMI-MAGIC SQUARES

ALL TOGETHER:
23,161,722,048 FIFTH-ORDER MAGIC AND SEMI-MAGIC TORI THAT DISPLAY 275,305,224 MAGIC SQUARES
AND 6,010,937,576 + 572,756,808,400 = 578,767,745,976 SEMI-MAGIC SQUARES


THE TOTAL NUMBER OF FIFTH-ORDER MAGIC AND SEMI-MAGIC SQUARES IS
579,043,051,200



CONCLUSIONS:


The study reveals the existence of 251,449,712 fifth-order magic tori and 22,910,272,336 fifth-order semi-magic tori.

The overall total of the fifth-order magic and semi-magic tori is 23,161,722,048 which is equal to the number of fifth-order magic and semi-magic squares (see Walter Trump's previous enumeration) divided by 25, (5² being the number of squares per torus for 5th-order tori).

251,449,712 is now the fifth number of the sequence A270876 "Number of magic tori of order n composed of the numbers from 1 to n^2," published by the On-Line Encyclopedia of Integer Sequences (OEIS).

23,161,722,048 (251,449,712 + 22,910,272,336) is now the fifth number of the sequence A271104 "Number of magic and semi-magic tori of order n composed of the numbers from 1 to n^2," published by the On-Line Encyclopedia of Integer Sequences (OEIS).

Follow it subscription button
Read more ...