Skip to main content
Home
plus.maths.org

Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Main navigation

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • For

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Popular topics and tags

    Shapes

    • Geometry
    • Vectors and matrices
    • Topology
    • Networks and graph theory
    • Fractals

    Numbers

    • Number theory
    • Arithmetic
    • Prime numbers
    • Fermat's last theorem
    • Cryptography

    Computing and information

    • Quantum computing
    • Complexity
    • Information theory
    • Artificial intelligence and machine learning
    • Algorithm

    Data and probability

    • Statistics
    • Probability and uncertainty
    • Randomness

    Abstract structures

    • Symmetry
    • Algebra and group theory
    • Vectors and matrices

    Physics

    • Fluid dynamics
    • Quantum physics
    • General relativity, gravity and black holes
    • Entropy and thermodynamics
    • String theory and quantum gravity

    Arts, humanities and sport

    • History and philosophy of mathematics
    • Art and Music
    • Language
    • Sport

    Logic, proof and strategy

    • Logic
    • Proof
    • Game theory

    Calculus and analysis

    • Differential equations
    • Calculus

    Towards applications

    • Mathematical modelling
    • Dynamical systems and Chaos

    Applications

    • Medicine and health
    • Epidemiology
    • Biology
    • Economics and finance
    • Engineering and architecture
    • Weather forecasting
    • Climate change

    Understanding of mathematics

    • Public understanding of mathematics
    • Education

    Get your maths quickly

    • Maths in a minute

    Main menu

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • Audiences

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Win money with magic squares

    4 May, 2010


    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:

    682 292412372
    172312792 322
    592282232 612
    11277282 492
    A 4×4 magic square of squares by Euler. An n×n magic square uses n2 distinct integers and has the same sum S for its n rows, its n columns and its two diagonals. Here S=8,515.

    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.

    373228925652
    3607214252 232
    20525272 222121
    The only known example of a 3×3 magic square using seven distinct squared integers, by Andrew Bremner. S=541,875.

    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.

    17365512462114
    58401295011120
    10813534443849
    879892102128
    116258679678
    22741281100119
    A 6×6 bimagic square by Jaroslaw Wroblewski. S1=408, S2=36,826.
    • 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.

    1632031831923
    1803813903153
    10831353150393
    2316031443243
    A 4×4 semi-magic square of cubes by Lee Morgenstern. S=7,095,816.
    • 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.

    11393153613183 403273683
    213343643573323 243453143
    3833358383663 23463103
    633313413303133 423393503
    37351312363543 653233193
    473363433333293 59352343
    553533203493253 16353563
    13623263353483 73603223
    An 8×8 magic square of cubes by Walter Trump. S=636,363.
    • 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.

    162207512613312011625
    105152100291382433934
    9227911364538150261
    573017422510823119104
    5875171901752216161
    13681841895087135114
    20020315761171024681
    1537854692321751960
    An 8×8 additive-multiplicative magic square by Walter Horner. S=840, P=2,058,068,231,856,000.
    • 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.
    Read more about...
    magic square
    • Log in or register to post comments

    Comments

    Anonymous

    28 August 2013

    Permalink

    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 Vause
    arthur dot vause at gmail.com

    • Log in or register to post comments

    Anonymous

    7 January 2014

    In reply to 3 x 3 magic square of squares by Anonymous

    Permalink

    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).

    • Log in or register to post comments

    JohnG

    15 December 2020

    In reply to 3 x 3 magic square of squares by Anonymous

    Permalink

    is that a parker square?

    • Log in or register to post comments

    spikyllama

    12 May 2022

    In reply to your solution by JohnG

    Permalink

    this is a classic parker square

    • Log in or register to post comments

    navin@371kumarshah

    21 September 2023

    In reply to 3 x 3 magic square of squares by Anonymous

    Permalink
    • Log in or register to post comments

    avause

    28 August 2013

    Permalink

    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

    • Log in or register to post comments

    Kasper

    11 May 2017

    Permalink

    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?

    • Log in or register to post comments

    Quinn

    8 August 2017

    In reply to searching for 3x3 by Kasper

    Permalink

    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.

    • Log in or register to post comments

    kevin oduor

    12 August 2020

    In reply to searching for 3x3 by Kasper

    Permalink

    well i reached 20 million on excel and gave up. good luck :)

    • Log in or register to post comments

    Sav

    27 July 2017

    Permalink

    I've find another magic square using 7 distinct squares. Is it worthy?

    • Log in or register to post comments

    renes

    27 October 2017

    In reply to About Main Enigma1 by Sav

    Permalink

    Yes.
    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.

    • Log in or register to post comments

    renes

    27 October 2017

    Permalink

    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

    • Log in or register to post comments

    Blue tit

    15 December 2019

    In reply to Smallest 3×3 magic square using six distinct squared integers by renes

    Permalink

    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

    • Log in or register to post comments

    Kevin

    10 April 2018

    Permalink

    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:

    532^2/980^2/476^2
    433552/700^2/546448
    868^2/140^2/696976

    S = 1,470,000

    • Log in or register to post comments

    David Steadman

    18 August 2019

    In reply to 3 x 3 by Kevin

    Permalink

    I'm interested as to how you check these. Could I possibly have some info on that?

    • Log in or register to post comments

    rahuljha6204@gmail.com

    12 March 2020

    In reply to Method by David Steadman

    Permalink

    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

    • Log in or register to post comments

    Houston W.

    25 May 2019

    Permalink

    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?

    • Log in or register to post comments

    Blue tit

    15 December 2019

    Permalink

    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!

    • Log in or register to post comments

    Blue tit

    15 December 2019

    Permalink

    X; 2*Y; Y+2*X
    2*(X+Y); X+Y; 0
    Y; 2*X; X+2*Y

    SUM: 3*(X+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)

    • Log in or register to post comments

    nikolih.

    25 February 2020

    Permalink

    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.

    • Log in or register to post comments

    Nikoli

    19 May 2020

    Permalink

    This was the closest I could come but I’m unhappy with the answer. If you want to contact me- nikoliishot@aim.com

    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

    • Log in or register to post comments

    kevin oduor

    12 August 2020

    Permalink

    has the impossibility of 3x3 magic square with 9 squared integers been prooven?

    • Log in or register to post comments

    kevin oduor

    12 August 2020

    Permalink

    if i prove that a 3x3 magic square of all 9 squared integers is impossible, do i win the prize?

    • Log in or register to post comments

    JamesP

    16 September 2020

    Permalink

    Nothing found under S = 1,200,000,000

    • Log in or register to post comments

    JamesP

    17 September 2020

    Permalink

    Searched until S=12,000,000,000,000 but could not find a solution for 9 distinct squares.

    • Log in or register to post comments

    MKamenyuk

    21 January 2021

    In reply to 3 x 3 magic square of squares: Computational result by JamesP

    Permalink

    How is this even possible? Did you use Fugaku? =)

    • Log in or register to post comments

    Nico Michaelides

    13 July 2021

    Permalink

    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...

    • Log in or register to post comments

    Quinn

    2 December 2021

    In reply to 3x3 Magic Square by Nico Michaelides

    Permalink

    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)

    • Log in or register to post comments

    Ayush Hansda

    14 May 2022

    Permalink

    127² 46² 58²
    2² √(12768)² √(8856)²
    74² 82² √(9389)²

    • Log in or register to post comments

    Ayush Hansda

    14 May 2022

    Permalink

    Please 🙏 say if this format is correct
    √(2)² √(7)² √(6)²
    √(9)² √(5)² √(1)²
    √(4)² √(3)² √(8)²

    • Log in or register to post comments

    Rafael Pinero Gallardo

    21 May 2022

    Permalink

    So my apophysis is that if I just put a lot of different versions of infinity some bigger than overs I know weird and put them in one square that would be allowed in the rules.

    • Log in or register to post comments

    My 17x17 Square hope I win money

    21 May 2022

    Permalink

    So basically my analysis is that there are many types of infinities bigger than others and I just if I just put them in one square I could win.

    • Log in or register to post comments

    Michael T Chase

    28 August 2022

    Permalink

    If x, y, z, s, t, r, o, p, and q are the spaces of the 3x3, then
    x^2+y^2+z^2=
    s^2+r^2+t^2=
    o^2+p^2+q^2=
    x^2+r^2+t^2=
    x^2+s^2+o^2=
    y^2+r^2+p^2=
    z^2+t^2+q^2=
    o^2+r^2+z^2.
    If you then divide each equation by z, we get three parts of the equation that cancel z. Thus,
    x^2+y^2=t^2+q^2=o^2+r^2. Therefore, if one can get six squares to equal each other, one will be closer the the answer of the 3x3. However, Wolfram Alpha posits the only real answer is zero.

    • Log in or register to post comments

    Allison Felix

    11 April 2023

    Permalink

    To demonstrate that it is not possible to construct a combination of 16 numbers that add up to exactly 256 in each row, column, and diagonal, we can use the parity method.

    If we add up the numbers in a magic square of odd size (e.g. 3x3, 5x5, 7x7), the resulting sum is always an odd number. This is because each number on the main diagonal is counted twice, while each number on a secondary diagonal is counted only once. As there is an odd number of diagonals, the total sum will be odd.

    On the other hand, if we add up the numbers in a magic square of even size (e.g. 4x4, 6x6, 8x8), the resulting sum is always an even number. This is because each number on a diagonal is counted only once, and there is an even number of diagonals. Therefore, the total sum will be even.

    In the case of a 4x4 magic square, the sum of the numbers must be equal to 256. Since 256 is an even number, each row, column, and diagonal must add up to an even number. Therefore, if we add up the numbers on a main diagonal (which contains 4 numbers), we will get an even sum, as each number is counted twice. Similarly, if we add up the numbers on a secondary diagonal (which contains 4 numbers), we will get an even sum, as each number is counted only once. Therefore, the sum of the two diagonals will be even.

    However, since the diagonals already add up to an even number, it is not possible for the rows and columns to also add up to an even number, unless some numbers are counted more than once. But since each number appears only once in a magic square, it is not possible to have an even sum in all the rows, columns, and diagonals. Therefore, it is not possible to construct a 4x4 magic square with a sum of 256 in each row, column, and diagonal.

    To demonstrate this, we can use the following notation:

    A1, A2, A3, A4 are the numbers in the first row;
    B1, B2, B3, B4 are the numbers in the second row;
    C1, C2, C3, C4 are the numbers in the third row;
    D1, D2, D3, D4 are the numbers in the fourth row.
    The sum of the numbers in each row, column, and diagonal can be represented as follows:

    S1 = A1 + A2 + A3 + A4
    S2 = B1 + B2 + B3 + B4
    S3 = C1 + C2 + C3 + C4
    S4 = D1 + D2 + D3 + D4
    S5 = A1 + B1 + C1 + D1
    S6 = A2 + B2 + C2 + D2
    S7 = A3 + B3 + C3 + D3
    S8 = A4 + B4 + C4 + D4
    S9 = A1 + B2 + C3 + D4
    S10 = A4 + B3 + C2 + D1
    In order for it to be possible to construct a combination of 16 numbers that add up to exactly 256 in each row, column, and diagonal, all values of S1 to S10 must be equal to 256.

    We can use the following equation to calculate the value of each sum:

    Si = ai1 + ai2 + ai3 + ai4, where i is the number of the sum and ai1, ai2, ai3, ai4 are the four numbers that make up the sum.
    We can rearrange the equation as follows:

    ai1 = Si - ai2 - ai3 - ai4
    We can use this equation to calculate the value of each number based on the values of the other three. For example, we can calculate the value of A1 as follows:

    A1 = S1 - A2 - A3 - A4
    We can use this same equation to calculate the value of all the other numbers.

    However, if we try to apply this equation to all the sums, we will see that there is a conflict. For example, if we try to calculate the value of A1 using the sums S1, S5, and S9, we will get three different equations:

    A1 = S1 - A2 - A3 - A4
    A1 = S5 - B1 - C1 - D1
    A1 = S9 - B2 - C3 - D4
    These equations cannot all be true, because each number must appear only once in the combination of 16 numbers. Therefore, it is not possible to construct a combination of 16 numbers that add up to exactly 256 in each row, column, and diagonal.

    • Log in or register to post comments

    Allison Felix

    11 April 2023

    Permalink

    It is not possible to construct a magic square that is both additive and multiplicative, even if the sum and the product are different. To understand why this is true, we can use the distributive property of multiplication over addition.

    Suppose we have a 5x5 magic square that is both additive and multiplicative, with a magic sum S and a magic product P. We can then write the following equations:

    x₁ + x₂ + x₃ + x₄ + x₅ = S
    x₆ + x₇ + x₈ + x₉ + x₁₀ = S
    x₁₁ + x₁₂ + x₁₃ + x₁₄ + x₁₅ = S
    x₁₆ + x₁₇ + x₁₈ + x₁₉ + x₂₀ = S
    x₂₁ + x₂₂ + x₂₃ + x₂₄ + x₂₅ = S

    x₁ * x₂ * x₃ * x₄ * x₅ = P
    x₆ * x₇ * x₈ * x₉ * x₁₀ = P
    x₁₁ * x₁₂ * x₁₃ * x₁₄ * x₁₅ = P
    x₁₆ * x₁₇ * x₁₈ * x₁₉ * x₂₀ = P
    x₂₁ * x₂₂ * x₂₃ * x₂₄ * x₂₅ = P

    Now, if we multiply all the equations in the first list, we get:

    (x₁ + x₂ + x₃ + x₄ + x₅) * (x₆ + x₇ + x₈ + x₉ + x₁₀) * (x₁₁ + x₁₂ + x₁₃ + x₁₄ + x₁₅) * (x₁₆ + x₁₇ + x₁₈ + x₁₉ + x₂₀) * (x₂₁ + x₂₂ + x₂₃ + x₂₄ + x₂₅) = S⁵

    And if we multiply all the equations in the second list, we get:

    (x₁ * x₂ * x₃ * x₄ * x₅) * (x₆ * x₇ * x₈ * x₉ * x₁₀) * (x₁₁ * x₁₂ * x₁₃ * x₁₄ * x₁₅) * (x₁₆ * x₁₇ * x₁₈ * x₁₉ * x₂₀) * (x₂₁ * x₂₂ * x₂₃ * x₂₄ * x₂₅) = P⁵

    However, since the magic square is both additive and multiplicative, we can equate the two expressions above:

    S⁵ = P⁵

    But this contradicts Fermat's Last Theorem, which states that there are no integer solutions to the equation xⁿ + yⁿ = zⁿ when n is greater than 2. Therefore, it is not possible to construct a magic square that is both additive and multiplicative, even if the sum and the product are different.

    • Log in or register to post comments

    Allison Felix

    11 April 2023

    Permalink

    It is not possible to construct a magic square of cubes of order 6. Using modular arithmetic, we can show that it is impossible to obtain a sum of cubes that is a multiple of 6 or congruent to a multiple of 6 modulo 6.

    If we cube both sides of the equation 6S ≡ 0 (mod 6), we get:

    216S³ ≡ 0 (mod 6)

    Simplifying, we get:

    S³ ≡ 0 (mod 6)

    Now, we can consider all possibilities for each value of the sum S:

    • If S is a multiple of 6, then S³ is a multiple of 216, which means it is impossible to obtain a sum of cubes that is a multiple of 6.
    • If S is a multiple of 3, but not of 6, then S³ is a multiple of 27, which means it is impossible to obtain a sum of cubes that is congruent to a multiple of 6 modulo 6.
    • If S is not a multiple of 3, then S³ is congruent to 1 (mod 3) or -1 (mod 3). This means we cannot obtain a sum of cubes that is congruent to a multiple of 6 modulo 6.

    Therefore, it is not possible to construct a magic square of cubes of order 6.

    • Log in or register to post comments

    Allison Felix

    11 April 2023

    Permalink

    Consider a 3x3 cube, where the numbers in each cell are represented as a, b, c, d, e, f, g, h, and i.

    The sum of all these numbers is 45 (a + b + c + d + e + f + g + h + i = 45), and the sum of each row, column, and diagonal must be equal to 15.

    Let's assume that the sum of the numbers in each row is given by R, and the sum of the numbers in each column is given by C. We can then write the following equations:

    a + b + c = R
    d + e + f = R
    g + h + i = R
    a + d + g = C
    b + e + h = C
    c + f + i = C
    a + e + i = C
    c + e + g = C

    We can then solve these equations to get:

    a = (2C - R - e - i) / 2
    b = (2C - R - d - f) / 2
    c = (2C - R - e - g) / 2
    h = (2C - R - b - e) / 2
    g = (2C - R - h - i) / 2
    f = (2C - R - d - b) / 2

    Substituting these expressions into the equation for the sum of all the numbers in the cube, we get:

    a + b + c + d + e + f + g + h + i = 45

    Simplifying and rearranging terms, we get:

    5C - 3R = 45

    This equation implies that C and R must be odd and differ by a multiple of 3. However, this is not possible, since the sum of the numbers in each row, column, and diagonal of a 3x3 cube must be equal to 15, which is an odd number. Therefore, it is impossible to construct a semi-magic cube of order 3 using only cubes as the entries.

    • Log in or register to post comments

    Navin Kumar shah

    20 September 2023

    Permalink

    I got other magic square table which is similar to the Lee shallow magic square. Sadly, one of the diagonal sum is 465708.
    218^2 , 313^2 , 314^2
    103^2 , 394^2 , 302^2
    446^2 , 62^2 , 233^2

    Sum is 257049

    • Log in or register to post comments

    navin@371kumarshah

    20 September 2023

    Permalink
    • Log in or register to post comments

    Wellspring

    6 September 2025

    Permalink

    I have a solution for a 4×4×4 magic cube. 

    I even disprove the Quist constraints 

    But Christian Boyer doesn't answer his email...

    • Log in or register to post comments

    Navin451

    8 November 2025

    Permalink

    I have three different magic square tables, each consisting of nine perfect square numbers. In each table, all rows, all columns, and one of the diagonals have equal sums, but unfortunately, the other diagonal does not have the same sum.

     

    1418^2  , 6271^2 , 2162^2

    6049^2 , 2458^2 , 1838^2

    2722^2 , 802^2 , 6161^2

                   sum=46010409 and one diagonal's sum is 18125292

    2458^2 , 6271^2 , 2729^2

    6049^2 , 2969^2 , 2722^2

    3191^2 , 2162^2 , 6161^2

                   Sum = 52814646 and one diagonal’s sum is 26444883

    1418^2 , 6271^2 , 2729^2

    6049^2 , 2969^2 , 1838^2

    3191^2 , 802^2 , 6161^2

                    Sum = 48783606 and one diagonal’s sum is 26444883.

    • Log in or register to post comments

    Read more about...

    magic square
    University of Cambridge logo

    Plus is part of the family of activities in the Millennium Mathematics Project.
    Copyright © 1997 - 2025. University of Cambridge. All rights reserved.

    Terms