Leonhard Euler, 1707-1783.
Magic squares have been known and studied for many centuries, but there are still surprisingly many unanswered questions about them. In an effort to make progress on these unsolved problems, twelve prizes totalling €8,000 and twelve bottles of champagne have now been offered for the solutions to twelve magic square enigmas.
A magic square consists of whole numbers arranged in a square, so that all rows, all columns and the two diagonals sum to the same number. An example is the following 4×4 magic square, consisting entirely of square numbers, which the mathematician Leonhard Euler sent to Joseph-Louis Lagrange in 1770:
It's still not known whether a 3×3 magic squares consisting entirely of squares is possible.
The prize money and champagne will be divided between the people who send in first solutions to one of the six main enigmas or the six smaller enigmas listed below. Solutions should be sent to Christian Boyer. His website gives more information about every enigma, and will contain regular updates regarding received progress and prizes won.
Note that the enigmas can be mathematically rewritten as sets of Diophantine equations: for example, a 3×3 magic square is a set of eight equations (corresponding to the three rows, three columns and two diagonals) in ten unknowns (the nine entries and the magic constant to which each line sums).
Here are the six main and six small enigmas:
How big are the smallest possible magic squares of squares: 3×3 or 4×4?
In 1770 Leonhard Euler was the first to construct 4×4 magic squares of squares, as mentioned above. But nobody has yet succeeded in building a 3×3 magic square of squares or proving that it is impossible. Edouard Lucas worked on the subject in 1876. Then, in 1996, Martin Gardner offered $100 to the first person who could build one. Since this problem — despite its very simple appearance — is incredibly difficult to solve with nine distinct squared integers, here is a question which should be easier:
- Main Enigma 1 (€1000 and 1 bottle): Construct a 3×3 magic square using seven (or eight, or nine) distinct squared integers different from the only known example and its rotations, symmetries and k2 multiples. Or prove that it is impossible.
How big are the smallest possible bimagic squares: 5×5 or 6×6?
A bimagic square is a magic square which stays magic after squaring its integers. The first known were constructed by the Frenchman G. Pfeffermann in 1890 (8×8) and 1891 (9×9). It has been proved that 3×3 and 4×4 bimagics are impossible. The smallest bimagics currently known are 6×6, the first one of which was built in 2006 by Jaroslaw Wroblewski, a mathematician at Wroclaw University, Poland.
- Main Enigma 2 (€1000 and 1 bottle): construct a 5×5 bimagic square using distinct positive integers, or prove that it is impossible.
How big are the smallest possible semi-magic squares of cubes: 3×3 or 4×4?
An n×n semi-magic square is a square whose n rows and n columns have the same sum, but whose diagonals can have any sum. The smallest semi-magic squares of cubes currently known are 4×4 constructed in 2006 by Lee Morgenstern, an American mathematician. We also know 5×5 and 6×6 squares, then 8×8 and 9×9, but not yet 7×7.
- Main Enigma 3 (€1000 and 1 bottle): Construct a 3×3 semi-magic square using positive distinct cubed integers, or prove that it is impossible.
- Small Enigma 3a (€100 and 1 bottle): Construct a 7×7 semi-magic square using positive distinct cubed integers, or prove that it is impossible.
How big are the smallest possible magic squares of cubes: 4×4, 5×5, 6×6, 7×7 or 8×8?
The first known magic square of cubes was constructed by the Frenchman Gaston Tarry in 1905, thanks to a large 128×128 trimagic square (magic up to the third power). The smallest currently known magic squares of cubes are 8×8 squares constructed in 2008 by Walter Trump, a German teacher of mathematics. We do not know any 4×4, 5×5, 6×6 or 7×7 squares. It has been proved that 3×3 magic squares of cubes are impossible.
- Main Enigma 4 (€1000 and 1 bottle): Construct a 4×4 magic square using distinct positive cubed integers, or prove that it is impossible.
- Small Enigma 4a (€500 and 1 bottle): Construct a 5×5 magic square using distinct positive cubed integers, or prove that it is impossible.
- Small Enigma 4b (€500 and 1 bottle): Construct a 6×6 magic square using distinct positive cubed integers, or prove that it is impossible.
- Small Enigma 4c (€200 and 1 bottle): Construct a 7×7 magic square using distinct positive cubed integers, or prove that it is impossible. (When such a square is constructed, if small enigma 3a of the 7×7 semi-magic is not yet solved, then the person will win both prizes — that is to say a total of €300 and 2 bottles.)
How big are the smallest integers allowing the construction of a multiplicative magic cube?
Contrary to all other enigmas which concern the magic squares, this one concerns magic cubes. An n×n×n multiplicative magic cube is a cube whose n2 rows, n2 columns, n2 pillars, and 4 main diagonals have the same product P. Today the best multiplicative magic cubes known are 4×4×4 cubes in which the largest used number among their 64 integers is equal to 364. We do not know if it is possible to construct a cube with smaller numbers.
A 4×4×4 multiplicative magic cube by Christian Boyer. Max number=364. P=17,297,280.
- Main Enigma 5 (€1000 and 1 bottle): Construct a multiplicative magic cube in which the distinct positive integers are all strictly lower than 364. The size is free: 3×3×3, 4×4×4, 5×5×5,... . Or prove that it is impossible.
How big are the smallest possible additive-multiplicative magic squares: 5×5, 6×6, 7×7 or 8×8?
An n×n additive-multiplicative magic square is a square in which the n rows, n columns and two diagonals have the same sum S, and also the same product P. The smallest known are 8×8 squares, the first one of which was constructed in 1955 by Walter Horner, an American teacher of mathematics. We do not know any 5×5, 6×6 or 7×7 squares. It has been proved that 3×3 and 4×4 additive-multiplicative magic squares are impossible.
- Main Enigma 6 (€1000 and 1 bottle): Construct a 5×5 additive-multiplicative magic square using distinct positive integers, or prove that it is impossible.
- Small Enigma 6a (€500 and 1 bottle): Construct a 6×6 additive-multiplicative magic square using distinct positive integers, or prove that it is impossible.
- Small enigma 6b (€200 and 1 bottle): Construct a 7×7 additive-multiplicative magic square using distinct positive integers, or prove that it is impossible.
Here is an "almost" magic square of squares, where all the rows and columns, and one of the diagonals sum to 21609. Sadly, the diagonal from top left to bottom right sums to 14358
94^2, 2^2 , 113^2
97^2, 74^2, 82^2
58^2, 127^2, 46^2
arthur dot vause at gmail.com
This is just the transformation of Lee Sallows's magic square (L. Sal lows, The lost theorem, Math. Intelligencer 19 (1997), no. 4, 51-54).
is that a parker square?
this is a classic parker square
Here is an "almost" magic square.
All rows and columns, and one diagonal sum to 21609. Sadly the diagonal from top left to bottom right sums to 14358
94^2, 2^2, 113^2
97^2, 74^2, 82^2
58^2, 127^2, 46^2
I've pieced together a small script in Excel searching for a perfect 3x3 magic square of squares.
The first version was limited to search for integers between 1 and 1000. But I can't be the first one trying to brute force the main enigma 1 problem here. Not when there is a bottle at stake. But how far up in the integers have we searched for a solution?
It has been mathematically proven that the smallest number in a complete 3x3 magic square of squares – if it even exists – would have to be larger than 10^14.
I would definitely recommend starting with the algebra before moving on to brute force. Personally, I've found a parametric formula which turns 4 variables of almost any arbitrary value into a 5/9 square of squares (the 4 corners and the center), and I've brute forced about 150 specific values which create 6/9 squares (the 4 corners, the middle, and one of the sides).
Out of all of the 6/9 squares that I have found myself, my favorite (per my love of horrifyingly large numbers) is the one with
17-digit square, 14-digit square, 18-digit square
18-digit non-square, 17-digit square, 15-digit non-square
14-digit square, 18-digit non-square, 17-digit square
However, I have not found a general parametric formula for generating 6/9 squares from any arbitrary value of variables, nor have I found any 7/9 squares by applying brute force to my 5/9 formula.
well i reached 20 million on excel and gave up. good luck :)
I've find another magic square using 7 distinct squares. Is it worthy?
Because: Main Enigma 1 (€1000 and 1 bottle): Construct a 3×3 magic square using seven (or eight, or nine) distinct squared integers different from the only known example and its rotations, symmetries and k2 multiples. Or prove that it is impossible.
I looked into that topic a bit and came to the conclusion that the smallest possible one with six squares is.
17^2; 35^2; 19^2
697 ; 25^2; 553
889 ; 5^2 ; 31^2
Maybe that is already known
Hi renes, I found an even smaller one, SUM: 435
5^2; 241; 13^2
17^2; 145; 1^2
11^2; 7^2; 265
I checked all solutions up tot S=1,500,000. Did not find another 3 x 3 magic square of 7 or more distinct squared integers. I did however find many with 6. They seem to get more rare the higher you get. The last one I found was:
S = 1,470,000
I'm interested as to how you check these. Could I possibly have some info on that?
Yeah that will be a great help if you tell how to check it using computer.. THANK YOU.
Because applying simple algebra, I have also found a magic square consisting of 6 out of 9 different square numbers which is already shown above in a message.The total sum is 1875.
35^2 (-311) 31^2
19^2 25^2 889
17^2 1561 5^2
I have the code that generates possible P values for it but I'm not sure how given the P value to check if there is a possible 4x4x4 multiplicative magic cube that works (and hopefully without having to try all 64! possibilities. Is there a pretty easy way to do this?
x and y are triangular numbers, and we know 8* any triangular number = an odd square.
1+8*(2*y); 1+8*(x+(2*y)); 1+8*(2*(x+y))
1+8*(y); 1+8*(x+y); 1+8*(y+(2*x))
1; 1+8*(x); 1+8*(2*x))
So if 2*x and 2*y are triangular numbers, then you automatically have 5 squared integers.
Then if two out of four possible options of: x+y or 2*(x+y) or x+2*y or y+2*x are triangular numbers. Then you have the 7!
X; 2*Y; Y+2*X
2*(X+Y); X+Y; 0
Y; 2*X; X+2*Y
If all entries are triangular numbers, then we know that 8 times any triangular number +1 equals an odd square. (0*8 + 1=1^2)
I think I may have solved this but I am afraid the solution I came up with is a few typed pages long. Is there an email or something I can send the proof to? Be warned its a little rough but all of the necessary ideas are there and if it isn't I'd gladly reply to questions.
This was the closest I could come but I’m unhappy with the answer. If you want to contact me- firstname.lastname@example.org
X being any positive integer. i being imaginary
(x sqrt(3))^2, ((x2)i)^2, (x)^2
((x sqrt(2))i)^2, 0, (x sqrt(2))^2
(xi)^2, (x2i)^2, ((x sqrt(3)i)^2
I’m formatting on a phone sorry
has the impossibility of 3x3 magic square with 9 squared integers been prooven?
if i prove that a 3x3 magic square of all 9 squared integers is impossible, do i win the prize?
Nothing found under S = 1,200,000,000
Searched until S=12,000,000,000,000 but could not find a solution for 9 distinct squares.
How is this even possible? Did you use Fugaku? =)
3,46415849^2, 999,9694993^2, 7^2
999,9469986^2, 5^2, 9^2
9,695377457^2, 6^2, -999,9349979^2
Excel solver - if you need them in integers, just multiply out the decimals...
You might want to double-check your math — none of the sums you provided line up with each other.
(We're also not supposed to use negative numbers)
127² 46² 58²
2² √(12768)² √(8856)²
74² 82² √(9389)²
Please 🙏 say if this format is correct
√(2)² √(7)² √(6)²
√(9)² √(5)² √(1)²
√(4)² √(3)² √(8)²