Home Up

Examples
Examples Methods

 

 

Order: 5, Dimension: 3
Order:3, Dimension: 4
Order: 11, Dimension: 2

Click on the buttons at the left to view examples of 2, 3, or 4 dimensional magic squares and hyper cubes.  (Please note: the examples are "screen images" from the magic squares generator.  If you would like to generate your own magic squares or hyper-cubes, please see "Instructions" for downloading JAVA source code.)

The hyper cube on the left below displays cell contents in base 10.  The hyper cube on the right uses base 3.

The algorithm use base n, where n is the row size in the hyper cube.  Each cell in the hyper cube has d digits, where d is the number of dimensions in the hyper cube.  The digits range from 0 to (RowSize - 1).

HyperCube
Dimensions: 3
Row Size: 3
Base 10 Base 3
15 22 2 120 211 002
23 0 16 212 000 121
1 17 21 001 122 210
19 8 12 201 022 110
6 13 20 020 111 202
14 18 7 112 200 021
5 9 25 012 100 221
10 26 3 101 222 010
24 4 11 220 011 102