Family ACDEG
Theorem and complete proof
General theory of the 4/9 and 5/9 orbits →Statement
Under the assumptions below, the formulas define an integral magic square of order 3 in which at least all 5 cells of the ACDEG mask are squares of integers. Other cells are allowed to be squares as well.
The parameters a, b, c, and d are arbitrary integers. Every auxiliary root introduced below is therefore integral.
Initial system and elimination of E, x, y
For every marked cell, introduce an integral root and substitute the corresponding Magic3 linear form. This gives the system:
The coefficient matrix of E, x, and y has rank 3. Eliminating them therefore leaves 2 independent homogeneous quadratic equations in the roots. The equations are derived and parametrized below.
Derivation of the root parametrization
Introduce the following auxiliary integers:
Define the declared cell values as the following explicit squares:
The red relation follows from r²+t²=2s². For the yellow relation, expand the two sums of squares: the mixed terms cancel, and P²+Q² is replaced by N².
First parametrize the red quadric by r, s, t. The yellow quadric then asks for preservation of the sum of squares of one pair. Up to scale, every rational point of the corresponding circle comes from P=d²−c², Q=2cd, N=c²+d², including the second projection point. Multiplying the pair by ((P,−Q),(Q,P)) gives the displayed roots, while P²+Q²=N² enforces compatibility with the chosen red triple.
Reconstruction of the magic square
Use the standard three-coordinate form:
Set the coordinates equal to the following linear combination of the square values already constructed:
The general linear lemma is applied directly: when the selected cell-form matrix has rank 3, its value vector lies in the image exactly when every vector in the left kernel annihilates it. The left kernel has dimension one for four cells and two for five cells. The colored identities above form precisely such a basis, while the displayed formulas for E, x, and y give the unique preimage.
Now substitute the coordinates into the nine Magic3 linear forms. Therefore
By the Magic3 form itself, every row, every column, and both diagonals sum to 3E. We have therefore obtained the required family of magic squares with square-valued mask ACDEG. This proves the claim.
Color lemmas used in this proof
Light-red arithmetic progression
A red triple means the linear condition U + W = 2V on three cells whose values are all perfect squares.
In this mask, the lemma variables are replaced by cells C, E, G; its conclusion is exactly the cell relation displayed above.
General statement and proof →Yellow equality of two sums of squares
A yellow four-cell support comes from composition of the Gaussian norm and gives an equality between two pairwise cell sums.
In this mask, the lemma variables are replaced by cells A, C, D, E; its conclusion is exactly the cell relation displayed above.
General statement and proof →Coverage completeness
Status: complete coverage. Completeness here refers to rational root vectors; integral representatives are obtained by clearing denominators and applying a common scale.
Broadest guaranteed subset
The entire set of rational root vectors satisfying the two quadrics for this mask, including the zero vector. Integral solutions are understood projectively: after clearing denominators, up to root signs and common scale.
Inverse construction
Invert the red arithmetic-progression triple by its complete parametrization. The remaining pair has the same nonzero sum of squares, so a rational Gaussian rotation relates its two rational representations. The triple P²+Q²=N² parametrizes every such rotation. If that norm is zero, the two quadrics force the zero vector.
What remains outside the guarantee
There are no uncovered rational branches. A possible zero denominator in the inverse chart is removed by changing root signs or forces the entire root vector to be zero; the formula also produces the zero vector.
Completeness is proved over the rational solutions of both quadrics.