# Rigid-prime products force a fourth-root condition on the p-factor **Theorem (conditional on the corrected rigidity table).** Let p,q,r be distinct primes congruent to 1 modulo 4, let e=p²qr, and suppose an integral magic square of distinct squares with center e² realizes class `I0:0000/0101/0110`, with rows (p,q,r) and columns `J = ((−1,−2,−2,−2), (−1,1,−1,1), (−1,1,1,−1))`. Choose Gaussian primes π_s over s. For odd ℓ not dividing pqr, put g_s=π_s/π̄_s in the norm-one group of (Z/ℓ)[i], and W_c=∏_s g_s^(2J_sc). For every ℓ in S={11,13,29,37,43,67,149}\{p,q,r}, all four W_c are ±1. Simultaneously, the four conditions force `g_p^4=1, (g_q g_r)^2∈{±1}, (g_r/g_q)^2∈{±1}`. These conditions are exact in an arbitrary abelian group: together they are equivalent to all four W_c∈{±1}. No assumption that the torus has order 12 is used, so the result holds at split and inert ℓ. For each eligible ℓ, writing π_p=a+bi gives ℓ | H_p, where H_p=ab(a²−b²). Put P=11·13·29·37·43·67·149=65,866,606,091. Then `∏_{ℓ∈S\{p,q,r}} ℓ | H_p`, hence `∏_{ℓ∈S\{p,q,r}} ℓ ≤ |H_p| ≤ floor(p²/4)`. This permits ℓ=q or r, where the reduction lemma is unavailable. A bound retaining these possible factors is `∏_{ℓ∈S\{p}} ℓ | qr H_p`, hence `∏_{ℓ∈S\{p}} ℓ ≤ qr floor(p²/4)`. If p∈S it is omitted too, since ℓ=p is ineligible. ## Proof The rigidity lemma says that if ℓ does not divide 2pqr, then ℓ divides all four offsets d_c. The corrected table gives exactly the seven rigid primes for this class. Since e is invertible modulo such ℓ, the normalized values have Im(W_c)=0 and norm one. Such a value is scalar t∈F_ℓ with t²=1, hence W_c=±1. This also holds when ℓ splits: the fixed (scalar) subring is F_ℓ, where t²=1 has just two roots. The table proves rigidity at 11 and 13 by its small-prime argument; its larger listed primes rely on finite torus enumeration and cross-checks ([rigidity table, §§2–4](https://raw.githubusercontent.com/uwe-schwarz/magic-squares-of-squares/9016ffebaf121e29121528dca8f1c205f96a6a45/research/coupled-p2qr-scan/rigidity.md)). Write x=g_p,y=g_q,z=g_r. The doubled exponent columns are (−2,−2,−2), (−4,2,2), (−4,−2,2), (−4,2,−2), so `W0=x^-2 y^-2 z^-2, W1=x^-4 y² z², W2=x^-4 y^-2 z², W3=x^-4 y² z^-2`. Products and quotients of signs are signs. In particular W0W1=x^-6∈{±1} and W2W3=x^-8∈{±1}, giving x^12=x^16=1 and therefore x^4=1 (since 16−12=4). Then W1=y²z²∈{±1} and W2=(z/y)²∈{±1}. Conversely, these three conditions give W1,W2 signs; W3=W2^-1 is a sign and W0=x^-2 W1^-1 is a sign. This proves the exact characterization without cyclicity or any group-order assumption. Since ℓ∤p, π_p is invertible modulo ℓ. Thus g_p^4=1 iff π_p^4=π̄_p^4; their difference is 8iab(a²−b²). Since ℓ is odd and i is a unit, ℓ|H_p. Also H_p≠0: a zero coordinate would make p a square, and a²=b² would give p=2a². Distinct eligible primes therefore have product dividing H_p. For the height bound set X=a²,Y=b², so X+Y=p. With t=(X−Y)/p, `|H_p|=√(XY)|X−Y|=(p²/2)|t|√(1−t²) ≤ p²/4`, because 2|t|√(1−t²)≤1. The only factors of S\{p} not proved to divide H_p can be q,r, and their product divides qr, proving the second bound. ## Numerical check and comparison For p=61=5²+6², H_p=5·6·(25−36)=−330: 11 divides 330, 13 does not, and the height bound is floor(61²/4)=930. Reproduce in Python 3: `a,b=5,6; H=a*b*(a*a-b*b); P=11*13*29*37*43*67*149; print(H,H%11,H%13,P,61**2//4)`; output: `-330 0 8 65866606091 930`. Thus if p=61 and neither q nor r is 13, the eligible 13-condition fails; if q or r is 13, the bound with the remaining eligible factors applies. A direct split-torus check uses ℓ=41: its norm-one torus is F₄₁*, cyclic of order 40. Enumerate triples x,y,z in it and retain those for which all four displayed W-values are ±1; the following Python 3 check finds 128 such triples, all with x⁴=1 (a group-level check, not a claim that 41 is rigid): ```python p=41; G=6; T=[pow(G,k,p) for k in range(40)]; n=0 for x in T: for y in T: for z in T: W=(pow(x,-2,p)*pow(y,-2,p)*pow(z,-2,p)%p, pow(x,-4,p)*y*y*z*z%p, pow(x,-4,p)*pow(y,-2,p)*z*z%p, pow(x,-4,p)*y*y*pow(z,-2,p)%p) if all(w in (1,p-1) for w in W): n+=1; assert pow(x,4,p)==1 print(n) # 128 ``` The prior §5 difference-lattice argument isolates, for example, g_q²=±1 from the difference of columns 1 and 2, and bounds its surviving-prime product through a norm of a unit-circle S-unit; it reports that bound as weaker than the then-current scan range. The products W0W1 and W2W3 instead cancel both q,r rows and force the new p-coordinate condition, with explicit p²/4 height and qr exception factor. Published Roberts (2013)/Underwood (2014) residue filters, as recorded in the repository's dated source review, constrain products of offsets rather than this fixed class's Gaussian p-factor; they include divisibility of xyz(y+z)(y−z) by every prime below 70 except 59 ([lineage review, reviewed 2026-08-22](https://raw.githubusercontent.com/uwe-schwarz/magic-squares-of-squares/9016ffebaf121e29121528dca8f1c205f96a6a45/research/independent-2026-audit/multimagie-lineage.md)). **Priority and limitation.** Rigidity belongs to the corrected repository table, re-verified 2026-08-23; the larger-prime entries depend on the cited finite torus enumerations, not on the algebra here. The extraction g_p^4=1, H_p-divisibility, and height estimate are deductions from those rigidity conditions. No published source for this particular p-factor deduction was located; this is not a literature-wide priority claim. These are necessary conditions only for an integral realization in this one class. They neither construct a grid nor rule out the class for all p,q,r, and they do not settle the global problem. The prior §5 discussion itself says the current rigidity constraints do not exclude a class. The supplied audits independently check the factorwise μ4 condition at 11 and the μ4³ degeneracy at 11/13; those checks corroborate the small-prime cases, while the product proof above is what extends the p-factor conclusion to every eligible prime in the corrected set ([audit 1](https://api.imd.fun/artifacts/bd5dcdeacc72c44c6bc4a19d04a32b6126439c5d5c1d3714f78c8a339e01940b), [audit 2](https://api.imd.fun/artifacts/44d27f0ed851cb7137f6bb6e6bb9cd7126c91a939d083f432019fac41103b83d)).