Wednesday 25 September 2024

Magic Box Cubes, Rubik's Cubes and Twisty Puzzles

This sketch is of a Magic Box Cube of order 3, which is displayed on a white Twisty Puzzle, with its magic lines lit up.

Today, when searching on Internet for "magic cubes", we will most likely be directed towards sites about "Rubik's Cubes". This state of affairs results from a certain indifference for the mathematics, which though essential for the creation of that puzzle, was rapidly forgotten during the recreations! Despite the improbability of an equal interest for the mathematics as there is for the game, how can we reduce the "Like" gap between the two, and boost the rating of the mathematical magic cubes?

It is hardly a coincidence that, a year after his 1974 invention, Ernő Rubik then filed for a Hungarian patent of a “Bűvös kocka,” or "Magic Cube." The patent was granted in 1977, but when Ideal Toy Company bought exclusive rights in 1979, they decided, for trademark protection reasons, to opt for the name "Rubik's Cube." Perhaps this year 2024, which marks the 50th anniversary of the puzzle, will kindle new interest in the "Magic Cube" that Rubik was thinking about.

History of Magic Cubes

The earliest-known magic cube is an order 4 example, that was first sent by Pierre de Fermat to Marin Mersenne on the 1st April 1640, before being published by Édouard Lucas in his 1895 book entitled "L'Arithmétique Amusante." Also, back in 1833, Ferdinand Julius Brede, alias "de Fibre", was the first to publish a perfect magic cube, which was of order 7, in the volume 3, issues n° 4 and following, of "Iduna", a discrete German magazine, which Google has translated as being "for youth of both sexes, with instructive, amusing and spiritually stimulating content". Perhaps it was because the cube was published in weekly instalments, and via such an unusual media, that Brede's achievement seems to have either passed unnoticed, or been completely forgotten by mathematicians. In fact, it has only recently been unearthed by Holger Becker and Walter Trump, who have reannounced it in their 2024 paper, "New Discoveries in the History of Magic Cubes."

Martin Gardner has retraced more history of magic cubes, in chapter seventeen of his book, published in 1988, and entitled "Time Travel and Other Mathematical Bewilderments." There have been new developments since, and these are discussed by authors such as: Christian Boyer in his page "Perfect Magic Cubes" from Multimagic Squares; Dwane H. Campbell in his page "Magic Cubes" from Magic TesseractHarvey D. Heinz in his page "Magic Cubes - Introduction" from  Magic Stars & Other Patterns; Walter Trump, in his page "Perfect Magic Cubes" from Notes on Magic Squares and Cubes; and Aale de Winkel in his page "The Magic Encyclopedia DataBase" from The Magic Encyclopedia. Please note that this list is inevitably incomplete, and that there are many other authors who have contributed important studies of the subject in question.

Incompatibilities of Magic Cubes with Rubik's Cubes or with other Twisty Puzzles, and a Possible Resolution?

The main thing to notice about magic cubes of order n is that, when physically constructed in 3D, they are "solid" n x n x n arrays of blocks, or cubelets, which are normally numbered from 1 to . In consequence, traditional magic cubes like this are incompatible with Rubik's Cubes and other twisty puzzles, as these have central mechanisms, and can only accommodate the outer cubelets.

The purpose of the present article is therefore to propose "hollow" magic box cubes that will be coherent with Rubik's Cubes and other twisty puzzles, such as, ( for example), the V-cube, invented by Panagiotis Verdes.

Comparison of the Properties of Magic Cubes and Magic Box Cubes

At this point, it is useful to compare the properties of traditional magic cubes with those of the proposed magic box cubes:

The Quantity Q of the entry blocks, or cubelets, per order n:

For Magic Cubes,         Q =
For Magic Box Cubes,  Q = 6n² - 12n + 8

The Total Tn of consecutive entries from 1 to Q:

For Magic Cubes,         T = (( + 1)) / 2
For Magic Box Cubes,  T = (3n² - 6n + 4) (6n² - 12n + 9)

The Magic Constant C (for all orthogonal lines, and in some cases for diagonal lines):

For Magic Cubes,         C = (n ( + 1)) / 2
For Magic Box Cubes,  C = (n (6n² - 12n + 9)) / 2 

Fuller details, together with lists of the data per order, are given in "Properties of Magic Box Cubes", enclosed below:



Comparison of the Definitions of Magic Cubes and Magic Box Cubes

According to Martin Gardner's above-mentioned book, a "perfect magic cube" is a cubic array of positive integers from 1 to  such that every straight line of n cells adds up to a constant. These lines include all of the orthogonals (the lines that are parallel with an edge), the two main diagonals of every orthogonal cross section, and the four space diagonals (also called triagonals). We notice that the magic diagonals of the faces are not mentioned. The definitions of traditional magic cubes have since been relaxed to include a "semiperfect magic cube" where only the orthogonals and the space diagonals are obligatorily magic, thus admitting the existence of magic cubes in lower orders (when n = 3 or 4).

We have already seen in "Properties of Magic Box Cubes" that "normal" versions of these do not exist in order 3, or in other odd orders for that matter. We are also aware of the proof, given by Richard Schroeppel, of the non-existence of any traditional perfect magic cubes of order 4, that was published in February 1972 in "Artificial Intelligence Memo 239," (in HAKMEM Item 50, of the Massachusetts Institute of Technology). However, Schroeppel's proof, which takes into account oblique magic squares, cannot be generalised for magic box cubes.

The proposed magic box cubes, which can only exist in even orders, have neither orthogonal magic cross sections, nor space diagonals (otherwise called triagonals). The closest equivalent of a "perfect magic cube", of even order n, is therefore, for box cubes, a pandiagonal cubic array of positive integers from 1 to ( - (n - 2)³) such that every straight line of n cells adds up to a constant. These lines include all of the orthogonals (the lines that are parallel with an edge), and also the main and broken diagonals of each of the six faces. Pandiagonal magic box cubes remain to be found in order 4, and might only be possible from order 8 upwards; as although non-normal pandiagonal squares exist in order 6, it will be difficult to find any that can satisfy the constraints.

In all even orders n > 2, it will always be easier to either construct a non-pandiagonal, but "diagonally magic box cube", where each of the 6 faces displays magic squares; or build an "orthogonally magic box cube," with < 6 magic square faces. Similarly to "normal" magic cubes, which cannot display "normal" magic squares or "normal" semi-magic squares, the same applies to "normal" magic magic box cubes. This is because, on normal magic cubes or box cubes, their magic or semi-magic squares can never be entirely constituted of consecutive numbers.

Higher degrees of perfection can be reached, if the magic box cubes are associated (centrosymmetric), or if they possess other special qualities (such as the bordered diagonal magic cube of order 16, which was found by Mitsutoshi Nakamura in 2004). All of these definitions can yet evolve, depending on future findings.

Magic Box Cubes of Order 3


A Magic Box Cube of Order 3, that is Orthogonally Magic but "Non-Normal"

Although "normal" magic box cubes, with consecutive numbers, cannot exist in odd orders, the study would be incomplete without a proposition for the original 3x3x3 Rubik's Cube!

The example below is inspired by a traditional magic cube, first discussed by William Symes Andrews, in his paper "Magic Cubes", that was published in The Monist, Vol. 16, No. 3 (July, 1906), pp. 388-414. Illustrated in fig. 10 of Andrews's essay, it is one of four possible solutions for a magic cube of order 3, and the example chosen by John R. Hendricks for his paper entitled "The Five and Six Dimensional Magic Hypercubes of Order 3 (received February 1, 1962)", published by the Canadian Mathematical Bulletin in 1962. As these magic cubes were first published before the 1st January, 1929, they have since made their way into the public domain.

This sketch of a Magic Box Cube of order 3, with a magic constant of 42, shows even and odd number blocks respectively coloured yellow and green.
A Perspective Sketch of a Magic Box Cube of Order 3 - Version 1/4

The traditional magic cube of order 3 has 27 consecutive numbers 1 to 27, and a magic constant of 42. In each of the four versions found by Andrews, the number 14 is at the centre. With 14 in this central position, all of the internal orthogonals and cross-section diagonals also have the magic constant of 42. In the illustration above, the non-normal magic box cube of order 3 has 26 cubelets that are consecutively numbered from 1 to 13, and from 15 to 27. But as the magic constant of 42 remains unchanged, the number 14 has invisibly disappeared: It's magic!

The layer plans and elevations of this Magic Box Cube of order 3 show a magic constant of 42 and an interesting pattern of even and odd numbers.
Plans and elevations of a Magic Box Cube of order 3 - Version 1/4

The yellow and green coloured net diagram, of this Magic Box Cube of order 3, shows a magic constant of 42 and a cubic pattern of evens and odds.
Net Diagram 1 of a Magic Box Cube of order 3 - Version 1/4

Please note that although the net diagram 1 has the advantage of highlighting the cubic patterns of the evens and odds, it would be advisable to use the net diagram 2 when constructing a 3D model of the magic box cube: The second net diagram will allow for better-aligned numbers.

In order to build a model of this orthogonally Magic Box Cube of order 3, the cross-shaped net diagram is probably optimal for well-aligned numbers.
Net Diagram 2 of a Magic Box Cube of order 3 - Version 1/4

Compatibility of Magic Box Cubes of Order 3 with the Rubik's Cube and other Twisty Puzzles

The archetypal Rubik's Cube 3x3x3 was invented in 1974 by Ernő Rubik, and originally called "Magic Cube." But following the purchase of the exclusive rights by Ideal Toy Company in 1979, and for trademark protection reasons, the puzzle was then renamed after its creator. Subsequently to its resale in 2021, the Rubik's brand, formed around the Rubik's Cube and other puzzles, now belongs to a Canadian company, Spin master. Since it's creation, the famous cube has inspired many variations, which have, more often than not, been designed and patented by others.

The Rubik's Cube 3x3x3 has 43,252, 003,274,489,856,000 possible permutations, which makes it very challenging. Thanks to the efforts of Thomas Rokiki, Herbert Kociemba, Morley Davidson, and John Dethridge, who used a Google donation of about 35 CPU-years of calculations, God's Number, which is the smallest number of moves needed to solve the puzzle from any starting position, has since July 2010, been determined to be 20. One of the most famous scrambled positions that require exactly 20 moves to solve the puzzle, is now called the Super Flip. The entire research, described in a paper entitled "The Diameter of the Rubik's Cube Group is Twenty," is published by the SIAM Society for Industrial and Applied Mathematics in its Journal on Discrete Mathematics, Vol. 27, No. 2 (2013), pp. 1082-1105.

Each of the four non-normal magic box cubes of order 3 is compatible with the Rubik's Cube 3x3x3, but concerning the cubelets of the latter, we know that corners will always be corners; edges will always be edges; and fixed faces will always be fixed faces. Therefore, because each of the four versions of the magic box cube of order 3 would require different numbers to be allocated to the key pieces, there is a dilemma, as it would be impossible to migrate from one solved state to another - even by disassembly. It will be necessary to choose, and the version 1, with its number 1 on a corner cubelet, was the candidate selected above. On the other hand, it would be nice to have a full set of the four puzzles, and play, either alternatively with each, or simultaneously with all!  So here are the "Four Essentially Different, Non-Normal Magic Box Cubes of Order 3", in case you would like to compare them and make your own choice:

The objective of a magic box cube puzzle of order 3 would simply be to return it to its solved state after scrambling. The colour scheme of the magic box cube is indicative, and the general question of colours is discussed separately at the end of this study.

Other Possibilities with Non-Normal Magic Box Cubes of Order 3

Unless we adopt other "non-normal" magic box cubes, with different numbering constraints, that might include prime-numbered examples, there are no other solutions in order 3. In 1977, Akio Suzuki, (who, according to Mutsumi Suzuki, replying to a question from Carlos Rivera was "an amateur (not mathematicain [sic] but an owner of now old book shop)"), found a minimally-sized associative magic cube of prime numbers of order 3. Traditionally constructed, with the central core that does not exist in magic box cubes, Suzuki's prime-numbered order 3 cube has a magic constant of 3309. Harvey Denis Heinz wrote in his page entitled "Prime Number Magic Cubes", that after a computer search in 2003, Allan Wm. Johnston, Jr. confirmed that the cube had "the smallest possible sum for an order 3 prime magic cube using distinct digits." Although Akio Suzuki's prime magic cube is not illustrated here, it should nevertheless inspire the creation of magic box cubes of primes; and if possible, examples without the central number!

Magic Box Cubes of Order 4


A Magic Box Cube of Order 4, which is not only Diagonally Magic, but also Half Semi-Pandiagonal

In September 1979, Thomas Krijgsman found a very impressive nearly perfect magic cube of order 4, which was later published in March 1982 in an article entitled "De toverkubus van Krijgsman"  on page 109 of Pythagoras 5, Jaargang 21. At the time of writing, it is also on the Wikipedia page "Perfect Magic Cube", which can seem strange, as we already know that there are no perfect magic cubes of order 4. Traditional magic cube definitions can become blurred, depending on the evolution of classification methods, and different points of view concerning the terminology. However, each of Krijgsman's cube's 12 orthogonal planes displayed a non-normal magic square (with non-consecutive numbers), and all of the lines had magic constants of 130, except for certain broken diagonals and the 4 space diagonals (or triagonals). Then, on the 2nd January 2004, Walter Trump found a nearly perfect magic cube of order 4 which though constructed differently, with complementary pairs, was otherwise similarly magic. Shortly after this discovery, Trump's cube was published in an article by Dr. Christoph Pöppe entitled "Perfekte magische Würfel"  on pages 108-110 of the March 2004 edition of "Spectrum der Wissenschaft", the German version of Scientific American. 

By circumventing the space diagonals (or triagonals), and thus avoiding the oblique magic squares that would have otherwise been implied by the diagonals of surface-magic squares, both Krijgsman's and Trump's nearly perfect magic cubes of order 4 were liberated from the constraints of Schroeppel's proof, and were able to show non-normal surface-magic squares on each of their 6 faces. Krijgsman's and Trump's achievements are equally-inspiring, but the following magic box cube is more influenced by Trump's example, as like his, it also uses complementary pairs.

Because the magic box cube is a surface-magic volume, the adjective "diagonally magic" is preferred to "nearly perfect magic." In the following sketch of a diagonally magic box cube of order 4, each of the 6 faces displays a non-normal magic square, and 3 of these are semi-pandiagonal. All of the lines have magic constants of 114, except for certain broken diagonals.

This freehand perspective sketch of a Diagonally Magic Box Cube of order 4 shows three faces, two of which are semi-pandiagonal.
Perspective Sketch of a Diagonally Magic Box Cube of Order 4

The layer plans and elevations of this Diagonally Magic Box Cube of order 4 show a magic constant of 114 and an interesting pattern of even and odds.
Plans and elevations of a Diagonally Magic Box Cube of order 4

Traditional magic cubes of order n are often described with separate plans of each of their different layers from 1 to n. We can do the same for the proposed magic box cubes, but for these we also have the possibility of using alternative net diagrams. Please note that although a diagram like this can describe any magic box cube, care should be taken when reading it: Unlike the layer plans, where every number appears only once; on net diagrams, such as the one below, the edge numbers always appear twice, and the corner numbers thrice:

This net diagram can be folded to make a diagonally magic box cube of order 4
Net Diagram of a Diagonally Magic Box Cube of Order 4

If assembly tabs are added, this net diagram can easily be cut out and pasted, to construct a 3D model of the diagonally magic box cube. This type of net diagram is one of the best-known ways of folding the cube, but there are 11 different methods: For more information, there is a Wolfram demonstration project, contributed by Izidor Hafner and entitled "All 11 Folding Nets of the Cube."

Other Magic Box Cubes of Order 4, including Four Variants that are directly related to the Diagonally Magic solution - all Sorted by Similarly-Numbered Cubelet Types


This yellow and green coloured perspective shows the version D1.0 of a diagonally magic box cube of order 4, before it is scrambled.
Diagonally Magic Box Cube of Order 4 in its original solved state - D1.0 
  

If the diagonally magic box cube - version D1.0, shown above, is the original & solved state of a twisty puzzle, it is interesting to observe that, after scrambling, several other essentially-different diagonally magic examples can be found. Occasionally these have rotated numbers, but they nevertheless remain valid diagonally magic box cubes. Here are just four of the many cases that players can come across while making their moves:

This coloured perspective shows the version D1.1 of a diagonally magic box cube of order 4, obtained after scrambling D1.0.
Diagonally Magic Box Cube of Order 4 - D.1.1
This coloured perspective shows the version D1.2 of a diagonally magic box cube of order 4, obtained after scrambling D1.0.
Diagonally Magic Box Cube of Order 4 - D1.2

This coloured perspective shows the version D1.3 of a diagonally magic box cube of order 4, obtained after scrambling D1.0.
Diagonally Magic Box Cube of Order 4 - D1.3 
This coloured perspective shows the version D1.4 of a diagonally magic box cube of order 4, obtained after scrambling D1.0.
Diagonally Magic Box Cube of Order 4 - D1.4

To see additional details of these four variants, and for more information about other orthogonally magic box cubes, please refer to "Examples of Magic Box Cubes of Order 4 Sorted by Similarly-Numbered Cubelet Types" enclosed below:



Compatibility of Magic Box Cubes of Order 4 with the Rubik's Revenge and other Twisty Puzzles

All of the magic box cubes of order 4 are compatible with the Puzzle Cube 4x4x4, that was first released in 1981, and relies on a mechanism which was not invented by Ernő Rubik, but by Péter Sebestény. The latter subsequently sold the rights to the Rubik's Brand (then owned by Ideal Toy Company), and these have since been purchased by Spin Master. A Taiwanese manufacturer, East Sheen Industrial Co., Ltd. also fabricates "Eastsheen" 4x4x4 cubes, that have similarities to the original, but are supposedly of a higher quality, moving faster and smoother. Other manufacturers include the Chinese company ShengShou.

As with all even-order Rubik's Cubes, the central face cubelets of the Rubik's Revenge can move around and cannot be immediately used as a reference point for solving the cube. However, this added liberty of movement has the advantage of allowing players to discover other diagonally or orthogonally magic solutions, while they make their sequences of moves towards a diagonally magic solved state. 

According to "The Cubic Circular", Issues 3 & 4, published by David Singmaster in 1982,  the total number of possible permutations of a Rubik's Revenge 4³ is:
7, 401,196,841,564,901, 869,874,093,974,498, 574,336,000,000,000 = 7.4 × 10⁴⁵.

Other Non-Normal Magic Box Cubes of Order 4

Like the possibility discussed in order 3, non-normal magic box cubes of order 4 could include prime-numbered examples, which might be inspired by Natalia Makarova's minimally-sized associative magic cube. Traditionally constructed, with a central core that does not exist in magic box cubes, Makarova's prime-numbered order 4 example has a magic constant of 1260.


Magic Box Cubes of Order 6


A Magic Box Cube of Order 6, which is Diagonally Magic

The example below, was inspired by a traditional perfect magic cube of order 6, which was found by Walter Trump on the 1st September 2003. Each of Trump's cube's orthogonal planes, was a non-normal magic square (with non-consecutive numbers). All of the lines had magic constants of 651, and there were a total of 36 magic diagonals plus 4 space diagonals (also called triagonals).

Here, a diagonally-magic box cube of order 6 is represented by its 6 faces. The four intermediate layers 2 to 5 are not shown, but they can easily be deduced when observing the elevations. All of the lines have magic constants of 459, and each of the magic box cube's faces is a non-normal magic square:


These coloured magic squares are the 6 faces of a diagonally magic box cube of order 6. Evens are yellow and odds are green.
The 6 faces of a Diagonally Magic Box Cube of order 6

This net diagram can be folded to make a diagonally magic box cube of order 6.
Net Diagram of a Diagonally Magic Box Cube of Order 6, displaying 6 Magic Squares

Compatibility of Magic Box Cubes of Order 6 with Twisty Puzzles such as V-Cubes

All magic box cubes of order 6 are compatible with the Puzzle Cube 6x6x6, which relies on a mechanism that was invented by Panagiotis Verdes and patented by V-cube in 2004. Manufactured since the beginning by V-Cube, the "V-Cube 6" has lead to various adaptations that are now mass-produced by several other Chinese companies, including YongJun YJ, QiYi Toys, MoYu and ShengShou. Although it was originally inspired by the Rubik's Cube, the Puzzle Cube 6x6x6 is neither manufactured by, nor related to the Rubik's brand.

As with all even-order Rubik's Cubes and twisty puzzles, the central face cubelets can move around, thus preventing their immediate use as a reference point for solving the cube. However, as already mentioned for the order 4, this freedom of movement allows the discovery of alternative orthogonally or diagonally magic solutions, while making the sequences of moves towards a predetermined diagonally magic solved state.

According to calculations by Jaap Scherphuis, the number of positions of a 6x6x6 V-cube is:
7!𑁦24!⁶𑁦3⁶ / 4!²⁴ = 157,152,858,401, 024,063,281,013,959, 519,483,771,508,510, 790,313,968,742,344, 694,684,829,502,629, 887,168,573,442,107, 637,760,000,000,000, 000,000,000,000,000 = 1.57𑁦10¹¹⁶ positions.


Adaptations of Rubik's Cubes and other Twisty Puzzles for Magic Box Cubes


How Sudoku Cubes are Different from Magic Box Cubes

A numbered Sudoku puzzle already exists on Rubik's Cubes, and on other twisty puzzles. In 2006, the "Sudoku Cube", a variation of the Rubik's Cube, was created by Jay Horowitz, the owner of Ideal Toy Company. The product is made in China by American Classic Toy Inc., which Horowitz also founded. The U.S. patent for the Sudoku Cube, which was granted in 2010, states that either single-digit numbers are to be used, or any other type of unique indicia; and that a solved condition is one that avoids duplicates on same columns or rows, of one or more faces of the cube. In the illustrations of the patent, we notice that the corners and edges do not always display a same number. The success of the Sudoku Cube has incited competition, and other versions such as "Sudokube" have appeared. Today, Sudoko 3D games are also available on several platforms, mobile apps and desktop applications.

At the time of writing, the Speed Cube Shop proposes different versions of Sudoku Cubes 4x4x4, with 4, 8 or 16 colours; the goal being to scramble the cube and then return it to its original state. The 4 and 8 colour versions, which allow for solid-colour corners and edges, are interesting, as these could express the underlying structure of magic box cubes. However, any comparison ends there, as there are no inscriptions of the numbers from 1 to ( - (n - 2)³), which, for order 4, would imply cubelets numbered from 1 to 56. Again at the time of writing: The Cubicle proposes a Sudoku Cube 3x3 V6 (Ultra), manufactured by Calvin's Puzzle, and similar in style to the example shown above. This too, is one of a range of stickerless cubes with aesthetic solid-colour corners and edges, available in a choice of colour schemes, but once more without any numbering.

How Home-Made Stickers would be a Simple but Non-Ideal Solution

A simple way of implementing the ideas of magic box cubes on Rubik's Cubes, and on their variations, would be to affix number stickers to the faces of their cubelets. These stickers could either be home-designed and made with a custom sticker kit and a printer, or eventually, in the future, custom-ordered from a professional sticker manufacturer. However solutions like this would not be ideal, as with time, stickers can fade and peel.

Constraints of Permutations on Rubik's Cubes and other Twisty Puzzles

Wrapped around the core mechanisms, of Rubik's Cubes or of other twisty puzzles, there are 3 types of surface cubelets:

1) Firstly there are the corner cubelets which have 3 visible sides, and 3 valid orientations for each of the possible positions.

2) Secondly there are the edge cubelets which have 2 visible sides, and 2 valid orientations for each of the possible positions.

3) Thirdly there are the face cubelets which have 1 visible side, and, in even orders, are free to move to different positions. In odd orders the centremost face cubelet is always fixed to the mechanism of the cube, but for odd orders n > 3, the other-than-central face cubelets are free to move around.

It is important to note that: corners will always be corners; edges will always be edges; and faces will always be faces. These are the practical constraints on the possible permutations on a Rubik's Cube or on other twisty puzzles. However, in eventual mobile apps, desktop applications, or online simulators with head-mounted displays (HMDs), virtual reality magic box cubes could be designed to allow a choice of; either the same permutation constraints as those of the physical cubes; or an increased liberty of the rotational movements.

For readers interested by the group theory of the Rubik's Cube group, much of the available information only concerns the 3x3x3 Rubik's Cube. However, there are some studies that examine even order twisty puzzles, such as, for example, the paper "Analyzing the Rubik's Cube Group of Various Sizes and Solution Methods" by Alexander Chuang.

Implementations of Magic Box Cubes on Rubik's Cubes and on other Twisty Puzzles

We have already observed that orthogonally magic box cubes of order 3 can be adapted, and that diagonally magic box cubes of orders 4 and 6 are compatible with Rubik's Cubes and their variations. Now it is useful to determine the practicalities, in order to optimise the eventual implementations.

In standard practice, after scrambling, the solved state of a twisty puzzle is achieved when each of the cube's faces is totally covered by one of the six standard colours, (or five standard colours; white being achromatic). The magic box cube numbering could therefore simply be applied to cubes that are coloured that way; creating no further difficulty in the reassembly, but just informing the player about the magic solution. However, with such an approach there would be nothing to resolve.

The main interest of an eventual magic box cube twisty puzzle will be in its magic line construction, which should arouse the curiosity of potential players, and incite them to rise to the challenge. For orders n > 3, an added incentive would be the the possible discovery of other magic solutions, either during the players' series of moves towards a solved state, or during their numerical explorations﹘just for the fun of it. Without standard colouring to assist the orientation, players would need to rely on mental arithmetic, and mathematical logic: For example, sometimes, but not always, the cubelets are arranged by complementary pairs, and this would help the players to find solutions. However, in order 4, the magic constant of a magic box cube is already 114, and this sum continues to rise exponentially in higher orders. So although some all-white cubes have already been suggested, it would also make sense to systematically propose alternative coloured cubes which can be of use to the player. This could be with two colours, either representing the evens and the odds, or eventually representing the integers that are greater-than, or less-than-or-equal-to the mean of the highest consecutive number of even orders. The bicolour perspectives that have been proposed so far, use pastel colours. But should brighter colours be considered more ludic, a bicolour magic box cube might look more like this:

A Brighter Colour Perspective Sketch of a Magic Box Cube of Order 3 - Version 1/4

We should not forget the fact that the World Cube Association has regulations for their cubing events which state in their article 3a3, that "polyhedral puzzles must use a color scheme with one unique color per face in the solved state." This would of course disqualify any even-odd colour scheme in official competitions sanctioned by the WCA, unless the rules were to be adapted to allow for bicolour magic box cubes.

If implemented in a logical manner, palettes with more than two colours could give extra help to the players, but at the risk of distracting their attention from the numbers. However, if downloadable mobile apps, desktop applications, or online games were to be developed for magic box cubes, it would be a good idea to let the players choose their preferred colour schemes.

Each of the sketch perspectives shows either white or yellow numbers, and this is just a remainder of an earlier idea of internally-lit cubelets: Ideally, in a deluxe version of a magic box cube, either on a Rubik's Cube, or on another twisty puzzle, no colours of any sort would be necessary; but if it is technically possible, any magic line should automatically light up and any diagonal magic line should be accentuated by an extra lighting effect. This way, the players would have a continually-changing, but logical framework, allowing them to progress with confidence; at first only obtaining orthogonally magic solutions, before becoming accomplished cubers and achieving diagonal magic success. Should a physical 3D deluxe version like this be impractical; an alternative virtual 3D deluxe magic box cube, that would include the lighting effects, could be created in downloadable apps, desktop applications, or in online simulators. An added advantage of a virtual cube would be that it could allow the choice of being able to automatically redress any numbers that would have become rotated in a physical version of  the twisty puzzle.

Concerning the numbering system, we have already considered the choice of the net diagram in the order 4 example : The preferred net of the magic box cube is a priori a horizontal cross, which would allow for similarly-aligned numbers four faces horizontally, and three faces vertically (when counting the "front elevation," or intersection face, twice). A neat alternative would be a cube composed of two interlocking "U" strips of 3 faces; each strip with its own alignment of numbers. However, the preferred net diagram, with its unequal strips, might have the advantage of giving an extra clue to players for the correct orientation of the cubelets during reassembly; not forgetting of course that it should always be the numbers themselves, once understood and eventually memorised, that guide a player towards the solved state. Bearing in mind the importance of legibility, it may not be reasonable to exceed 3-digits. Condensed typeface styles can help meet the space constraints on the cubelets, but only up to a certain extent. With "normal" magic box cubes of even orders, an order n = 12, that already has 6n² - 12n + 8 = 728 cubelets, would, apart from probably being the maximum practical dimension, certainly be a huge challenge!

Can the Magic Box Concept be Extended beyond Cubes to Other Magic Polyhedra?

Magic Box is a generic term, and apart from the cubic (or cuboid) puzzles, it could also refer to those that are based on other polyhedra. The Wikipedia page, "Combination puzzle," gives an idea of the multitude of different shapes and sizes of the diverse twisty puzzles which have been invented since the Rubik's Cube.

In 2006, Joshua Bell, a member of twisty.puzzles.com, compiled a fascinating page entitled "Magic Polyhedra* Patents" which lists of most of the major U.S. and European Patents relating to magic polyhedra, as issued between 1972 and 2001.

In 2012, Dénes Ferenc, another avid enthusiast, created an excellent Ruwix Twisty Puzzle Wiki. Its contents are encyclopaedic, and include almost everything you need to know about the Rubik's Cube™ and other polyhedral twisty puzzles.

New Developments

Inspired by the present article, Inder Taneja has published two papers entitled "Magic Cubes Based on Magic Squares" and "Universal and Upside-down Magic Cubes", at first on his site, on the 9th and 10th October 2024, and then on Zenodo, on the 12th October 2024, before updating the latter with revised versions v2, on the 17th October 2024. Taneja proposes assemblies of special magic squares, such as bordered, striped, cornered, 180° rotatable, mirror looking, and upside-down versions, all in a Sudoko-Cube-like fashion.

Creative Commons

Except where otherwise noted, the ideas and contents of this article and its appendices, are licensed by the author, William Walkington, under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International licence. For details of the licence and instructions how to attribute this work, please refer to the CC BY-NC-SA 4.0 link in the adjoining sidebar. Other useful information (such as exceptions) can be found on the "Creative Commons" page, which is accessible via the header.


Read more ...

Saturday 11 May 2024

137 Plus-or-Minus Groups of Magic Tori of Order 4, Linked by Plus-and-Minus Operations

A pandiagonal magic torus and four semi-pandiagonal magic tori of order 4 are shown to be linked by plus and minus operations.

General information about the 255 magic tori of order 4, and about the 880 magic squares that those tori display, can be found in a previous article, published on the 15th June 2023, and entitled "440 Torus-Opposite Pairs of the 880 Frénicle Magic Squares of Order-4".

The 137 complete-torus, same-integer, plus-or-minus groups of magic tori of order 4 have been presented in a previous article, published on the 24th April 2024, and entitled "Plus or Minus Groups of Magic Tori of Order 4".

Further information about the magic tori can be found in the lists of references that are appended to the papers in each of the above-mentioned articles.

Searching for 2-or-more-integer plus-and-minus links between the 137 ± Groups of Magic Tori

As we are looking for connections between complete-torus, same-integer, plus-or-minus groups of magic tori, it seems logical to search for links with 2-or-more-integer plus-and-minus operations. The closest links between the tori will be those where only 4 out of the 16 numbers are changed, and these will be for example 3/4 & 1/4: (±0, ±1), or 3/4 & 1/4: (±0, ±2) etc., depending on the differences between the cell entries.

A variant of these links will be those where 12 out of the 16 numbers are changed, and these can be written, for example, as 3/4 & 1/4: (±1, ±0), or as 3/4 & 1/4: (±2, ±0) etc., depending on the differences between the cell entries. However, a change of only 1/4 of the cell entries seems less disruptive than a change of 3/4 of these, and we can therefore suppose that the previously-mentioned 3/4 & 1/4: (±0, ±1), or 3/4 & 1/4: (±0, ±2) are closer links.

Close links also include those where only 8 out of the 16 numbers are changed, and these will be, for example, 1/2 & 1/2: (±0, ±1), or 1/2 & 1/2: (±0, ±2) etc., depending on the differences between the torus cell entries.

In some cases 2-integer plus-and-minus operations cannot be found, but more-complex 3-integer links may exist, such as 1/2, 3/8 & 1/8: (±2, ±0, ±1) or 1/2, 1/4 & 1/4: (±4, ±0, ±8). 3-integer links like these are frequent between the paired complementary and self-complementary torus groups.

Sometimes even 3-integer plus-and-minus operations are unavailable, but there exist 4-integer links, such as 1/4, 1/4, 1/4, & 1/4: (±0, ±2, ±4, ±6), or 3/8, 1/4, 1/4 & 1/8: (±3, ±0, ±6, ±9), which, if not particularly close, show interesting patterns. Links like these are common within the paired complementary torus groups that are to be found in the pages that follow.

Some Precisions Concerning the Enclosed Presentation

Because of its A3 format, this enclosed PDF file can at first seem unwieldy, especially when it is displayed on small-screen mobile phones. However the large display size allows same-page illustrations of complete sets of ± groups, which can be comprised of up to 24 examples. Please bear in mind that, in order to reduce space requirements and facilitate reading, most of the 137 ± groups are represented by single magic square viewpoints of only one of their magic tori. But occasionally, a same group is represented more than once, so as to facilitate the comprehension of multiple links. To find our which other magic tori are within a ± group, please refer to the details given in the paper "Plus or Minus Groups of Magic Tori of Order 4", already mentioned above.

In order to simplify the annotation of the pages of the paper enclosed below, the links between the ± groups are written as ± operations. This is slightly ambiguous, as there must always be a same number of plusses as minuses of any particular integer. Here therefore, the ± sign in front of an integer will mean an equal number of plusses and minuses of that integer. This will become evident as soon as we compare any pair of magic square viewpoints which are connected by the links in question. For full details, please refer to the paper below.



Read more ...

Wednesday 24 April 2024

Plus or Minus Groups of Magic Tori of Order 4

This is a Complete-Torus Same-Integer Plus or Minus Operation in Order 4.

As the positive integer entries of normal magic tori, and of their displayed magic squares, are always arranged in same-sum orthogonal arrays, it would seem logical to compensate any additions or subtractions to those entries, by making corresponding subtractions or additions. How can we develop this simple observation?

Preliminary Definitions

A normal magic square is an N x N array of same-sum rows, columns and main diagonals. If the magic diagonal condition is not satisfied, the square is deemed to be semi-magic. The torus, upon which a magic or semi-magic square is displayed, can be visualised by joining the opposite edges of the magic or semi-magic square in question.

There are N x N square viewpoints on the surface of a torus of order N. A normal magic torus has N x N arrays of same-sum latitudes and longitudes, and at least one magic intersection of magic diagonals on its surface. In his paper "Conformal Tiling on a Torus" published by Bridges in 2011, John M. Sullivan shows that, on a square torus T1, 0, the diagonal grid lines “form (1, ±1) diagonals on the torus, each of which is a round (Villarceau) circle in space.”

Semi-magic tori can also have magic diagonals, but the latter can never produce the magic intersections required for magic squares, either because the magic diagonals are single or parallel, or because they do not intersect correctly. Additional information about magic and semi-magic tori, with further explanations of their diagonals, can be found in the references at the end of the enclosed paper.

In order 4, starting with any magic torus, and examining cases where half of the torus numbers are subjected to equal additions, and the other half are subjected to same-integer subtractions, we notice the following: From its initial state (which we can call 0), each magic square can be transformed by four plus or minus operations that will either produce alternative magic or semi-magic square viewpoints of the same torus, or square viewpoints of other essentially different magic or semi-magic tori. Here's a simple example of two transformations:

How basic magic tori can become partially pandiagonal by implementing a complete-torus, same-integer, plus and minus operation.
3 Magic Tori of Order 4 linked by by Complete-Torus, Same-Integer, Plus or Minus Operations

Complete-Torus, Same-Integer, Plus or Minus Groups in Order 4

Please note that, in order 4, the orthogonal totals of magic and semi-magic tori are always 34. Therefore, only the diagonal totals, which can vary, are announced here. These totals are interesting because of their symmetries, and in the example illustrated above, there are pairs of diagonals that always sum to 68 (twice the magic sum). Each of the 255 magic tori of order 4 is similarly examined, and the results are given in tables and observations at the end of the following paper: "Groups of Magic Tori of Order 4 Assembled by Complete-Torus, Same-Integer, Plus or Minus Operations"



Complete-Torus, Same-Integer, Plus or Minus Groups in Orders N > 4

The same method cannot always be applied to higher even orders. A quick look at some examples from even orders N = 6, N = 8, and N = 10 shows that certain magic tori have either no solutions whatsoever, or only one that can be used in a complete-torus same-integer plus or minus matrix to produce another orthogonally magic torus. In singly-even orders, even divisors with odd quotients have to be ruled out. Each case will need to be tested, and systematic computer checks will be necessary for these higher even orders.

An adaptation is of course required for odd orders, as their odd square totals do not have even integer divisors. But partial-torus same-integer divisions produce plus or minus solutions, and there are a variety of approaches.

The following paper, entitled "Examples of Partial Groups of Magic Tori of Orders N > 4 Assembled by Complete-Torus (or Near-Complete in Odd Orders) Same-Integer, Plus or Minus Operations" shows how the method used for order 4 gives some good results in higher orders:


New Developments

Since the 9th October 2024, in order to facilitate cross-referencing, the "List of 880 Frénicle Magic Squares of Order 4" (initially published on the 14th September 2019), has been updated with the detail of the Plus or Minus Groups of Magic Tori.

Since the 14th October 2024, in order to facilitate cross-referencing, the paper entitled "137 Plus-or-Minus Groups of Magic Tori of Order 4 listed with the details of the four squares generated by each of the 880 Frénicle magic squares" is available below:



Read more ...

Thursday 15 June 2023

440 Torus-Opposite Pairs of the 880 Frénicle Magic Squares of Order-4

Finding the torus-opposite pairs of magic squares in even-orders:

The following diagram, which illustrates the array of essentially-different square viewpoints of a basic magic torus of order-n, starting here with the 4x4 magic square that has the Frénicle index n° 1, shows how a torus-opposite magic square of order-4 can be identified:

This diagram shows how to identify a torus-opposite magic square in order-4. The method can be applied to all even-orders.
Array of 16 essentially-different square viewpoints of a basic magic torus of order-4

This basic magic torus, now designated as type n° T4.05.1.01, can be seen to display a torus-opposite pair of Frénicle-indexed magic squares n° 1-458 (with Dudeney pattern VI), as well as 7 torus-opposite pairs of semi-magic squares that the discerning reader will easily be able to spot.

The relative positions of the numbers of torus-opposite squares can be expressed by a simple plus or minus vector. There are always two equal shortest paths towards the far side of the torus: These are, in toroidal directions, east or west along the latitudes, and in poloidal directions, north or south along the longitudes of the doubly-curved 2D surface. So, if the even-order is n, then:

v  =  ( ± n/2, ± n/2 )

"Tesseract Torus" by Tilman Piesk CC-BY-4.0
 https://commons.wikimedia.org/w/index.php?curid=101975795

Torus-opposite squares are not just limited to basic magic tori, as they also exist on pandiagonal, semi-pandiagonal, partially pandiagonal, and even semi-magic tori of even-orders. Therefore, for order-4, we can either say that there are 880 magic squares, or we can announce that there are 440 torus-opposite pairs of magic squares. Similarly, the 67,808 semi-magic squares of order-4 can be expressed as 33,904 torus-opposite pairs of semi-magic squares, etc.

Why torus-opposite pairs of magic squares cannot exist in odd-orders

A torus-opposite magic square always exists in even-orders because an even-order magic square has magic diagonals that produce a first magic intersection at a centre between numbers, and another magic intersection at a second centre between numbers on the far side of the torus (at the meeting point of the four corners of the first magic square viewpoint). However, in odd-orders, where a magic square has magic diagonals that produce a magic intersection over a number, then a sterile non-magic intersection always occurs between numbers on the far side of the torus (at the meeting point of the four corners of the initial magic square). This is why torus-opposite pairs of magic squares cannot exist in the odd-orders.

255 magic tori of order-4, listed by type, with details of the 440 torus-opposite pairs of the 880 Frénicle magic squares of order-4

The enumeration of the 255 magic tori of order-4 was first published in French on the 28th October 2011, before being translated into English on the 9th January 2012: "255 Fourth-Order Magic Tori, and 1 Third-Order Magic Torus." In this previous article, the corresponding 880 fourth-order magic squares were listed by their Frénicle index numbers, but not always illustrated. The intention of the enclosed paper is therefore to facilitate the understanding of the magic tori of order-4, by portraying each case.

Here, Frénicle index numbers continue to be used, as they have the double advantage of being both well known and commonly accepted for cross-reference purposes. But please also note, that now, in order to simplify the visualisation of the magic tori, their displayed magic squares are not systematically presented in Frénicle standard form. 

In the illustrations of the 255 magic tori of order-4, listed by type with the presentation of their magic squares, the latter are labelled from left to right with their Frénicle index number, followed by, in brackets, the Frénicle index number of their torus-opposite magic square, and finally by the Roman numeral of their Dudeney complementary number pattern. Therefore, for the magic square of order-4 with Frénicle index n° 1 (that forms a torus-opposite pair of magic squares with Frénicle index n° 458; both squares having the same Dudeney pattern VI), its label is 1 (458) VI.

To find the "255 magic tori of order-4, listed by type, with details of the 440 torus-opposite pairs of the 880 Frénicle magic squares of order-4" please consult the following PDF:



Read more ...

Tuesday 7 June 2022

Polyomino Area Magic Tori

A magic torus can be found with any magic square, as has already been demonstrated in the article "From the Magic Square to the Magic Torus". In fact, there are n^2 essentially different semi-magic or magic squares, displayed by every magic torus of order-n. Particularly interesting to observe with pandiagonal (or panmagic) examples, a magic torus can easily be represented by repeating the number cells of one of its magic square viewpoints outside its limits. However, once we begin to look at area magic squares, it becomes much less evident to visualise and construct the corresponding area magic tori using repeatable area cells, especially when the latter have to be irregular quadrilaterals... The following illustration shows a sketch of an area magic torus of order-3 that I created back in January 2017. I call it a sketch because it may be necessary to use consecutive areas starting from 2 or from 3, should the construction of an area magic torus of order-3, using consecutive areas from 1 to 9, prove to be impossible. And while it can be seen that such a torus is theoretically constructible, many calculations will be necessary to ensure that the areas are accurate, and that the irregular quadrilateral cells can be assembled with precision:

Colour diagram of an area magic torus of order-3, showing the 9 magic square viewpoints, created by William Walkington in 2017

At the time discouraged by the complications of such geometries, I decided to suspend the research of area magic tori. But since the invention of area magic squares, other authors have introduced some very interesting polyomino versions that open new perspectives: 

On the 20th May 2021, Morita Mizusumashi (盛田みずすまし @nosiika) tweeted a nice polyomino area magic square of order-3 constructed with 9 assemblies of 5 to 13 monominoes. On the 21st May 2021, Yoshiaki Araki (面積魔方陣がテセレーションみたいな件 @alytile) tweeted several order-4 and order-3 solutions in a polyomino area magic square thread. These included (amongst others) an order-4 example constructed with 16 assemblies of 5 to 20 dominoes. On the 24th May 2021, Yoshiaki Araki then tweeted an order-3 polyomino area magic square constructed using 9 assemblies of 1 to 9 same-shaped pentominoes! Edo Timmermans, the author of this beautiful square, had apparently been inspired by Yoshiaki Araki's previous posts! Since the 22nd June 2021, Inder Taneja has also published a paper entitled "Creative Magic Squares: Area Representations" in which he studies polyomino area magic using perfect square magic sums.

Intention and Definition

The intention of the present article is to explore the use of polyominoes for area magic torus construction, with the objective of facilitating the calculation and verification of the cell areas, while avoiding the geometric constraints of irregular quadrilateral assemblies. Here, it is useful to give a definition of a polyomino area magic torus:

1/ In the diagram of the torus, the entries of the cells of each column, row, and of at least two intersecting diagonals, will add up to the same magic sum. The intersecting magic diagonals can be offset or broken, as the area magic torus has a limitless surface, and can therefore display semi-magic square viewpoints.
2/ Each cell will have an area in proportion to its number. The different areas will be represented by tiling with same-shaped holeless polyominoes.
3/ The cells can be of any regular or irregular rectangular shape that results from their holeless tiling. 
4/ Depending on the order-n of the area magic torus, each cell will have continuous edge connections with contiguous cells (and these connections can be wrap-around, because the torus diagram represents a limitless curved surface).
5/ The vertex meeting points of four cells can only take place at four convex (i.e. 270° exterior  angled) vertices of each of the cells.

Polyomino Area Magic Tori (PAMT) of Order-3


Colour diagram of the magic torus of order-3, displaying Agrippa's "Saturn" magic square, with graphics by William Walkington
Magic Torus index n° T3, of order-3. Magic sums = 15.
Please note that this is not a Polyomino Area Magic Torus,
but it is the Agrippa "Saturn" magic square, after a rotation of +90°, in Frénicle standard form.

Diagram of irregular rectangular Polyomino Area Magic Torus of order-3 with tetromino tiles, by William Walkington in 2022
Polyomino Area Magic Torus (PAMT) of order-3. Magic sums = 15. Tetrominoes.
Consecutively numbered areas 1 to 9, in an irregular rectangular shape of 180 units.

Diagram of an irregular rectangular Polyomino Area Magic Torus of order-3 with tromino tiles, by William Walkington in 2022
Polyomino Area Magic Torus (PAMT) of Order-3. Magic sums = 18. Trominoes.
Consecutively numbered areas 2 to 10, in an irregular rectangular shape of 162 units.

Colour diagram of an oblong Polyomino Area Magic Torus of order-3 with tromino tiles, created by William Walkington in 2022
Polyomino Area Magic Torus (PAMT) of order-3. Magic sums = 24. Trominoes.
Consecutively numbered areas 4 to 12, in an oblong 12 ⋅ 18 = 216 units.

Colour diagram of a square Polyomino Area Magic Torus of order-3 with tromino tiles, V1 created by William Walkington in 2022
Polyomino Area Magic Torus (PAMT) of Order-3. Magic sums = 36. Trominoes Version 1.
Square 18 ⋅ 18 = 324 units.

Colour diagram of a square Polyomino Area Magic Torus of order-3 with tromino tiles, V2 created by William Walkington in 2022
Polyomino Area Magic Torus (PAMT) of Order-3. Magic sums = 36. Trominoes Version 2.
Square 18 ⋅ 18 = 324 units.

Colour diagram of a square Polyomino Area Magic Torus of order-3 with pentomino tiles, V1 created by William Walkington in 2022
Polyomino Area Magic Torus (PAMT) of Order-3. Magic sums = 60. Pentominoes Version 1.
Square 30 ⋅ 30 = 900 units.

Diagram of an irregular rectangular Polyomino Area Magic Torus of order-3 with monomino tiles, by William Walkington in 2022
Polyomino Area Magic Torus (PAMT) of order-3. Magic sums = 24. Monominoes.
Consecutively numbered areas 4 to 12, in an irregular rectangular shape of 72 units.

Colour diagram of a square Polyomino Area Magic Torus of order-3 with monomino tiles, V1 created by William Walkington in 2022
Polyomino Area Magic Torus (PAMT) of order-3. Magic sums = 27. Monominoes Version 1.
Consecutively numbered areas 5 to 13, in a square 9 ⋅ 9 = 81 units.

Colour diagram of a square Polyomino Area Magic Torus of order-3 with monomino tiles, V2 created by William Walkington in 2022
Polyomino Area Magic Torus (PAMT) of order-3. Magic sums = 27. Monominoes Version 2.
Consecutively numbered areas 5 to 13, in a square 9 ⋅ 9 = 81 units.

Polyomino Area Magic Tori (PAMT) of Order-4


Colour diagram of a pandiagonal Magic Torus of order-4, displaying the Frénicle 107 index number square, by William Walkington
Magic Torus index n° T4.198, of order-4. Magic sums = 34.
Please note that this is not a Polyomino Area Magic Torus,
but it is a pandiagonal torus represented by a pandiagonal square that has Frénicle index n° 107.

The pandiagonal torus above displays 16 Frénicle indexed magic squares n° 107, 109, 171, 204, 292, 294, 355, 396, 469, 532, 560, 621, 691, 744, 788, and 839. It is entirely covered by 16 sub-magic 2x2 squares. The torus is self-complementary and has the magic torus complementary number pattern I. The even-odd number pattern is P4.1. This torus is extra-magic with 16 extra-magic nodal intersections of 4 magic lines. It displays pandiagonal Dudeney I Nasik magic squares. It is classified with a Magic Torus index n° T4.198, and is of Magic Torus type n° T4.01.2. Also, when compared with its two pandiagonal torus cousins of order-4, the unique Magic Torus T4.198 of the Multiplicative Magic Torus MMT4.01.1 is distinguished by its total self-complementarity.

Colour diagram of a pandiagonal Polyomino Area Magic Torus of order-4, constructed with pentominoes by William Walkington
Pandiagonal Polyomino Area Magic Torus (PAMT) of order-4. Magic sums = 34. Pentominoes.
Index PAMT4.198, Version 1, Viewpoint 1/16, displaying Frénicle magic square index n° 107.
Consecutively numbered areas 1 to 16, in an oblong 34 ⋅ 20 = 680 units.

Colour diagram of a square Polyomino Area Magic Torus of order-4 with domino tiles, V1 created by William Walkington in 2022
Pandiagonal Polyomino Area Magic Torus (PAMT) of order-4. Magic sums = 50. Dominoes.
Version 1, Viewpoint 1/16.
Consecutively numbered areas 5 to 20, in a square 20 ⋅ 20 = 400 units.

Diagram of an irregularly shaped view of a Polyomino Area Magic Torus of order-4 with domino tiles, by William Walkington in 2022
Pandiagonal Polyomino Area Magic Torus (PAMT) of Order-4. Sums = 50. Dominoes.
Version 1, Viewpoint 16/16.
Consecutively numbered areas 5 to 20, in an irregular rectangular shape of 400 units.

Polyomino Area Magic Tori (PAMT) of Order-5


Pandiagonal Torus type n° T5.01.00X of order-5. Magic sums = 65.
Please note that this is not a Polyomino Area Magic Torus.

This pandiagonal torus of order-5 displays 25 pandiagonal magic squares. It is a direct descendant of the T3 magic torus of order-3, as demonstrated in page 49 of "Magic Torus Coordinate and Vector Symmetries" (MTCVS). In "Extra-Magic Tori and Knight Move Magic Diagonals" it is shown to be an Extra-Magic Pandiagonal Torus Type T5.01 with 6 Knight Move Magic Diagonals. Note that when centred on the number 13, the magic square viewpoint becomes associative. The torus is classed under type n° T5.01.00X (provisional number), and is one of 144 pandiagonal or panmagic tori type 1 of order-5 that display 3,600 pandiagonal or panmagic squares. On page 72 of "Multiplicative Magic Tori" it is present within the type MMT5.01.00x.

Colour diagram of a pandiagonal Polyomino Area Magic Torus of order-5, constructed with hexominoes by William Walkington
Pandiagonal Polyomino Area Magic Torus (PAMT) of order-5. Magic sums = 65. Hexominoes.
Index PAMT5.01.00X, Version 1, Viewpoint 1/25.
Consecutively numbered areas 1 to 25, in an oblong 65 ⋅ 30 = 1950 units.

Colour diagram of a square Polyomino Area Magic Torus of order-5 with monomino tiles, V1 created by William Walkington in 2022
Pandiagonal Polyomino Area Magic Torus (PAMT) of Order-5. Magic sums = 125. Monominoes.
Version 1, Viewpoint 1/25.
Consecutively numbered areas 13 to 37, in a square 25 ⋅ 25 = 625 units.

Colour diagram of a square Polyomino Area Magic Torus of order-5 with monomino tiles, V2 created by William Walkington in 2022
Pandiagonal Polyomino Area Magic Torus (PAMT) of Order-5. Magic sums = 125. Monominoes.
Version 2, Viewpoint 1/25.
Consecutively numbered areas 13 to 37, in a square 25 ⋅ 25 = 625 units.

Polyomino Area Magic Tori (PAMT) of Order-6


Partially Pandiagonal Torus type n° T6 of order-6. Magic sums = 111.
Please note that this is not a Polyomino Area Magic Torus.

Harry White has kindly authorised me to use this order-6 magic square viewpoint. With a supplementary broken magic diagonal (24, 19, 31, 3, 5, 29), this partially pandiagonal torus displays 4 partially pandiagonal squares and 32 semi-magic squares. In "Extra-Magic Tori and Knight Move Magic Diagonals" it is shown to be an Extra-Magic Partially Pandiagonal Torus of Order-6 with 6 Knight Move Magic Diagonals. This is one of 2627518340149999905600 magic and semi-magic tori of order-6 (total deduced from findings by Artem Ripatti - see OEIS A271104 "Number of magic and semi-magic tori of order n composed of the numbers from 1 to n^2").

Colour diagram of a partially pandiagonal Polyomino Area Magic Torus of order-6, made with heptominoes by William Walkington
Partially Pandiagonal Polyomino Area Magic Torus (PAMT) of order-6. Magic sums = 111.
Heptominoes, Version 1, Viewpoint 1/36.
Consecutively numbered areas 1 to 36, in an oblong 111 ⋅ 42 = 4662 units.

Colour diagram of a square Polyomino Area Magic Torus of order-6 with domino tiles, V1 created by William Walkington in 2022
Partially Pandiagonal Polyomino Area Magic Torus (PAMT) of order-6. Sums = 147.
Dominoes, Version 1, Viewpoint 1/36.
Consecutively numbered areas 7 to 42, in a square 42 ⋅ 42 = 1764 units.

Observations

As they are the first of their kind, these Polyomino Area Magic Tori (PAMT) can most likely be improved: The examples illustrated above are all constructed with their cells aligned horizontally or vertically; and though it is convenient to do so, because it allows their representation as oblongs or squares, this method of constructing PAMT is not obligatory. Representations of PAMT that have irregular rectangular contours may well give better results, with less-elongated cells and simpler cell connections. 

While the use of polyominoes has the immense advantage of allowing the construction of area magic tori with easily quantifiable units, it also introduces the constraint of the tiling of the cells. It has been seen in the examples above that the PAMT can be represented as oblongs or as squares, while other irregular rectangular solutions also exist. A normal magic square of order-3 displays the numbers 1 to 9 and has a total of 45, which is not a perfect square. As the smallest addition to each of the nine numbers 1 to 9, in order to reach a perfect square total is four (45 + 9 ⋅ 4 = 81), this implies that when searching for a square PAMT with consecutive areas of 1 to 9, in theory the smallest polyominoes for this purpose will be pentominoes.

But to date, in the various shaped examples of PAMT shown above, the smallest cell area used to represent the area 1 is a tetromino, as this gives sufficient flexibility for the connections of a nine-cell PAMT of order-3 with consecutive areas of 1 to 9. Edo Timmermans has already constructed a Polyomino Area Magic Square of order-3 using pentominoes for the consecutive areas of 1 to 9, but it seems that such polyominoes cannot be used for the construction of a same-sized and shaped PAMT of order-3. Straight polyominoes are always used in the examples given above, as these facilitate long connections, but other polyomino shapes will in some cases be possible.

We should keep in mind that the PAMT are theoretical, in that, per se, they cannot tile a torus: As a consequence of Carl Friedrich Gauss's "Theorema Egregium", and because the Gaussian curvature of the torus is not always zero, there is no local isometry between the torus and a flat surface: We can't flatten a torus without distortion, which therefore makes a perfect map of that torus impossible. Although we can create conformal maps that preserve angles, these do not necessarily preserve lengths, and are not ideal for our purpose. And while two topological spheres are conformally equivalent, different topologies of tori can make these conformally distinct and lead to further mapping complications. For those wishing to know more, the paper by Professor John M. Sullivan, entitled "Conformal Tiling on a Torus", makes excellent reading.

Notwithstanding their theoreticality, the PAMT nevertheless offer an interesting field of research that transcends the complications of tiling doubly-curved torus surfaces, while suggesting interesting patterns for planar tiling: For those who are not convinced by 9-colour tiling, 2-colour pandiagonal tiling can also be a good choice for geeky living spaces:

Colour diagram of irregular rectangular Polyomino Area Magic Torus tiling of order-3 with monominoes, by William Walkington in 2022
Tiling with irregular rectangular shaped PAMT of order-3. Monominoes. S=24.

Diagram of irregular rectangular Polyomino Area Magic Torus tiling of order-3 with tetromino tiles, by William Walkington in 2022
Tiling with irregular rectangular shaped PAMT of order-3. Tetrominoes. S=15.

Diagram of irregular rectangular Polyomino Area Magic Torus tiling of order-3 with tromino tiles, by William Walkington in 2022
Tiling with irregular rectangular shaped PAMT of order-3. Trominoes. S=18.

Colour diagram of oblong Polyomino Area Magic Torus tiling of order-3 with tromino tiles, created by William Walkington in 2022
Tiling with oblong PAMT of order-3. Trominoes. S=24.

Colour diagram of oblong Polyomino Area Magic Torus tiling of order-4 with pentomino tiles, by William Walkington in 2022
Tiling with oblong pandiagonal PAMT of order-4. Pentominoes. S=34.

Colour diagram of oblong Polyomino Area Magic Torus tiling of order-5 with hexomino tiles, by William Walkington in 2022
Tiling with oblong pandiagonal PAMT of order-5. Hexominoes. S=65.

Colour diagram of square Polyomino Area Magic Torus tiling of order-5 with monomino tiles, created by William Walkington in 2022
Tiling with square pandiagonal PAMT of order-5. Monominoes. S=125.

Colour diagram of oblong Polyomino Area Magic Torus tiling of order-6 with heptomino tiles, by William Walkington in 2022
Tiling with oblong partially pandiagonal PAMT of order-6. Heptominoes. S=111.

Colour diagram of square Polyomino Area Magic Torus tiling of order-6 with domino tiles, by William Walkington in 2022
Tiling with square partially pandiagonal PAMT of order-6. Dominoes. S=147.

There are still plenty of other interesting PAMT that remain to be found, and I hope you will authorise me to publish or relay your future discoveries and suggestions!


Read more ...