Most-perfect magic square

A most-perfect magic square of doubly even order n = 4k is a pan-diagonal magic square containing the numbers 1 to n2 with three additional properties:

  1. Each 2×2 subsquare, including wrap-round, sums to s/k, where s = n(n2 + 1)/2 is the magic sum.
  2. All pairs of integers distant n/2 along any diagonal (major or broken) are complementary (i.e. they sum to n2 + 1).
੧੨ ੧੪
੧੩ ੧੧
੧੬ ੧०
੧੫
7 12 1 14
2 13 8 11
16 3 10 5
9 6 15 4
transcription of
the indian numerals
Most-perfect magic square from
the Parshvanath Jain temple in Khajuraho

Examples

Specific examples of most-perfect magic squares that begin with the 2015 date demonstrate how theory and computer science are able to define this group of magic squares. [1]  Only 16 of the 64 2x2 cell blocks that sum to 130 are accented by the different colored fonts in the 8x8 example.

The 12x12 square below was found by making all the 42 principal reversible squares with ReversibleSquares, running Transform1 2All on all 42, making 23040 of each, (of the 23040 x 23040 total each), then making the most-perfect squares from these with ReversibleMost-Perfect. These squares were then scanned for squares with 20,15 in the proper cells for any of the 8 rotations. The 2015 squares all originated with principal reversible square number #31. This square has values that sum to 35 on opposite sides of the vertical midline in the first two rows.[2]

Properties

All most-perfect magic squares are panmagic squares.

Apart from the trivial case of the first order square, most-perfect magic squares are all of order 4n. In their book, Kathleen Ollerenshaw and David S. Brée give a method of construction and enumeration of all most-perfect magic squares. They also show that there is a one-to-one correspondence between reversible squares and most-perfect magic squares.

The number of essentially different most-perfect magic squares of order n for 4n = 1, 2, ... form the sequence:

48, 368640, 22295347200, 932242784256000, 144982397807493120000, ... (sequence A051235 in the OEIS).

For example, there are about 2.7 × 1044 essentially different most-perfect magic squares of order 36.

All order four panmagic squares are most-perfect magic squares. The second property implies that each pair of the integers with the same background color in the 4×4 square below have the same sum, and hence any 2 such pairs sum to the magic constant.

7 12 1 14
2 13 8 11
16 3 10 5
9 6 15 4

Physical properties

The image below shows areas completely surrounded by larger numbers with a blue background. A water retention topographical model is one example of the physical properties of magic squares. The water retention model progressed from the specific case of the magic square to a more generalized system of random levels. A quite interesting counter-intuitive finding that a random two-level system will retain more water than a random three-level system when the size of the square is greater than 51 X 51 was discovered. This was reported in the Physical Review Letters in 2012 and referenced in the Nature article in 2018.[3][4]


Generalizations

Most-perfect magic cubes

There are 108 of these 2x2 subsquares that have the same sum for the 4x4x4 most-perfect cube.[5] 


gollark: Amulet question: is there some easy way to, say, decode JSON? I know libraries for it exist but can you wrap them easily and safely?
gollark: Oh, *that*.
gollark: I assumed they would both just work as the Lua docs claimed.
gollark: There's a difference?!
gollark: That's the generally-Lua things, CC has other ones, and no.

See also

Notes

  1. F1 Compiler http://www.f1compiler.com/samples/Most%20Perfect%20Magic%20Square%208x8.f1.html
  2. http://budshaw.ca/Reversible.html Reversible Squares, S. Harry White, 2014
  3. Knecht, Craig; Walter Trump; Daniel ben-Avraham; Robert M. Ziff (2012). "Retention capacity of random surfaces". Physical Review Letters. 108 (4): 045703. arXiv:1110.6166. Bibcode:2012PhRvL.108d5703K. doi:10.1103/PhysRevLett.108.045703. PMID 22400865.
  4. https://oeis.org/A201126 OEIS A201126
  5. https://oeis.org/A270205 OEIS A270205

References

  • Kathleen Ollerenshaw, David S. Brée: Most-perfect Pandiagonal Magic Squares: Their Construction and Enumeration, Southend-on-Sea : Institute of Mathematics and its Applications, 1998, 186 pages, ISBN 0-905091-06-X
  • T.V.Padmakumar, Number Theory and Magic Squares, Sura books, India, 2008, 128 pages, ISBN 978-81-8449-321-4
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.