QouratR&D centreContact

Which of the lab’s squares of squares pass every arithmetic check?

Euler’s 4 × 4 example passes all ten line checks with a common sum of 8,515 and sixteen distinct positive squares.

Each 3 × 3 candidate misses one diagonal. Parker’s candidate also repeats three entries.

On this page
Euler reaches 10 of 10 lines. Parker and Sallows each reach 7 of 8.
Euler is the only square here with every row, column and diagonal at the same sum.Open full-size figure

Question

Which supplied square grids have distinct positive square integers in every cell and the same sum on every row, column and both long diagonals? The order is the number of rows. A successful order-four example cannot settle existence at order three.

Data

The lab supplied three fixed grids. Pierrat, Thiriet and Zimmermann reproduce Euler’s order-four example. The negative controls are attributed to Matt Parker and Lee Sallows. They are individual witnesses, not a sample from a search distribution.

Method

For each entry take the integer square root and square it back. Count distinct values. Sum each row, each column and both diagonals using exact integers. Set the target to the first-row sum. Run the lab verifier and independently enumerate the same lines.

Results

All ten Euler lines agree, while each order-three control matches only seven of eight.8 columnsCSV
SquareOrderDistinct entriesFirst-row sumMain diagonalOther diagonalLines at targetVerdict
Euler4168,5158,5158,51510 of 10Pass
Parker363,0513,0514,1077 of 8Fail
Sallows3921,60938,30721,6097 of 8Fail
The entries of Euler’s grid permit each sum to be checked by hand.5 columnsCSV
RowColumn 1Column 2Column 3Column 4
14,6248411,6811,369
22899616,2411,024
33,4817845293,721
41215,929642,401

Checks

Computational observation. Both verifiers accepted Euler and rejected Parker and Sallows. Parker repeats 1, 841 and 1,681, with anti-diagonal 4,107 against 3,051. Sallows has nine distinct entries but a main diagonal of 38,307 against 21,609. Neither rejection rules out other order-three arrangements.

What it means in plain words

A near miss can satisfy every horizontal and vertical test. Checking distinctness and both diagonals explains exactly where each example succeeds or fails.

References

Euler’s example · Sallows’s account · Integer arithmetic

Download reference list

  1. Pierrat, Thiriet and Zimmermann, Magic Squares of Squares

    Euler’s grid and its common sum of 8515.

    Opened 2026-11-26
  2. Lee Sallows, The Lost Theorem

    Historical source of the second order-three control.

    Opened 2026-11-26
  3. Python language documentation, numeric types

    Exact integer arithmetic in the independent witness checks.

    Opened 2026-11-26

Reproduce

From the study folder, run python code/check.py. The script verifies the included grids and verifier, checks every line independently and rebuilds both tables and the figure. SHA-256 of code/inputs.json: 4b9145cf26976348e4e8102f9c67d10550982240f1de5edb4856e8dbc52bda6f. Checked 26 November 2026.

Change log

25 November 2026. We recorded the original work.

26 November 2026. Checked the cited sources.

3 December 2026. Source files and reproduction notes were made portable for the archived copy. No result changed.

Our review

Rating 6.7 out of 10

  • Question 14 of 15
  • Evidence 15 of 25
  • Verification 12 of 15
  • Sources 10 of 15
  • Usefulness 13 of 20
  • Originality 3 of 10

The published Euler grid gives readers a complete worked acceptance test and the line table identifies both failed diagonals, though replaying all three grids requires the archive.

This is the centre's own review, not peer review by outside scholars; see Policies.

Cite this study

Titles are italic in Harvard, APA, MLA and Chicago.

First published .

Harvard

Qourat 2026, Which of the lab’s squares of squares pass every arithmetic check?, Research 008, Qourat Research and Development Centre, https://qourat.com/research/magic-squares/

APA (7th edition)

Qourat. (2026). Which of the lab’s squares of squares pass every arithmetic check? (Research 008). Qourat Research and Development Centre. https://qourat.com/research/magic-squares/

IEEE

[1] Qourat, “Which of the lab’s squares of squares pass every arithmetic check?” Qourat Research and Development Centre, Research 008, Nov. 26, 2026. [Online]. Available: https://qourat.com/research/magic-squares/

MLA (9th edition)

Qourat. Which of the Lab’s Squares of Squares Pass Every Arithmetic Check? Research 008, Qourat Research and Development Centre, 26 Nov. 2026, https://qourat.com/research/magic-squares/.

Chicago (author-date)

Qourat. 2026. Which of the Lab’s Squares of Squares Pass Every Arithmetic Check? Research 008. Qourat Research and Development Centre. https://qourat.com/research/magic-squares/.

BibTeX

@techreport{qourat-008,
  author = {Qourat},
  title = {{Which of the lab’s squares of squares pass every arithmetic check?}},
  institution = {Qourat Research and Development Centre},
  number = {Research 008},
  year = {2026},
  date = {2026-11-26},
  url = {https://qourat.com/research/magic-squares/}
}

Add the date you read the page if your style asks for one.