Magic squares of cubes
Magic squares of fourth powers
Magic
squares of fifth powers
See also the Magic
squares of squares page
See also the Magic
squares of sixth powers and of
seventh powers pages
In this page:
In other pages:

Smallest known square 
Semimagic 
Magic 

of squares (a) 
3x3 (b) (Edouard Lucas, 1876) 
4x4 (Leonhard Euler, 1770) 

of cubes (c) 
4x4 (Lee Morgenstern, 2006) 
7x7 (Sébastien Miquel, 2015) 

of 4th powers 
4x4 (MorgensternBoyer, 2006) 
15x15 (LabelleBoyer, 2011) 

of 5th powers 
16x16 (Jaroslaw Wroblewski, 2011) 
36x36 (d) (Li Wen, 2008) 

of 6th powers 
36x36 (Jaroslaw Wroblewski, 2011) 
64x64 (e) (Jaroslaw Wroblewski, 2012) 

of 7th powers 
64x64 (Toshihiro Shirakawa, 2013) 
144x144 (Toshihiro Shirakawa, 2013) 
(a) Look also Lucas
and Euler's methods
(b) Because a 2x2 semimagic
square of any type is impossible, a 3x3 semimagic square of squares
is proved
the smallest possible.
This is the only one: all other squares of this
table are NOT proved the smallest possible, most of these records can
probably be improved!
(c) If we allow negative integers,
then various small magic squares of cubes are known with null magic
sums, using similar tricks as first published in my 4x4 CB10
and 5x5 CB11 squares.
(d)
Coming from his pentamagic square, when numbers are raised to the fifth
power
(e) After this square of Jaroslaw Wroblewski, Toshihiro Shirakawa has constructed in 2013 another 64x64
square, but using smaller integers
Order 
Squares of cubes (*) 
Squares of fourth powers (*) 
Squares of fifth powers (*) 

Semimagic 
Magic 
Semimagic 
Magic 
Semimagic 
Magic 

Unknown! 
Impossible 
Unknown! 
Impossible 
Unknown! 
Impossible 

Morgenstern 
Unknown! 
MorgensternBoyer(**) 
Unknown! 
Unknown! 

Boyer 
Unknown! 

Morgenstern 

Shirakawa 
Miquel 

Morgenstern 
Trump 
Boyer 

MorgensternBoyer(**) 
Boyer 
MorgensternBoyer(**) 

Boyer 
Unknown! 

Boyer 

Trump(***) 
Labelle 
(*) of distinct
positive integers
(**) in these three cases, my contribution was
only to produce a numerical example using Morgenstern's methods
(***)
coming from his 12thorder trimagic square
when the numbers are cubed
Excerpt from the
article Some
Notes on the Magic Squares of Squares Problem, Part 6
by Christian Boyer,
in The
Mathematical Intelligencer, Volume 27, Number 2, Spring 2005, pages 5264
"It’s implicit in the work of Carmichael that
there can be no 3x3 magic squares with entries
which are cubes or
are fourth powers."
Richard K. Guy,
Unsolved Problems in Number Theory,
Third Edition, 2004, page 270
The work of Euler implies already that there can be no 3x3 magic square with entries which are cubes. If z^{3} is the number in the centre cell, then any line going through the centre should have x^{3} + y^{3} = 2z^{3}. Euler and Legendre^{[39]} demonstrated that x^{3} + y^{3} = kz^{3} is impossible with distinct integers, for k = 1, 2, 3, 4, 5. AdrienMarie Legendre mistakenly announced that k = 6 is also impossible: Edouard Lucas published the general solution for k = 6 in the American Journal of Mathematics Pure and Applied of J.J. Sylvester^{[41]}, and gave the example 17^{3} + 37^{3} = 6×21^{3}. The equation x^{3} + y^{3} = 7z^{3} has been known to be possible since Fermat, one of his examples being 4^{3} + 5^{3} = 7×3^{3}.
Legendre showed also that x^{4} + y^{4} = 2z^{2} is impossible if x ¹ y. Because z^{4} = (z^{2})^{2}, this implies that there can be no 3x3 magic square with entries which are fourth powers. It’s also implicit in the later work of Carmichael^{[13]} that there can be no 3x3 magic square with entries which are cubes, or are fourth powers or 4kth powers. Noam Elkies^{[26]} points out that with the Andrew Wiles’s proof of Fermat Last Theorem it can be shown that a^{n} + b^{n} = 2c^{n} has no solution for n greater than 2, and thus that there can be no 3x3 magic square with entries which are powers greater than 2.
And as said in the D2 problem, “The Fermat problem”, page 219 of Guy’s book^{[30]}: “It follows from the work of Ribet via Mazur & Kamienny and Darmon & Merel that the equation x^{n} + y^{n} = 2z^{n} has no solution for n > 2 apart from the trivial x = y = z.”
So, 3x3 magic squares of cubes are impossible. I think that 4x4 are also impossible with distinct positive cubes. The 12x12 (WT1) trimagic square of part 7 below, when its numbers are cubed, is a magic square of cubes.
If we accept negative integers, and using the interesting but obvious remark that n^{3} and (–n)^{3} are not equal (the rule in a magic square is to use “distinct” integers, and the trick is that they are distinct!), (CB10) and (CB11) are magic squares of cubes having a null magic sum. They seem to be the first published 4x4 and 5x5 magic squares of cubes.
If you do not like the terminological trick I used, then Open problem 5 is for you! And the (CB12) square is a first step.
Open problem 5. Construct the smallest possible magic square of cubes:
5a) using integers having different absolute values, 5b) using only
positive integers. 
19^{3} 
(3)^{3} 
(10)^{3} 
(18)^{3} 
(42)^{3} 
21^{3} 
28^{3} 
35^{3} 
42^{3} 
(21)^{3} 
(28)^{3} 
(35)^{3} 
(19)^{3} 
3^{3} 
10^{3} 
18^{3} 
11^{3} 
(20)^{3} 
12^{3} 
13^{3} 
14^{3} 
(15)^{3} 
21^{3} 
3^{3} 
(10)^{3} 
(17)^{3} 
(5)^{3} 
(4)^{3} 
0^{3} 
4^{3} 
5^{3} 
17^{3} 
10^{3} 
(3)^{3} 
(21)^{3} 
15^{3} 
(14)^{3} 
(13)^{3} 
(12)^{3} 
20^{3} 
(11)^{3} 
9^{3} 
47^{3} 
54^{3} 
64^{3} 
96^{3} 
23^{3} 
97^{3} 
6^{3} 
48^{3} 
72^{3} 
10^{3} 
14^{3} 
67^{3} 
101^{3} 
42^{3} 
110^{3} 
36^{3} 
21^{3} 
3^{3} 
28^{3} 
40^{3} 
70^{3} 
98^{3} 
18^{3} 
38^{3} 
[9] Christian Boyer, Supplement to the article “Some notes on
the magic squares of squares problem” article, downloadable from [7], 2005:
Download the PDF file
(31Kb) or See HTML page at www.multimagie.com/English/Supplement.htm
[13] Robert D. Carmichael, Impossibility of the equation x^{3} + y^{3} = 2^{m}z^{3}, and On the equation ax^{4} + by^{4} = cz^{2}, Diophantine Analysis, John Wiley and Sons, NewYork, 1915, 6772 and 7779 (reprint by Dover Publications, New York, in 1959 and 2004)
[26] Martin Gardner, The latest magic, Quantum 6(1996), n°4, 60
[30] Richard K. Guy, Problem D15 – Numbers whose sums in pairs make squares, Unsolved Problems in Number Theory, Third edition, Springer, NewYork, 2004, 268271
[39] AdrienMarie Legendre, Théorie des Nombres, 3rd edition, FirminDidot, Paris, 2(1830) 45, 911, and 144145 (reprint by Albert Blanchard, Paris, in 1955)
[41] Edouard Lucas, Sur l’analyse indéterminée du troisième degré – Démonstration de plusieurs théorèmes de M. Sylvester, American Journal of Mathematics Pure and Applied 2(1879) 178185
3x3 magic squares of cubes
3x3 magic squares of fourth powers
As seen above, 3x3 magic squares are proved impossible. But the status of 3x3 semimagic squares of cubes and of fourth powers is still unknown. My best result is:
51^{3} 
619^{3} 
165^{3} 
618^{3} 
162^{3} 
115^{3} 
178^{3} 
72^{3} 
235,788,435 
In October 2006, Frank Rubin searched for a 3x3 semimagic square of cubes, and concluded that there is no solution using numbers all smaller than 300,000^{3}.
In March 2008, Lee Morgenstern proposed an interesting method. If we find two numbers x and y being the differences of two cubes in 3 different ways and having 3 terms in common:
then we have found a 3x3 semimagic square of cubes:
a^{3} 
b^{3} 
c^{3} 
d^{3} 
e^{3} 
f^{3} 
g^{3} 
h^{3} 
i^{3} 
In May 2008, Uwe Hollerbach worked on this method immediately after his confirmation that my upper bound 933528127886302221000 is the real Cabtaxi(10) number (the smallest number sum or difference of two cubes in 10 different ways). Using his long list of 10,597,218 primitive solutions ≤ 950000519472444752221 which are sums or differences of two cubes in 3ormore ways, he did not find any solution to the system (3.1) (3.2), that is to say, for any x and y < 9.5 *10^{20}.
In May 2010, Lee Morgenstern proposed two other new methods. Look here for his methods which may perhaps solve the enigma #3 :
Who will be the first to construct a 3x3 semimagic square of cubes, using distinct positive integers? Or prove that it is impossible? In 2007, I also asked this question in the website of Carlos Rivera: http://www.primepuzzles.net/puzzles/puzz_412.htm
In January 2013, Lee Morgenstern computed that there is no 3x3 semimagic square of distinct positive cubes with all entries under (10^{6})^{3}. And that there is no 3x3 semimagic square using a list of all primitive taxicab(2) solutions with entries under (10^{6})^{3} that are twicescaled up to entries under (10^{24})^{3}. See details on his searches.
In April 2015, Tim Roberts used Morgenstern's second method of May 2010 given above for searching semimagic squares of cubes. This method starts by looking for a, b, c, d, e, f, g, h, such that a^{3}+b^{3} = c^{3}+d^{3} = T1, and e^{3}+f^{3} = g^{3}+h^{3} = T2. He reports that (disappointingly) there are no such squares when T1 and T2 are both ≤ 2*10^{13}.
Other questions:
Who will be the first to construct a 3x3 semimagic square of fourth powers? Or prove that it is impossible?
4x4 magic squares of cubes
4x4 magic squares of fourth powers
In June 2006, after his 6x6 and 7x7 bimagic squares using distinct integers, Lee Morgenstern studied magic squares of cubes. He found a very nice method for constructing 4x4 magic squares of cubes (or of any nthpowers):
(af)^{n} 
(de)^{n} 
(ce)^{n} 
(bf)^{n} 
(bh)^{n} 
(cg)^{n} 
(dg)^{n} 
(ah)^{n} 
(bg)^{n} 
(ch)^{n} 
(dh)^{n} 
(ag)^{n} 
(ae)^{n} 
(df)^{n} 
(cf)^{n} 
(be)^{n} 
Such a square of nthpowers is magic if the three equations are true:
Its magic sum is Sn = uv. If only the two equations (4.1) and (4.2) are true, then the square is only a semimagic square.
Definition of standard Taxicab numbers: integers which
can be expressed as the sum of 2 cubes, in 2 different
ways. 
Using for example the famous smallest Taxicab number 1729 of Ramanujan, previously known by Bernard Frénicle de Bessy as early as 1657, and the second smallest Taxicab number 4104
we can directly construct the square:
16 ^{3} 
20 ^{3} 
18 ^{3} 
192 ^{3} 
180 ^{3} 
81 ^{3} 
90 ^{3} 
15 ^{3} 
108 ^{3} 
135 ^{3} 
150 ^{3} 
9 ^{3} 
2 ^{3} 
160 ^{3} 
144 ^{3} 
24 ^{3} 
After exhaustive research done by Lee Morgenstern (meaning not only with his above method), this is THE smallest possible 4x4 semimagic square of cubes. Not counting the obvious 2^{3} multiple of the previous square, his method generates also the second smallest possible: using again 1729, but together with the third smallest primitive Taxicab number 20683 = 10^{3} + 27^{3} = 19^{3} + 24^{3}, giving the second smallest S3 = 1729 * 20683 = 35,760,907.
The third smallest square can't be produced by his method, but we can point out that this square remains astonishly semimagic, with S1=744, when its integers are not cubed (maybe a hidden structure?) :
313 ^{3} 
95 ^{3} 
127 ^{3} 
209 ^{3} 
135 ^{3} 
297 ^{3} 
73 ^{3} 
239 ^{3} 
89 ^{3} 
109 ^{3} 
275 ^{3} 
271 ^{3} 
207 ^{3} 
243 ^{3} 
269 ^{3} 
25 ^{3} 
He confirmed also that my CB10 square allowing negative integers is the best possible.
Remarks on Morgenstern's 4x4 method
I worked on this powerful method which would generate 4x4 magic squares of cubes, with two magic diagonals, if we can find at least one solution to the three above equations (4.1) (4.2) (4.3) when power n=3. For example, this system of 3 equations is possible when n=2, generating a magic square of squares S2 = 125*8357:
but I was unable to find even one solution when n=3, or 4, or more. Using lists kindly provided by Jaroslaw Wroblewski, and if my computation is correct, I can say that there is no solution to the 3 equations when n=3:
If Morgenstern's method can generate 4x4 fully magic squares of cubes, then its numbers would be huge!
In MayJune 2013, Gildas Guillemot extended my search, and found no solution:
It's also interesting to know if the proportion of the squares generated by Morgenstern's method is important or not, among all the existing 4x4 semimagic squares of cubes. After an exhaustive search done by Gildas Guillemot in MarchApril 2013, this proportion is very high. He has found 448 different primitive semimagic squares having S3 < 10^11, and only 7 of them cannot be generated with taxicab numbers! Their S3: 42699384 (square given above), 556630776, 8168537160, 11201037624, 24211311640, 52940314224, 65949634088. All these S3 are 8k.
Journal of Integer Sequences
Who
will be the first to construct a 4x4 magic square of cubes, using distinct
positive integers? Or prove that
it is impossible? This problem is also given in part 8.3 "Who
can construct of 4x4 magic square of cubes?" of my paper "New Upper Bounds for Taxicab and Cabtaxi Numbers" published
in Journal of Integer
Sequences, 2008, Volume 11, Issue 1.
See http://www.christianboyer.com/taxicab
and http://www.cs.uwaterloo.ca/journals/JIS/vol11.html
And what about magic squares of fourth powers? With n=4, I generated easily the smallest solution to (4.1)+(4.2), using the 635,318,657 number first found by Euler:
(see the list of sums of two 4th powers in more than one way at http://oeis.org/A003824).
14101^{4} 
938^{4} 
931^{4} 
37762^{4} 
35866^{4} 
20881^{4} 
21038^{4} 
13393^{4} 
24806^{4} 
30191^{4} 
30418^{4} 
9263^{4} 
413^{4} 
32026^{4} 
31787^{4} 
1106^{4} 
But mixing the 1420 solutions of:
(list from Jaroslaw Wroblewski, available at http://www.math.uni.wroc.pl/~jwr/422/index.htm), and if my computation is correct, I can say that there is no solution to the system of 3 equations when n=4, if a,b,c,d,e,f,g,h < 10,000,000.
Who will be the first to construct a 4x4 magic square of fourth powers? Or prove that it is impossible?
And what about magic squares of fifth powers? With n=5, nobody knows any solution to the equation:
After an exhaustive search done in September 2002, Stuart Gascoigne did not find any solution u < 3.26 * 10^32. And Jaroslaw Wroblewski did not find any solution in 2006 for special forms up to 2.43 * 10^37. And, more generally, nobody knows a solution to:
However, today, no known mathematical proof that the equation is impossible. Look at the "Computing Minimal Equal Sums Of Like Powers" website http://euler.free.fr/ of JeanClaude Meyrignac, where this equation is called (n, 2, 2): nth powers, 2 positive terms on the left side, 2 positive terms on the right side.
It means that we are unable to construct a semimagic square of fifth powers, or more, using Morgenstern's method.
Who will be the first to construct a 4x4 (at least semi) magic square of fifth powers? Or prove that it is impossible?
Another Morgenstern's 4x4 method
Seven years after his first method above, Lee Morgenstern proposed another method in January 2013, expanded in April 2013. His expanded method directly produces 4x4 magic squares of 14 positive distinct cubes, and tries to obtain the 2 missing cubes. Here is an example of a 4x4 magic square of 14 positive distinct cubes obtained with his method. Who will be the first to find a 4x4 magic square with 15 out of 16 positive distinct cubes?
2046^{3} 
26040^{3} 
43400^{3} 
5704^{3} 
13152^{3} 
42780^{3} 
9207^{3} 
18,249,569,498,449 
13192^{3} 
15345^{3} 
25668^{3} 
76,777,570,970,855 
45632^{3} 
3255^{3} 
5425^{3} 
16368^{3} 
In JanuaryFebruary 2013, Lee has also done a new exhaustive search:
5x5 magic squares of cubes
5x5 magic squares of fourth powers
Lee Morgenstern confirmed that my CB12 square is the smallest possible 5x5 semimagic square of cubes, with S3 = 1,408,896. He found the second smallest solution:
141 ^{3} 
75 ^{3} 
82 ^{3} 
16 ^{3} 
86 ^{3} 
39 ^{3} 
129 ^{3} 
4 ^{3} 
90 ^{3} 
114 ^{3} 
25 ^{3} 
71 ^{3} 
128 ^{3} 
124 ^{3} 
34 ^{3} 
26 ^{3} 
58 ^{3} 
118 ^{3} 
116 ^{3} 
100 ^{3} 
115 ^{3} 
109 ^{3} 
50 ^{3} 
60 ^{3} 
108 ^{3} 
He confirmed also that my CB11 square of cubes allowing negative integers is the best possible.
In February 2010, I computed that there is no 5x5 magic square of cubes having S3 < 20,000,000. This implies for example that there is no solution using integers < 171^3, because (170^3 + 169^3 + 168^3 + .... + 146^3)/5 = 19,844,800 < 20,000,000.
Who will be the first to construct a 5x5 magic square of cubes, using distinct positive integers? Or prove that it is impossible?
Toshihiro Shirakawa worked on this small enigma #4a. In May 2011, after several weeks of computation, he found that there is no 5x5 magic square of cubes having S3 < 46,656,000. He found 11 semimagic examples, none of them having a magic diagonal, 3 of them (marked with *) being multiples of the two smallest:
S3 (MaxNb) =1408896 (110), 4416616 (141), 11271168* (220), 12558069 (218), 15798537 (249), 24591232 (264), 27571032 (276), 29380168 (304), 35332928* (282), 38040192* (330), 40727023 (309)
Who will be the first to construct a 5x5 magic square of fourth powers? Or prove that it is impossible?
6x6 magic squares of cubes
6x6 magic squares of
fourth powers
Lee Morgenstern found a method to construct 6x6 semimagic squares of cubes (or of any nthpowers). If the two equations (6.1) (6.2) are true:
then this square is a semimagic square of nthpowers, with magic sum Sn = uv:
(ag)^{n} 
(bg)^{n} 
(cg)^{n} 
(dh)^{n} 
(eh)^{n} 
(fh)^{n} 
(ah)^{n} 
(bh)^{n} 
(ch)^{n} 
(dg)^{n} 
(eg)^{n} 
(fg)^{n} 
(bi)^{n} 
(ci)^{n} 
(ai)^{n} 
(ej)^{n} 
(fj)^{n} 
(dj)^{n} 
(bj)^{n} 
(cj)^{n} 
(aj)^{n} 
(ei)^{n} 
(fi)^{n} 
(di)^{n} 
(ck)^{n} 
(ak)^{n} 
(bk)^{n} 
(fl)^{n} 
(dl)^{n} 
(el)^{n} 
(cl)^{n} 
(al)^{n} 
(bl)^{n} 
(fk)^{n} 
(dk)^{n} 
(ek)^{n} 
The solutions of these equations are well known. When n=3, we can find for example using:
that their smallest solutions are respectively:
generating the square:
167 ^{3} 
334 ^{3} 
1670 ^{3} 
1744 ^{3} 
2616 ^{3} 
3924 ^{3} 
436 ^{3} 
872 ^{3} 
4360 ^{3} 
668 ^{3} 
1002 ^{3} 
1503 ^{3} 
456 ^{3} 
2280 ^{3} 
228 ^{3} 
2538 ^{3} 
3807 ^{3} 
1692 ^{3} 
846 ^{3} 
4230 ^{3} 
423 ^{3} 
1368 ^{3} 
2052 ^{3} 
912 ^{3} 
2550 ^{3} 
255 ^{3} 
510 ^{3} 
3726 ^{3} 
1656 ^{3} 
2484 ^{3} 
4140 ^{3} 
414 ^{3} 
828 ^{3} 
2295 ^{3} 
1020 ^{3} 
1530 ^{3} 
Lee Morgenstern also constructed a 6x6 magic square of cubes allowing negative integers with S3=0, as my CB10 and CB11 squares. All integers are used, from 18 to 18, excluding 0:
18^{3} 
3^{3} 
(13)^{3} 
13^{3} 
(3)^{3} 
(18)^{3} 
1^{3} 
(14)^{3} 
(8)^{3} 
(1)^{3} 
14^{3} 
8^{3} 
(10)^{3} 
17^{3} 
(4)^{3} 
4^{3} 
(17)^{3} 
10^{3} 
(16)^{3} 
(5)^{3} 
15^{3} 
(15)^{3} 
5^{3} 
16^{3} 
(9)^{3} 
(7)^{3} 
9^{3} 
(6)^{3} 
7^{3} 
6^{3} 
(2)^{3} 
(12)^{3} 
(11)^{3} 
11^{3} 
12^{3} 
2^{3} 
Who will be the first to construct a 6x6 magic square of cubes, using distinct positive integers? Or prove that it is impossible?
Toshihiro Shirakawa worked on this small enigma #4b. He did not find the solution, but found in April 2010 the BEST possible 6x6 SEMImagic square of cubes, with smallest possible S3 and smallest possible MaxNb. Of course, his S3 is far smaller than the S3=88,327,172,871 of the above method. In May 2010, Lee Morgenstern confirmed that Shirakawa's square has the smallest possible S3 and MaxNb.
53^{3} 
57^{3} 
1^{3} 
54^{3} 
13^{3} 
27^{3} 
66^{3} 
38^{3} 
55^{3} 
4^{3} 
16^{3} 
8^{3} 
6^{3} 
18^{3} 
15^{3} 
31^{3} 
44^{3} 
73^{3} 
19^{3} 
21^{3} 
46^{3} 
34^{3} 
71^{3} 
14^{3} 
22^{3} 
52^{3} 
20^{3} 
65^{3} 
3^{3} 
43^{3} 
39^{3} 
49^{3} 
62^{3} 
23^{3} 
40^{3} 
28^{3} 
In October 2010, then in March 2011, Toshihiro found two nearly magic squares of cubes, each with ONE magic diagonal. Who will be the first to obtain TWO magic diagonals? According to the status of Toshihiro's search in October 2013, there is no solution with S3 < 1843900, but there are two other examples having one magic diagonal, with S3=1406160 and 1537263.
46^{3} 
33^{3} 
74^{3} 
72^{3} 
38^{3} 
52^{3} 

21^{3} 
83^{3} 
7^{3} 
93^{3} 
9^{3} 
12^{3} 
20^{3} 
50^{3} 
10^{3} 
9^{3} 
99^{3} 
13^{3} 
4^{3} 
72^{3} 
6^{3} 
66^{3} 
86^{3} 
45^{3} 

59^{3} 
39^{3} 
76^{3} 
29^{3} 
37^{3} 
69^{3} 
105^{3} 
34^{3} 
56^{3} 
2^{3} 
3^{3} 
25^{3} 

4^{3} 
73^{3} 
57^{3} 
54^{3} 
26^{3} 
71^{3} 
57^{3} 
58^{3} 
27^{3} 
52^{3} 
41^{3} 
92^{3} 

35^{3} 
79^{3} 
14^{3} 
82^{3} 
24^{3} 
15^{3} 
5^{3} 
59^{3} 
11^{3} 
19^{3} 
88^{3} 
79^{3} 

91^{3} 
17^{3} 
42^{3} 
3^{3} 
1^{3} 
65^{3} 
33^{3} 
15^{3} 
106^{3} 
53^{3} 
10^{3} 
20^{3} 
Remarks on Morgenstern's 6x6 method
This method cannot generate a 6x6 semimagic square of fourth powers with the current status of the research on Taxicab numbers:
Definition of generalized Taxicab(n, i, j) numbers: 
Who will be the first to construct a 6x6 magic square of fourth powers? Or prove that it is impossible?
7x7 magic squares of cubes
7x7 magic squares of fourth powers
According to Lee Morgenstern's computation done in May 2008, there is no 7x7 semimagic square of cubes using any possible set of 49 cubes between 1^{3} and 55^{3}. He extended his computation in August 2008: also impossible up to 57^{3}.
In this magic square of cubes allowing negative integers, all integers are used, from 24 to 24, including 0:
(17) ^{3} 
(6) ^{3} 
(21) ^{3} 
20 ^{3} 
12 ^{3} 
19 ^{3} 
(13) ^{3} 
9 ^{3} 
7 ^{3} 
(15) ^{3} 
1) ^{3} 
10 ^{3} 
11 ^{3} 
(3) ^{3} 
(18) ^{3} 
(16) ^{3} 
8 ^{3} 
(5) ^{3} 
4 ^{3} 
6 ^{3} 
21 ^{3} 
24 ^{3} 
23 ^{3} 
22 ^{3} 
0 ^{3} 
(24) ^{3} 
(23) ^{3} 
(22) ^{3} 
(14) ^{3} 
(19) ^{3} 
13 ^{3} 
5 ^{3} 
17 ^{3} 
(12) ^{3} 
16 ^{3} 
(10) ^{3} 
(11) ^{3} 
(9) ^{3} 
1 ^{3} 
15 ^{3} 
(7) ^{3} 
3 ^{3} 
(4) ^{3} 
(2) ^{3} 
2 ^{3} 
(20) ^{3} 
14 ^{3} 
18 ^{3} 
(8) ^{3} 
April 22, 2010. Toshihiro Shirakawa is the first to solve my small enigma #3a, with this first known 7x7 semimagic square of positive cubes. He used C++ language (Visual C++ 2008 Express Edition) on a Core2 quad Q9550 PC.
63^{3} 
36^{3} 
21^{3} 
17^{3} 
26^{3} 
43^{3} 
22^{3} 
45^{3} 
64^{3} 
8^{3} 
33^{3} 
15^{3} 
27^{3} 
18^{3} 
10^{3} 
29^{3} 
2^{3} 
58^{3} 
54^{3} 
11^{3} 
34^{3} 
32^{3} 
19^{3} 
62^{3} 
1^{3} 
25^{3} 
3^{3} 
50^{3} 
4^{3} 
14^{3} 
13^{3} 
46^{3} 
56^{3} 
51^{3} 
20^{3} 
9^{3} 
42^{3} 
49^{3} 
5^{3} 
30^{3} 
57^{3} 
24^{3} 
35^{3} 
12^{3} 
37^{3} 
44^{3} 
28^{3} 
6^{3} 
60^{3} 
He later improved his result, with these two other squares having smaller magic sums, and using smaller integers. After having obtained his square S3=306405 in July, with his computation of SeptemberOctober 2010 he concluded that this is the smallest possible S3.
1^{3} 
36^{3} 
56^{3} 
32^{3} 
8^{3} 
46^{3} 
22^{3} 

47^{3} 
36^{3} 
10^{3} 
53^{3} 
1^{3} 
6^{3} 
18^{3} 
49^{3} 
50^{3} 
34^{3} 
41^{3} 
3^{3} 
21^{3} 
15^{3} 
51^{3} 
54^{3} 
3^{3} 
12^{3} 
22^{3} 
15^{3} 
8^{3} 

51^{3} 
53^{3} 
35^{3} 
10^{3} 
31^{3} 
7^{3} 
20^{3} 
13^{3} 
14^{3} 
39^{3} 
30^{3} 
20^{3} 
28^{3} 
57^{3} 

14^{3} 
28^{3} 
9^{3} 
12^{3} 
48^{3} 
44^{3} 
52^{3} 
25^{3} 
2^{3} 
50^{3} 
26^{3} 
52^{3} 
9^{3} 
19^{3} 

27^{3} 
25^{3} 
45^{3} 
2^{3} 
54^{3} 
5^{3} 
43^{3} 
5^{3} 
43^{3} 
42^{3} 
4^{3} 
48^{3} 
21^{3} 
32^{3} 

38^{3} 
11^{3} 
4^{3} 
40^{3} 
39^{3} 
55^{3} 
26^{3} 
37^{3} 
7^{3} 
35^{3} 
46^{3} 
29^{3} 
38^{3} 
33^{3} 

33^{3} 
16^{3} 
24^{3} 
58^{3} 
18^{3} 
17^{3} 
47^{3} 
11^{3} 
27^{3} 
16^{3} 
24^{3} 
23^{3} 
60^{3} 
34^{3} 
Who will be the first to construct a 7x7 magic square of cubes, using distinct positive integers? Or prove that it is impossible?
This is my small enigma #4c. Toshihiro Shirakawa found this semimagic square with ONE magic diagonal in May 2010. Then in October, he computed that this square has the smallest possible S3 allowing a magic diagonal. Who will be the first to obtain TWO magic diagonals? According to the status of Toshihiro's search in May 2011, there is no solution with S3 < 377773.
58^{3} 
1^{3} 
32^{3} 
17^{3} 
5^{3} 
46^{3} 
33^{3} 
23^{3} 
10^{3} 
49^{3} 
28^{3} 
44^{3} 
41^{3} 
39^{3} 
34^{3} 
56^{3} 
35^{3} 
43^{3} 
18^{3} 
15^{3} 
27^{3} 
9^{3} 
7^{3} 
11^{3} 
42^{3} 
52^{3} 
53^{3} 
6^{3} 
2^{3} 
50^{3} 
31^{3} 
57^{3} 
12^{3} 
24^{3} 
22^{3} 
38^{3} 
26^{3} 
37^{3} 
3^{3} 
4^{3} 
30^{3} 
60^{3} 
40^{3} 
36^{3} 
45^{3} 
8^{3} 
51^{3} 
19^{3} 
29^{3} 
New status of Toshihiro's search: in April 2013, no solution with two diagonals and S3 < 418000, but five other examples having one magic diagonal with S3 = 405189, 408078, 409284, 409473, and 417726. Then in November 2013, no solution with two diagonals and S3 < 490000, but more than one hundred other examples having one diagonal. Outside his range of S3, he found this interesting square with two "diagonals" in green:
72^{3} 
8^{3} 
13^{3} 
3^{3} 
55^{3} 
2^{3} 
9^{3} 
4^{3} 
35^{3} 
22^{3} 
71^{3} 
24^{3} 
49^{3} 
5^{3} 
17^{3} 
15^{3} 
33^{3} 
23^{3} 
58^{3} 
66^{3} 
16^{3} 
39^{3} 
10^{3} 
65^{3} 
31^{3} 
1^{3} 
14^{3} 
56^{3} 
46^{3} 
27^{3} 
57^{3} 
43^{3} 
11^{3} 
41^{3} 
45^{3} 
20^{3} 
51^{3} 
32^{3} 
34^{3} 
26^{3} 
37^{3} 
64^{3} 
6^{3} 
70^{3} 
12^{3} 
29^{3} 
53^{3} 
25^{3} 
21^{3} 
In March 2014, Toshihiro Shirakawa announced that there is no solution with two diagonals and S3 < 500000.
This time, the two diagonals are truly magic: Dmitry Kamenetsky, Adelaide, Australia, found this magic square... but using 46 positive cubes. The three other integers are not cubes, and two of them are negative.
60^{3} 
45^{3} 
28^{3} 
56^{3} 
34^{3} 
42^{3} 
44^{3} 
23^{3} 
21^{3} 
24^{3} 
33^{3} 
78^{3} 
54^{3} 
4^{3} 
65249 
20^{3} 
30^{3} 
58^{3} 
29^{3} 
50^{3} 
73^{3} 
37^{3} 
43^{3} 
38^{3} 
55^{3} 
2^{3} 
3^{3} 
351827 
70^{3} 
15^{3} 
61^{3} 
32^{3} 
26^{3} 
41^{3} 
22^{3} 
47^{3} 
1^{3} 
71^{3} 
5^{3} 
49^{3} 
64^{3} 
138384 
35^{3} 
80^{3} 
9^{3} 
46^{3} 
31^{3} 
25^{3} 
17^{3} 
Sébastien Miquel in 2015 (ChâtenayMalabry, France, 1992  )
February 20th, 2015: Sébastien Miquel, France, is the first to solve my enigma #4c. He is a 4thyear student at the Ecole Normale Supérieure, Paris. In 2009, he won both the prix Fermat junior (look also here), and honorable mention ("accessit") in mathematics at Concours Général. For this enigma, he ran his program written in Rust, from September 2014 to February 2015, on a PC based on a i7 920 processor. This S3=616617 was one of the good candidates to analyze, there are 5997 ways to sum this S3 using 7 cubes > 0. But other solutions of this problem may exist with smaller S3 and/or smaller MaxNb.
History of the smallest known magic squares of cubes

(*) With consecutive cubes
24^{3} 
65^{3} 
25^{3} 
58^{3} 
38^{3} 
32^{3} 
31^{3} 
39^{3} 
16^{3} 
49^{3} 
56^{3} 
33^{3} 
60^{3} 
20^{3} 
10^{3} 
54^{3} 
74^{3} 
11^{3} 
37^{3} 
6^{3} 
9^{3} 
15^{3} 
14^{3} 
35^{3} 
55^{3} 
4^{3} 
23^{3} 
73^{3} 
62^{3} 
28^{3} 
17^{3} 
21^{3} 
8^{3} 
64^{3} 
43^{3} 
67^{3} 
53^{3} 
22^{3} 
41^{3} 
3^{3} 
13^{3} 
44^{3} 
2^{3} 
19^{3} 
27^{3} 
1^{3} 
78^{3} 
45^{3} 
29^{3} 
This 7x7 is currently the SMALLEST known magic square of cubes: 4x4, 5x5 and 6x6 still unknown! (enigmas #4, #4a, #4b)
Another problem:
Who will be the first to construct a 7x7 magic square of fourth powers? Or prove that it is impossible?
Return to the home page http://www.multimagie.com