ArticleslgStudy

mathematics

Magic square of squares

Magic square of squares is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Magic square of squares rather than just read about it. In short: The magic square of squares is an unsolved problem in mathematics which asks whether it is possible to construct a three-by-three magic square, the elements of which are all square numbers. The problem was first posed by Martin LaBar in the January 1984 College Mathematics Journal, before being included in Richard Guy's Unsolved problems in number theory (2nd edition) in 1994.

Magic square of squares — main illustration
Magic square of squares — illustration

Key takeaways

  • Magic square of squares belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Magic square of squares to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Magic square of squares from memory before moving on to harder problems.

Reference excerpt

The magic square of squares is an unsolved problem in mathematics which asks whether it is possible to construct a three-by-three magic square, the elements of which are all square numbers. The problem was first posed by Martin LaBar in the January 1984 College Mathematics Journal, before being included in Richard Guy's Unsolved problems in number theory (2nd edition) in 1994. The problem has been a popular choice for recreational mathematicians following two articles Martin Gardner published in Quantum Magazine on the problem, offering a prize of US$100 in 1996. Other prizes have subsequently been offered for the first solution.

Background

A magic square is a square array of integer numbers in which each row, column, and diagonal sums to the same number. The order of the square refers to the number of integers along each side. A trivial magic square is a magic square which has at least one repeated element, and a semimagic square is a magic square in which the rows and columns, but not both diagonals, sum to the same number.

Problem The problem asks whether it is possible to construct a third-order magic square such that every element is itself a square number. A square which solves the problem would thus be of the form

and satisfy the following equations x12+x22+x32=x42+x52+x62=x72+x82+x92=x12+x52+x92=x32+x52+x72=x12+x42+x72=x22+x52+x82=x32+x62+x92

Current research It has been shown that the problem is equivalent to several other problems.

Do there exist three arithmetic progressions such that each has three terms, each has the same difference between terms as the other two, the terms are all perfect squares, and the middle terms of the three arithmetic progressions themselves form an arithmetic progression? Do there exist three rational right triangles with the same area, such that the squares of the hypotenuses are in arithmetic progression? Does there exist an elliptic curve, y2=x3−n2x, where n is a congruent number, with three rational points on the curve, (x1,y1), (x2,y2), (x3,y3), such that each point is "double" another rational point on the curve ("double" in the sense of the group structure for points on an elliptic curve), and x1, x2 and x3 are in arithmetic progression?

Properties of a magic square of squares Let S denote the sum of each row, column or main diagonals of a primitive (the greatest common divisor of all entries is 1) third-order magic square of squares. If such a magic square of squares exists, it must satisfy the following properties.

All elements must be odd. More specifically, they must be of the form 24k+1. S=3a2 where a2is the middle element. S must thus be of the form S=72k+3. No element can have a prime divisor p of the form p=8k+3. All prime divisors p of the middle element must be of the form p=4k+1. A prime p of the form p=8k+5 cannot divide a non-corner edge element. If a prime p of the form p=4k+3 divides a corner element then it must also divide the two non-corner edge elements that are not adjacent to that corner. If a prime p of the form p=8k+5 divides a corner element then it must also divide the center element and the opposite corner element. Brute force searches for solutions have been unsuccessful, and suggest that if a solution exists, it would consist of numbers greater than at least 1014. Rice University professor of mathematics Anthony Várilly-Alvarado has expressed his doubt as to the existence of the magic square of squares.

Notable attempts There have been a number of attempts to construct a magic square of squares by recreational mathematicians.

Sallows' Square Following Gardner's prize offer for anyone who could find a magic square of squares in 1996, Lee Sallows published his attempt in The Mathematical Intelligencer. His attempt is unique in that all of the rows and columns, and one of the diagonals, all sum to the same square number.

Bremner Square In 1999, Andrew Bremner published his attempt at the problem, and further research surrounding magic squares of squares. Bremner's attempt differs from others in that not all elements of the square are square numbers, while all the rows, columns and diagonals sum to the same number.

Parker square The Parker square is an attempt by Matt Parker to solve the problem. His solution is a trivial, semimagic square of squares, as 412, 292 and 12 all appear twice, and the diagonal 232+372+472 sums to 4107 instead of 3051.

Non third-order magic squares of squares Magic squares of squares of orders greater than 3 have been known since as early as 1770, when Leonhard Euler sent a letter to Joseph-Louis Lagrange detailing a fourth-order magic square.

Multimagic squares are magic squares which remain magic after raising every element to some power. In 1890, Georges Pfeffermann published a solution to a problem he posed involving the construction of an eighth-order 2-multimagic square.

References

Worked examples

Example 1 — a first encounter with Magic square of squares

Start with the simplest possible case. Write down what Magic square of squares claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Magic square of squares before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Magic square of squares ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Magic square of squares

In research
Magic square of squares appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Magic square of squares in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Magic square of squares is common in secondary-school and first-year university syllabi. It links to neighbouring topics Discrete mathematics, Number theory, Recreational mathematics, so understanding it makes those chapters shorter.
In everyday life
Look for Magic square of squares outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Magic square of squares” →

How to study Magic square of squares in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Magic square of squares means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Magic square of squares out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Magic square of squares in simple terms?

The magic square of squares is an unsolved problem in mathematics which asks whether it is possible to construct a three-by-three magic square, the elements of which are all square numbers. The problem was first posed by Martin LaBar in the January 1984 College Mathematics Journal, before being inc…

Why does Magic square of squares matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Magic square of squares?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Magic square of squares.

Tags

  • Discrete mathematics
  • Number theory
  • Recreational mathematics
  • Unsolved problems in mathematics
  • Unsolved problems in number theory

Keep exploring