Tensor constructions for Euler magic matrices and proper examples of orders 9, 27, 81 and 243
arXiv:2609.05530
Abstract
An Euler magic matrix is an integer matrix satisfying together with two diagonal square-sum conditions; it is proper when its entry squares are pairwise distinct. M{ü}ller proved that Euler magic matrices exist in every order other than , and that no Euler magic matrix of order exists at all, while proper examples are considerably more restrictive. We describe a tensor construction whose factors are only required to satisfy the orthogonality equation : for a linear reindexing of the row index group obeying an explicit support condition, the reindexed Kronecker product of such factors satisfies the full Euler magic conditions in order . Choosing factors whose entry squares have pairwise distinct products, we obtain proper Euler magic matrices of orders , , and . The construction therefore produces proper examples in powers of three even though order three admits no Euler magic matrix, and the passage from the factors to the product is exactly where the Euler conditions are created rather than inherited. We give an explicit support condition on and show that it characterises the linear reindexings forcing the two Euler diagonal identities for every tuple of semi-magic factor arrays; over with two factors, such a reindexing exists only when . The four existence results are formalised in Lean 4, as are the two instances of the construction used to obtain them; the order- certificate is taken from the archived development and was not rebuilt in preparing this paper, although its witness was reproduced here by exact integer arithmetic. Further proper examples of orders and are verified by exact integer computation only.
16 pages, no figures. Accompanying Lean 4 development and independent exact-arithmetic checker: https://github.com/Bome2017/run004-euler-magic-verification (release v1.0.0, commit b9b4821f2078fcd75c7786e760f336c7688ced30)