English   Japanese
Home   Site Map   Top   Prev.   Next   3-D ( 1   2   3   4   5 )   4-D ( 1   2   3   4   5   6 )

Algorithm to make pantriagonal diagonal magic cubes

1. Algorithms for orders divisible by 4

   A pantriagonal diagonal magic cube of even order can exist only if the order is higher than 7 and divisible by 4. This algorithm works for orders higher than 11. If the order is divisible by 8, there exists a Nasik magic cube, which satisfies a stronger condition than pantriagonal diagonal.

Note This algorithm also works for order 8, but it generates an order-8 Nasik magic cube. We can construct an order-8 pantriagonal diagonal magic cube which is not Nasik by another method. Here is an example of such an order-8 magic cube.

1.1 Non-associated pantriagonal diagonal magic cubes (m = 4x, m >= 12) (also complete)

A pantriagonal diagonal magic cube aijk of order m, where i,j,k = 0,...,m-1, is given by the following equation (aijk is also complete):
aijk = bijk m2 + bjki m + bkij + 1,

where
bijk = Tm(k) or m - 1 - Tm(k),
Tm(x) = x (where x < m/2), 3m/2-1-x (otherwise)    (identical to the definition of Tm(x) for pantriagonal magic cubes).

bijk = Tm(k) if i and j satisfy one of the following conditions:

bijk = m - 1 - Tm(k) if not, that is, i and j satisfy one of the following conditions:

For m = 12, bij0 (the plane of k = 0) is shown as follows:
001101111001101111
110011110110011110
011011011011011011
111101100111101100
110110110110110110
011110011011110011
001101111001101111
110011110110011110
011011011011011011
111101100111101100
110110110110110110
011110011011110011


Back


Home   Site Map   Top   Prev.   Next   3-D ( 1   2   3   4   5 )   4-D ( 1   2   3   4   5   6 )

Mitsutoshi Nakamura (Feedback)    To send an email to me, please enable JavaScript on your browser.
This page was last updated on October 1, 2007.
"Magic Cubes and Tesseracts"   http://homepage2.nifty.com/googol/magcube/en/
Copyright © 2004-2007, Mitsutoshi Nakamura. All rights reserved.

RSS
blog seo tool : track word  blog SEO tool