Family ABCGJ
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 ABCGJ 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:
Substitute the displayed polynomial roots into both quadrics. Mixed terms cancel in pairs; the remaining terms vanish by P²+Q²=N² and U²+2V²=M². The root formulas contain no division.
Parametrize the two norms separately: P²+Q²=N² and U²+2V²=M². After substitution, the two cell quadrics become a homogeneous linear system in the bilinear products PU, PV, QU, QV, NM, and the other displayed products. The five roots are compatible maximal minors of that system; direct expansion below shows that this chart has no hidden divisions or conditions.
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:
If a division by 2 is not integral, multiply every displayed root by 2. All cell values are then multiplied by 4, every homogeneous identity is preserved, and the numerators become even. This is exactly the normalization performed by the generator.
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 ABCGJ. This proves the claim.
Color lemmas used in this 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, G, J; its conclusion is exactly the cell relation displayed above.
General statement and proof →Blue x² + 2y² norm
A blue four-cell support encodes a weighted equality of squares obtained by composing the norm u² + 2v².
In this mask, the lemma variables are replaced by cells B, C, G, J; 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
First recover the rational rotation P²+Q²=N² from the yellow pair. The shared roots then give a linear system for U,V,M. Its displayed minor \Delta=N(3N^2-4Q^2)=N(3P^2-Q^2) is nonzero at every nonzero rational point: for ABCDE the remaining factor is 3P²+Q², while in the other two masks Q²=3P² over Q forces P=Q=0. Thus the system is invertible, and U²+2V²=M² is then completely parametrized by the second parameter pair.
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.