Download of a small applet ("perdop.exe"), written in VB 5, expected to run under every MS Windows version. The applet generates all perfect 4x4x4 magic cubes, with only necessarily forced multiple entries.
A perfect magic 4x4x4-cube consists of 64 integers, such that any 4 entries of any straight line and of any diagonal (spatial as well as plane) have sum 130. The 64 cube entries are called c01, c02,...,c64. Enumeration is done from front side to behind, and in every 4x4-square pane, parallel to the front pane, from top left to right below.
In "s-magic cubes of order 4 are impossible" it has been shown by W.Trump, that such a cube cannot be realized with integers 1,2,...64, since multiple entries necessarily occur, namely: c01= c16= c52= c61, c04= c13= c49= c64, c22= c27= c39= c42, and c23= c26= c38= c43. Only these - but no other - multiple entries are allowed here, when perfect magic 4x4x4 cubes are computed.

entries no. 1-64: the cube entries, shown in panes parallel to the front pane, which consists of entries no. 1-16.

start with upper bound: user input of an upper bound n (58≤n) for the cube entries, the search for cube entries is restricted to integers from the interval [65-n,n].

reduce upper bound: when active: after producing a solution, the program searches for a solution with a smaller upper bound.

yellow marked entries: the user may prescribe start values for c04, c09, c10, c11, and c14 in the working display.

start from yellow marked entries: when active: the search for cubes uses the yellow marked entries as start values.

default values: when clicked: certain start values are written into the yellow marked fields.

start: the search for perfect 4x4x4 magic cubes begins.

stop: causes a break, the user is asked whether to continue or not.

date and time are displayed when the computation starts and when the computation ends.

solution number and the last found solution are displayed.

stop at next solution: causes a break, when the next solution is found.

smallest upper bound: the smallest found integer n, such that all cube entries are contained in the interval [65-n,n].

reduction conditions used: search is done only for cubes with c04≤32 and c14< c09.
© H.B. Meyer         Magic Squares and Cubes
"perdop.exe" program download