No symmetric magic squares of order three when the line sum is not divisible by three
ProvedMagicSquares.symm_three_otherwisecombinatoricsenumerative-combinatoricsmagic-squares
The zero case for symmetric magic squares.
Writing for the number of symmetric magic squares of order and line sum , the theorem is
the companion of the evaluation .
Proof. A symmetric magic square is in particular magic, and for a magic
square of order three and line sum the centre entry satisfies by
center_of_order_three. Hence is necessary for existence, and the
filtered finset symmetricMagicSquares 3 t is empty otherwise.
Context. Symmetry does not produce new line sums beyond those already admitted by the magic squares — it only cuts each magic fibre down. So the same divisibility obstruction applies, and the symmetric count, like the panmagic and the plain magic counts, vanishes off the multiples of three.
Preamble
import Mathlib import Definitions.Def_MagicSquares open MagicSquares
Formal statement
namespace MagicSquares theorem symm_three_otherwise (t : ℕ) (ht : ¬ 3 ∣ t) : symmetricMagicCount 3 t = 0 := by sorry end MagicSquares
Source
P. A. MacMahon, Combinatory Analysis, Vol. II, Cambridge University Press, 1916; M. Beck, T. Cohen, J. Cuomo and P. Gribelyuk, The number of "magic" squares, cubes and hypercubes, Amer. Math. Monthly 110 (2003), 707--717 (arXiv:math/0201013); W. S. Andrews, Magic Squares and Cubes, 2nd ed., Dover, 1960.
Human review
Confirmed by the mission captain (proposal self-audit).