Family BEFGJ
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 BEFGJ mask are squares of integers. Other cells are allowed to be squares as well.
The parameters a, b, c, and d are arbitrary integers. The theorem guarantees that B, E, F, G, and J are squares, but allows additional cells to become squares as well.
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 quadric is parametrized by r, s, t. For the second quadric, use a difference of squares: choose (e₀−j₀)(e₀+j₀)=λ²(t²−s²). This is the rational parametrization of the compatibility hyperbola after denominators are cleared.
The inverse algorithm first parametrizes B+F=2G. Next, at the root level, E−J=F−G becomes (e₀−j₀)(e₀+j₀)=(f₀−g₀)(f₀+g₀). If at least one of E and J is nonzero, choose root signs with e₀−j₀≠0; after a common rescaling, the two factors give rational c and d. The branch E=J=0 is handled separately in the coverage section.
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 BEFGJ. 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 B, G, F; 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 B, E, G, J; its conclusion is exactly the cell relation displayed above.
General statement and proof →Coverage completeness
Status: exact conditional coverage. Completeness here refers to rational root vectors; integral representatives are obtained by clearing denominators and applying a common scale.
Broadest guaranteed subset
Every rational solution for which at least one of E and J is nonzero, together with the zero solution. Equivalently, the whole family is covered except for the explicit nonzero line below.
Inverse construction
After completely inverting the red conic, choose the signs of e and j so that e−j≠0. For the target point take the common scale L=2(e−j), then c=e−j and define d by Kd²=L(e+j)/2. The identity (e−j)(e+j)=f²−g² makes d rational and recovers all five roots with the common factor L.
What remains outside the guarantee
The only component missed by the current chart is E=J=0 and B=F=G≠0. Both relations hold there, but e₀=Kd²+c² and j₀=Kd²−c² force c=0 and then λ=2cd=0, so a nonzero constant red triple cannot be produced.
Completeness is proved off one nonzero rational line and at the zero point; the line itself is not covered by this formula.