On Euler's magic matrices of sizes 3 and 8
Pith reviewed 2026-05-22 17:57 UTC · model grok-4.3
The pith
Euler's magic matrices exist for n=8 but none exist for n=3.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
We construct explicit 8 by 8 integer matrices M such that M times M transpose equals gamma times the identity matrix, the sum of squared entries along each of the two main diagonals equals gamma, and all squared entries are distinct. We prove that no such 3 by 3 integer matrix exists.
What carries the argument
The proper Euler's magic matrix, an integer n by n matrix obeying the row-orthogonality condition M M^t = gamma I together with diagonal squared-sum gamma and pairwise distinct squared entries.
If this is right
- Examples for n=8 show that the combination of orthogonality, diagonal sums, and distinct squares is possible at least for some sizes beyond 4.
- Absence for n=3 establishes that the conditions cannot be met at the smallest odd size.
- The constructions for n=8 supply concrete integer matrices that can be checked directly for the required algebraic and combinatorial properties.
- The non-existence proof for n=3 indicates that exhaustive case analysis is feasible for small n and may constrain possible sizes.
Where Pith is reading between the lines
- The existence at n=8 raises the question of whether similar matrices can be built for other even sizes or via recursive block constructions.
- The n=3 impossibility may connect to known obstructions in small-order orthogonal designs or latin squares with extra sum constraints.
- If the same conditions can be relaxed by allowing repeated squares in controlled ways, the resulting objects might appear in signal-processing or coding-theory contexts.
Load-bearing premise
The explicit 8 by 8 matrices really meet the orthogonality, diagonal-sum, and distinct-square conditions, and the argument for n=3 rules out every possible integer filling.
What would settle it
A single 3 by 3 integer matrix whose squared entries are all different, whose rows are orthogonal with common squared length gamma, and whose two main diagonals each sum to gamma in squared entries would disprove the non-existence result.
read the original abstract
A proper Euler's magic matrix is an integer $n\times n$ matrix $M\in\mathbb Z^{n\times n}$ such that $M\cdot M^t=\gamma\cdot I$ for some nonzero constant $\gamma$, the sum of the squares of the entries along each of the two main diagonals equals $\gamma$, and the squares of all entries in $M$ are pairwise distinct. Euler constructed such matrices for $n=4$. In this work, we construct examples for $n=8$ and prove that no such matrix exists for $n=3$.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper defines a proper Euler's magic matrix as an n×n integer matrix M satisfying M M^t = γ I for nonzero γ, with the sum of the squares of entries on each main diagonal also equal to γ, and all squared entries pairwise distinct. Euler gave examples for n=4; the authors supply explicit constructions for n=8 and a proof by contradiction/exhaustion that no such matrix exists for n=3.
Significance. If the explicit 8×8 matrix and the n=3 case analysis hold under direct verification, the work supplies the first known examples beyond n=4 and a complete non-existence result for the smallest nontrivial case. The direct, checkable nature of both the matrix and the exhaustion argument strengthens the contribution to combinatorial matrix theory.
major comments (2)
- [§4] §4 (Construction for n=8): the provided 8×8 matrix must be shown to satisfy M M^t = γ I with the stated γ, the two diagonal square-sums equal to γ, and all 64 squared entries distinct; a single numerical check or reference to an external verification script would remove any residual doubt about arithmetic slips.
- [§5] §5 (Non-existence for n=3): the case analysis must explicitly enumerate all possible integer triples (a,b,c) with a²+b²+c²=γ and distinct squares, then rule out all sign and permutation variants that could satisfy the orthogonality conditions; if any branch is omitted, the contradiction argument is incomplete.
minor comments (2)
- [Introduction] The definition of 'proper' should be stated once in a numbered definition environment rather than repeated in the abstract and introduction.
- [§4] Table 1 (or the displayed 8×8 matrix) would benefit from an accompanying row/column of squared entries to facilitate immediate visual confirmation of distinctness.
Simulated Author's Rebuttal
We thank the referee for the positive evaluation and the specific suggestions that will improve the clarity and verifiability of our results. We have revised the manuscript to address both major comments.
read point-by-point responses
-
Referee: [§4] §4 (Construction for n=8): the provided 8×8 matrix must be shown to satisfy M M^t = γ I with the stated γ, the two diagonal square-sums equal to γ, and all 64 squared entries distinct; a single numerical check or reference to an external verification script would remove any residual doubt about arithmetic slips.
Authors: We agree that an explicit verification step strengthens the presentation. In the revised §4 we now include a short computational check (or reference to a short, self-contained Python script) confirming that the given 8×8 matrix satisfies MM^t = γI for the γ stated in the paper, that the sums of squares along both main diagonals equal γ, and that the 64 squared entries are pairwise distinct. revision: yes
-
Referee: [§5] §5 (Non-existence for n=3): the case analysis must explicitly enumerate all possible integer triples (a,b,c) with a²+b²+c²=γ and distinct squares, then rule out all sign and permutation variants that could satisfy the orthogonality conditions; if any branch is omitted, the contradiction argument is incomplete.
Authors: We accept that greater explicitness improves the rigor of the exhaustion argument. The revised §5 now lists all admissible integer triples (a,b,c) with a² + b² + c² = γ and distinct squares (within the bound implied by the matrix conditions), and for each triple we systematically examine every sign pattern and every permutation, showing that none can produce three mutually orthogonal rows. This makes the case analysis fully transparent and complete. revision: yes
Circularity Check
No significant circularity detected
full rationale
The paper's core results consist of an explicit integer matrix construction for n=8 that is directly verifiable against the stated conditions (M M^t = γ I, diagonal square sums equal to γ, and distinct squared entries) plus a self-contained case-analysis or exhaustion argument proving non-existence for n=3. Neither step invokes fitted parameters renamed as predictions, self-citations as load-bearing premises, ansatzes smuggled from prior work, or any reduction of the claimed result to its own inputs by definition. The derivation chain is therefore independent of the target claims and rests on direct mathematical verification.
Axiom & Free-Parameter Ledger
axioms (3)
- standard math Matrix multiplication and transpose satisfy M · M^t = γ I for some nonzero γ over the integers.
- domain assumption The sum of squared entries on each main diagonal equals γ.
- domain assumption All squared entries in the matrix are pairwise distinct.
Lean theorems connected to this paper
-
IndisputableMonolith/Foundation/AlexanderDuality.leanalexander_duality_circle_linking echoes?
echoesECHOES: this paper passage has the same mathematical shape or conceptual pattern as the Recognition theorem, but is not a direct formal dependency.
Theorem 1.2. There is no Euler’s magic matrix in Q^{3×3}. ... In Section 3 we examine the case n=8 ... using multiplication matrices of the octonions
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
-
[1]
McGraw-Hill Book Co., Inc., New York-Toronto-London (1960)
Bellman, R.: Introduction to matrix analysis. McGraw-Hill Book Co., Inc., New York-Toronto-London (1960)
work page 1960
-
[2]
Boyer, C.: Some notes on the magic squares of squares problem. Math. Intelligencer 27(2), 52–64 (2005). DOI 10.1007/BF02985794. URL https://doi.org/10.1007/ BF02985794
-
[3]
Bremner, A.: On squares of squares. Acta Arith. 88(3), 289–297 (1999). DOI 10. 4064/aa-88-3-289-297. URL https://doi.org/10.4064/aa-88-3-289-297
-
[4]
Bremner, A.: On squares of squares. II. Acta Arith. 99(3), 289–308 (2001). DOI 10.4064/aa99-3-6. URL https://doi.org/10.4064/aa99-3-6
-
[5]
Harris, J.: Algebraic geometry, Graduate Texts in Mathematics , vol. 133. Springer- Verlag, New York (1995). A first course, Corrected reprint of the 1992 original
work page 1995
-
[6]
Hsu, P.L.: On symmetric, orthogonal, and skew-symmetric matrices. Proc. Edin- burgh Math. Soc. (2) 10, 37–44 (1953). DOI 10.1017/S001309150001422X. URL https://doi.org/10.1017/S001309150001422X
- [7]
-
[8]
Liebeck, H., Osborne, A.: The generation of all rational orthogonal matrices. Amer. Math. Monthly 98(2), 131–133 (1991). DOI 10.2307/2323943. URL https://doi. org/10.2307/2323943
-
[9]
M¨ uller, P.: euler verify.sage – sagemath verification script. https://ypfmde. github.io/Papers/euler_verify.sage (2025). Accessed: 2025-07-23
work page 2025
-
[10]
Oswald, N., Steuding, J.: A hidden orthogonal Latin square in a work of Euler from
-
[11]
Math. Intell. 42(4), 23–29 (2020). DOI 10.1007/s00283-019-09959-8
-
[12]
Heritage of European Mathematics
Oswald, N., Steuding, J.: Hurwitz’s lectures on the number theory of quaternions. Heritage of European Mathematics. EMS Press, Berlin ([2023] ©2023). DOI 10. 4171/hem/13. URL https://doi.org/10.4171/hem/13
-
[13]
URL https://arxiv.org/abs/1908.00838
Pirsic, ´I.: A parametrization of 8x8 magic squares of squares through octonionic multiplication (2019). URL https://arxiv.org/abs/1908.00838
-
[14]
Pirsic, ´I.: Magische Quadrat-Quadrate und Divisionsalgebren. Math. Semesterber. 67(2), 169–183 (2020). DOI 10.1007/s00591-019-00268-x. URL https://doi.org/ 10.1007/s00591-019-00268-x
-
[15]
Robertson, J.P.: Magic squares of squares. Math. Mag. 69(4), 289–293 (1996). DOI 10.2307/2690537. URL https://doi.org/10.2307/2690537 EULER’S MAGIC MATRICES 13 Institute of Mathematics, University of W ¨urzburg, Germany Email address : peter.mueller@uni-wuerzburg.de
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.