Answers are grounded in this paper and cite their sources.
Let N = 2 (mod 4) be large. We show that the number of n <= N such that n and N - n are both sums of two squares, Omega(n(N - n)) <= 9 and max(Omega(n), Omega(N - n)) <= 6 is at least c S_r(N) N/(log N)^2 with an explicit constant c = 0.25 and an explicit Euler product S_r(N) >= 1. The previous bounds, obtained by sifting the primes congruent to 3 mod 4 and a switching argument (Chen, doi:10.5281/zenodo.23137626), were 11 and 8. The new input is a level of distribution 2/5 for the weighted sequence r(n) r(N - n), where r counts representations as a sum of two squares. For coprime m, m' the sum of r(a) r(b) over ma + m'b = N is the N-th coefficient of the weight-two theta series of the quaternary form m(x^2 + y^2) + m'(z^2 + w^2). Siegel's theorem gives the main term as a product of local densities; Waibel's uniform bound for the Petersson norm of the cuspidal part of a theta series (Math. Proc. Cambridge Philos. Soc. 173 (2022)) and Deligne's bound, applied through the Hecke operators, give the error term O(d(N) N1/2 (mm')1/4 + eps) uniformly in m, m'. The sieve is a vector sieve of two linear components with Richert weights; no inert prime has to be sifted and no switching is needed. The final numerical inequality is verified with interval arithmetic. The archive contains the manuscript (LaTeX source and PDF, 12 pages), self-contained Python scripts (FFT computation of the representation numbers for all N up to 2^23 and comparison with the Siegel main term, interval-arithmetic certification of the sieve inequality, parameter scan, and the Mertens-type constant of the main term), the resulting data and figure, and the raw outputs. Numerically the error does not grow with mm' at all, which suggests level of distribution 1/2 and the bounds 8 and 5 (Conjecture 5.1 of the paper). Development repository: https://github.com/Ruqing1963/two-squares-theta-level (tag v1.0).
No takes yet. Share an insight, caveat, or question.
Ruqing Chen (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: