A generalization of Trenkler’s magic cubes formula

Open access


A Magic Cube of order p is a p×p×p cubical array with non-repeated entries from the set {1, 2, . . . , p3} such that all rows, columns, pillars and space diagonals have the same sum. In this paper, we show that a formula introduced in The Mathematical Gazette 84(2000), by M. Trenkler, for generating odd order magic cubes is a special case of a more general class of formulas. We derive sufficient conditions for the formulas in the new class to generate magic cubes, and we refer to the resulting class as regular magic cubes. We illustrate these ideas by deriving three new formulas that generate magic cubes of odd order that differ from each other and from the magic cubes generated with Trenkler’s rule.

[1] W. S. Andrews. Magic squares and Cubes, Dover, New York, 1960.

[2] W. W. R. Ball, H. S. M. Coxeter. Mathematical Recreations and Essays, 13th ed. Dover, New York, 216-224, 1987.

[3] F. A. P. Barnard. “Theory of Magic Squares and Cubes”, Mem. Nat. Acad. Sci., 4, 209-270, 1888.

[4] W. H. Benson, O. Jacoby. Magic Cubes: New Creations, Dover, New York, 1981.

[5] L. E. Dickson. Introduction to the Theory of Numbers, Dover, New York, 1950.

[6] M. Gardner. Hexaflexagons and Other Mathematical Diversions: The FirstScientific American Book of Puzzles and Games, University of Chicago Press, 1988.

[7] M. Gardner. Time Travel and Other Mathematical Bewilderments, W. H. Freeman & Company, 1988.

[8] A.M. Lakhany. “Magic cubes of odd order”, Bull. Inst. Math. Appl., 5-6(27), 117-118, 1991.

[9] A. M. Lakhany. “Magic cubes of even order”, Bull. Inst. Math. Appl., 9-10(28), 149-151, 1992.

[10] K. W. H Leeflang. “Magic cubes or prime order”, J. Recreational Math. 4(11), 241-257, 1978.

[11] M. Trenkler. “Magic cubes”, The Mathematical Gazette, 82, 56-61, 1998.

[12] M. Trenkler. “A construction of magic cubes”, The Mathematical Gazette, 84, 36-41, 2000.

[13] L. U. Uko. “Uniform step Magic Squares Revisited”, Ars Combinatoria, 71, 109-123, 2004.

Journal Information

Target Group

researchers in the fields of games and puzzles, problems, mathmagic, mathematics and arts, math and fun with algorithms


All Time Past Year Past 30 Days
Abstract Views 0 0 0
Full Text Views 210 210 25
PDF Downloads 109 109 15