Journal of Economic Intelligence and Mathematics

DOI PREFIX 10.67238
FREQUENCY Annual (One issue per year)
×

Contact Emails

mathematics@globalmeetx.net
support@globalmeetx.com
editorial@globalmeetx.com
finance@globalmeetx.com
A Restricted Weak Ternary Goldbach Theorem via Prime Anchoring and an Explicit Almost-All Bound with Effective Constants
Review Article - Volume: 1, Issue: 1, 2026 (October)
Ibar Federico Anderson*

Universidad Nacional de La Plata La Plata, República Argentina

*Correspondence to: Ibar Federico Anderson, Universidad Nacional de La Plata La Plata, República Argentina, E-Mail:
Received: June 25, 2026; Manuscript No: JEIM-26-8176; Editor Assigned: July 06, 2026; PreQc No: JEIM-26-8176(PQ); Reviewed: August 18, 2026; Revised: August 28, 2026; Manuscript No: JEIM-26-8176(R); Published: October 14, 2026

ABSTRACT

We establish unconditional almost-all ternary results for the restricted weighted Goldbach sum

Wa,q(n):=∑p1+p2+p3=np1≡a (mod q)(logp1)(logp2)(logp3), q≥1, gcd(a,q)=1,

together with conditional extensions under the Density Hypothesis and the Generalized Riemann Hypothesis.

Main results.

(A) Almost-all via prime anchoring [Proved]. For every A>0,

#{n≤X, n  odd:Wa,q(n)=0}≪A,qX(logX)−A.

(B) Almost-all with full asymptotic [Proved]. For all odd n≤X outside an exceptional set of size OA,q(X(logX)−A),

Wa,q(n)=J3,a,q(n)φ(q) n2+OA,q(n2(logn)A),

where the ternary singular series J3,a,q(n)>0 is positive and effectively computable. For (a,q)=(3,4) the main term equals (C2S(n)/4)n2 with C2∈[0.6601618157,0.6601618160].

The minor-arc bound Kmin(q,A)≤2.10/φ(q) is proved in full, self-containedly, via the exact L2-orthogonality identity ∥Sa,q∥L22=∥S∥L22/φ(q) and a Hölder (L2,L∞,L2) factorization. The exceptional-set constant is Cternary(A,q)≤4.41/φ(q)⋅2A [Proved].

Articles 1, 2, and 3 by the same author of this work provide all the black box input data. No GRH, no density hypothesis, and no ternary sieve are used in Parts (A) and (B).

Keywords: Ternary Goldbach problem; Arithmetic progressions; Restricted Goldbach sum; Circle method; Hardy–Littlewood method; Minor arc estimates; Major arc estimates; Dirichlet characters; Exponential sums; Almost-all results; Exceptional set; Singular series; Prime Number Theorem; Vaughan identity; Hölder inequality; L²-orthogonality; Vinogradov–Vaughan bounds; Zero-density hypothesis; Generalized Riemann Hypothesis (GRH); Explicit constants

INTRODUCTION and EPISTEMIC FRAMEWORK

Background and motivation

Goldbach’s ternary (weak) conjecture asserts that every odd integer n≥7 is the sum of three primes. Its unconditional proof for all n≥5 was established by Helfgott [8] using the Hardy–Littlewood circle method [7] with an extensive computational verification for small n. In the unrestricted ternary problem one counts all triples (p1,p2,p3) with p1+p2+p3=n; no congruence restriction is placed on any summand.

The present paper studies the restricted variant, in which the first prime summand is required to lie in a fixed arithmetic progression:

Wa,q(n):=∑p1+p2+p3=np1≡a (mod q)(logp1)(logp2)(logp3), q≥1, gcd(a,q)=1.          (1)

This restriction is not covered by Helfgott’s theorem: requiring p1 to lie in a specific residue class modulo q introduces Dirichlet characters and the zero-distribution of L-functions in an essential way. The qualitative almost-all theory for Wa,q(n) was developed by Mikawa [12] and Zhan [18] (see also Montgomery–Vaughan [13]), but neither paper provides explicit constants or tracks the dependence on q.

The purpose of this paper is to:

give a completely explicit almost-all theorem for Wa,q(n) with effective constants derived from the binary theory;

supply a complete, self-contained proof of the minor-arc bound Kmin(q,A)≤2.10/φ(q) via the Hölder (L2,L∞,L2) factorization, closing the sole external dependency that appeared in earlier versions of this paper;

locate precisely those steps where the argument is complete and those where a gap remains;

state clearly what the result says versus what Helfgott’s theorem says.

Relation to Papers 1 and 2

This paper is the third in the Anderson series [1] establishes the unconditional almost-all theorem for the binary restricted sum

Ra,q(N):=∑p1+p2=Np1≡a (mod q)(logp1)(logp2)

with fully explicit certified constants:

C2∈[0.6601618157,0.6601618160],G∈[1.4132088648,1.4132089899],cMV:=G/2≤0.706604, κsafe:=4.40, CV:=2, cL2:=1.001.

All enclosures are verified by partial products to P=106 with rigorous tail bounds [Comp. Verified].

Important correction from Paper 1 [1]. The constant K:=2C(1,4) was reported as K≤3.3624 in an earlier version of paper (v2: version 2), but paper itself corrects this value to K≤38.02 after identifying an error in the Stechkin-function [16] minimization (the minimum of f1(η)=(1+η)3+η−1 is s*(1,q)≈5.130, not 0.4546 as previously claimed). Throughout this paper we use the corrected value K≤38.02 when we refer to the binary exceptional-set constant; wherever the older value 3.3624 appears in intermediate calculations it is understood as a placeholder that should be replaced by 38.02 in any quantitative application.

Paper 2 [2] establishes conditional pointwise results for Ra,q(N) under GRH and the Density Hypothesis, including:

  • the corrected saddle-point exponent θ(A)=1−2/(A+2) (replacing incorrect prior formulas θ=1−1/A and θ=1−2/A);

  • the explicit certified GRH threshold logN0(4)≤46.1 (with logN0(4)=45.93 under Normalisation B, and a complete three-normalisation audit);

  • the Siegel-zero certification: all 122 primitive real Dirichlet characters of conductor q≤200 are free of Siegel zeros, with global minimum Lcert=0.2344 at q=163.

The conditional ternary results of Theorems 1.4 and 1.5 below follow from those of Paper 2 [2] via the transfer mechanism of Section 3.

This paper is the terminal paper of the unconditional-plus-ternary branch of the series; it depends on nothing beyond Papers 1 and 2 [1, 2].

Why restricted ternary ≠ Helfgott’s theorem

It is essential to understand why Helfgott’s theorem does not imply the results of this paper.

  • Helfgott’s theorem asserts: for every odd n≥7, there exist primes p1,p2,p3 with p1+p2+p3=n. This is an existence result: it says nothing about which residue class any summand belongs to.

  • Anderson’s restricted theorem asserts: for almost all odd n, there exist primes p1,p2,p3 with p1+p2+p3=n and p1≡a (mod q) for a prescribed residue class a.

These are genuinely different statements because the class constraint on p1 introduces Dirichlet characters χ (mod q) into the exponential-sum decomposition of Wa,q(n). The analytic content of the restricted theorem is the equidistribution of primes among residue classes modulo q — governed by the zero-distribution of Dirichlet L-functions L(s,χ) — which Helfgott’s argument never needs to invoke. Concretely, starting from a representation n=p1+p2+p3 with no class restriction, there is no mechanism that forces p1 into any particular class; the restricted problem requires new analytic content.

Moreover, Helfgott’s proof is pointwise (valid for every n≥5) whereas the present paper proves an almost-all statement (valid for all n outside a set of density zero). The passage from almost-all to all requires additional hypotheses (DH or GRH), as in Papers 1 and 2 [1, 2].

Main results

We state all main theorems here, before their proofs. Each statement carries its exact epistemic label.

Theorem: (Almost-all via prime anchoring; [Proved]). Fix q≥1 and gcd(a,q)=1. For every A>0,

#{n≤X, n  odd:Wa,q(n)=0}≪A,qX(logX)−A.

Theorem: (Almost-all with full asymptotic; [Proved]). Fix q≥1, gcd(a,q)=1, and A>0. There exists an effectively computable constant Cternary(A,q)≤4.41/φ(q)⋅2A such that for all odd n≤X outside a set of size at most Cternary(A,q)⋅X(logX)−A, Wa,q(n)=J3,a,q(n)φ(q) n2+OA,q(n2(logn)A),

where J3,a,q(n)>0. In particular Wa,q(n)>0 for all odd n not in this exceptional set.

Theorem: (Explicit form for (a,q)=(3,4); [Proved]). For every A>0, all odd n≤X outside a set of size OA(X(logX)−A) satisfy

W3,4(n)=C2 S(n)4 n2+OA(n2(logn)A),

where C2∈[0.6601618157,0.6601618160] and S(n)=∏𝓁∣n, 𝓁>2(𝓁−1)/(𝓁−2)≥. In particular W3,4(n)≥(C2/4)⋅n2/(logn)O(1)>0.

Theorem: (Conditional under DH; [Cond. Proved (DH)]). Assume the Zero-Density Hypothesis N(σ,T,χ)≪Tc(1−σ)+ε with c=12/5 (Huxley [9]). Then for every ε>0 and all sufficiently large odd n (effectively),

Wa,q(n)=J3,a,q(n)φ(q) n2+Oq,ε(n1+θDH+ε), θDH=1−2c+2=611≈0.545.

Theorem: (Conditional under GRH; [Cond. Proved (GRH)]). Assume GRH for all L(s,χ), χ (mod q). Then for every ε>0 and all odd n≥N0ternary(q) (effective),

Wa,q(n)=J3,a,q(n)φ(q) n2+Oq,ε(n3/2+ε).

For q=4 one may take logN0ternary(4)≈116.8, i.e., N0ternary(4)≈1050.7.

Epistemic framework

Every non-trivial assertion in this paper carries exactly one of the following labels.

Unconditionally established by a complete written argument in this paper or cited from a companion paper in the series (papers entitled [1] and [2]).

Proved assuming the explicitly stated Zero-Density Hypothesis.

Proved assuming GRH for the relevant Dirichlet L-functions.

A numerical inequality verified by explicit computation to stated precision.

A plausible result or step with a precisely identified gap.

Note. After the merger of Papers 3, no result in this paper carries the [Honest Caveat] label except for the heuristic GRH threshold of Theorem 9.5 and the DH sketch of Remark 9.3. All prior instances of [Honest Caveat] on Kmin are replaced by [Proved].

What this paper does not claim.

We do not prove Wa,q(n)>0 for every odd n unconditionally. Theorems 1.1–1.3 are almost-all results; the exceptional set may be non-empty.

We do not prove GRH, RH, or any zero-free region beyond the classical ones.

We do not resolve the full ternary Goldbach conjecture in arithmetic progressions (which would require all three primes in specified classes).

We do not produce a computational verification that Wa,q(n)>0 for all small odd n≤N0.

The 3/2-power scaling of the GRH effective constant for the ternary threshold is heuristically motivated, not rigorously derived [Honest Caveat] (Theorem 9.5).

Organisation

Section 2 fixes notation and constants. Section 3 proves the transfer lemma and Theorem 1.1. Section 4 establishes positivity of J3,a,q(n). Section 5 handles the major-arc contribution. Section 6 proves the minor-arc bound via two complementary routes (the central technical contribution). Section 7 assembles Theorem 1.2 and Theorem 1.3. Section 8 discusses Kmin explicitly. Section 9 gives conditional extensions. Section 10 tabulates all constants. Section 11 lists open problems. Section 12 compares with Helfgott’s theorem. Section 13 gives the logical flow summary.

The two main works [1], [2], along with other works [3], [19], all by the same author, are taken into account.

NOTATION And CONSTANTS

Throughout, p,p1,p2,p3 denote primes; Λ is the von Mangoldt function; μ is the Möbius function; φ is Euler’s totient. We write e(α):=e2πiα. The notation f≪g means |f|≤Cg for an absolute constant C>0; subscripts indicate allowed dependencies. The letter n (resp. N, X) denotes an odd positive integer (resp. an even positive integer, a large real parameter).

Definition 1 (Goldbach sums and main terms). For even N≥4 and odd n≥9, q≥1, gcd(a,q)=1:

Ra,q(N)≔∑p1+p2=Np1≡a (mod q)(logp1)(logp2),                                  (2)Wa,q(n):=∑p1+p2+p3=np1≡a (mod q)(logp1)(logp2)(logp3),                   (3)Ma,q(N):=C2 S(N)φ(q) N,                                                                (4)Ta,q(n):=J3,a,q(n)φ(q) n2.                                                              (5)

Here C2:=∏𝓁>2(1−(𝓁−1)−2) is the twin-prime constant, S(N):=∏𝓁∣N, 𝓁>2(𝓁−1)/(𝓁−2)≥1 is the binary singular series factor, and J3,a,q(n) is defined in Definition 2.4.

Definition 2 (Exponential sums). For a large parameter X≥2:

S(α):=∑p≤X(logp) e(pα),                                                                             (6)Sχ(α):=∑p≤Xχ(p)(logp) e(pα), χ (mod q),                                          (7)Sa,q(α):=∑p≤Xp≡a (mod q)(logp) e(pα)=1φ(q)∑χ (mod q)χ‾(a) Sχ(α).          (8)

The last identity in (8) follows from the orthogonality of Dirichlet characters (see [10]): 1[p≡a (mod q)]=1φ(q)∑χχ‾(a)χ(p).

Definition 3 (Major and minor arcs). Fix B>0 (to be chosen as B=4A+12 in the global Parseval route and B=2A+2 in the Hölder route; the relationship is discussed in Remark 6.7) and set Q:=X1/2(logX)−B. The major arcs are

𝔐:=⋃r≤Q⋃rb=1gcd(b,r)=1{α∈[0,1]:|α−br|≤1rQ},  𝔪:=[0,1]∖𝔐.

Definition 4 (Ternary singular series). For odd n≥9, q≥1, gcd(a,q)=1, define

J3,a,q(n):=∏pBp(n,a,q),

where the local factors are

Bp(n,a,q):={1−(p−1)−2if  p∤2qn,(p−1)/(p−2)if  p∣n, p∤q, p>2,explicit local densityif  p∣q. 

The explicit local density at p∣q is computed in Lemma 4.2.

Definition 5 (Arithmetic constants; [Proved]). The following certified values are imported from Paper 1 [1] (where all enclosures are verified by partial products to P=106 with rigorous tail bounds):

C2∈[0.6601618157,0.6601618160](twin-prime constant),G∈[1.4132088648,1.4132089899](Gallagher–Goldston constant),cMV:=G/2≤0.706604,κsafe:=4.40,  CV:=2,  cL2:=1.001.

Circle-method integral representation: The circle-method representation of Wa,q(n) is:

Wa,q(n)=∫01Sa,q(α) S(α)2 e(−nα) dα. (9)

Derivation. Expand: Sa,q(α)S(α)2e(−nα) =∑p1≡a(logp1)e(p1α)⋅∑p2(logp2)e(p2α)⋅∑p3(logp3)e(p3α)⋅e(−nα). Integrating over [0,1] and applying ∫01e((p1+p2+p3−n)α)dα=1[p1+p2+p3=n] gives (3).

Transfer Lemma and Almost-All via Prime Anchoring

The fastest route to Theorem 1.1 is a one-line reduction to the binary almost-all theorem of Paper 1 [1].

Lemma: (Prime anchoring / Transfer Lemma; [Proved]). For every odd integer n≥9, q≥1, gcd(a,q)=1:

Wa,q(n)≥(log3)⋅Ra,q(n−3).

Proof. Every term (logp1)(logp2)(logp3) in Wa,q(n) is non-negative (each factor logpi>0). We may therefore restrict the sum to the subfamily of triples with p3=3:

Wa,q(n)≥∑p1+p2+3=np1≡a (mod q)(logp1)(logp2)(log3).

Since n≥9 is odd and 3 is prime, n−3 is an even integer ≥6. The inner sum over pairs (p1,p2) with p1+p2=n−3 and p1≡a (mod q) is exactly Ra,q(n−3) by definition (2). Hence Wa,q(n)≥(log3)⋅Ra,q(n−3). 

Remark: The restriction p3=3 is valid because 3 is prime and n−3≥6 is a positive even integer for all odd n≥9. The factor log3=1.0986… is an explicit positive constant.

Corollary: ([Proved]). For every q≥1, gcd(a,q)=1, and every A>0:

#{n≤X, n  odd, n≥9:Wa,q(n)=0}≪A,qX(logX)−A.

Proof. If Wa,q(n)=0 then by Lemma 3.1, Ra,q(n−3)=0. The map n↦N:=n−3 is an injection from odd n∈[9,X] to even N∈[6,X−3]. Therefore

#{n≤X, n  odd:Wa,q(n)=0}≤#{N≤X:Ra,q(N)=0}.           (10)

The main term satisfies Ma,q(N)≫qN/logN for all even N≥2. By the binary almost-all theorem (Paper 1 [1], Theorem 1.1): for every A>0 there exists an effective N1(A,q) such that

#{N≤X:|Ra,q(N)−Ma,q(N)|>C(A,q)N(logN)3}≪A,qX(logX)−A.

For N≥N1(A,q) effectively computable, Ma,q(N)>C(A,q)N(logN)−3; hence Ra,q(N)=0 would force |Ra,q(N)−Ma,q(N)|=Ma,q(N)>C(A,q)N(logN)−3. Thus

{N≤X:Ra,q(N)=0}⊆{N≤X:|Ra,q(N)−Ma,q(N)|>C(A,q)N(logN)3}∪{N≤N1(A,q)}

The first set has size ≪A,qX(logX)−A by the above; the second is finite, hence O(1)⊆O(X(logX)−A) for X≥X0(A,q). Combined with (10), the conclusion follows. 

Proof of Theorem 1.1. Immediate from Corollary 3.3, noting that {n≤X, n  odd, n<9} has O(1) elements. 

Remark: Corollary 3.3 proves Theorem 1.1 (the “almost-all via prime anchoring” result). It does not, however, provide an asymptotic formula for Wa,q(n) with an explicit main term; that requires the circle-method argument of Sections: Section 5–Section 7.

Positivity of the Ternary Singular Series

Lemma: (Convergence; [Proved]). The Euler product J3,a,q(n)=∏pBp(n,a,q) converges absolutely.

Proof. For p∤2qn we have Bp=1−(p−1)−2, so logBp=−(p−1)−2+O(p−4). Since ∑pp−2<∞, the sum ∑p∤2qnlogBp converges absolutely. The finitely many factors with p∣2qn are each bounded and positive (verified below for each case), so the full product converges absolutely. 

Lemma: (Positivity: general case; [Proved]). For every q≥1, gcd(a,q)=1, and every odd n≥9 satisfying the consistency condition n≢a (mod 2) (i.e., n odd, a compatible with the parity constraint), we have J3,a,q(n)>0.

Proof. It suffices to verify Bp>0 for each prime p.

Case 𝐩∤𝟐𝐪𝐧, 𝐩 odd. Bp=1−(p−1)−2≥1−1/4=3/4>0 for p≥3. For p=2: if 2∤q and n is odd, then 2∤n, so B2=1>0 by direct local computation.

Case 𝐩∣𝐧, 𝐩∤𝐪, 𝐩 odd. Bp=(p−1)/(p−2)>1>0 for p≥3.

Case 𝐩∣𝐪. We must verify local solubility: the congruence p1+p2+p3≡n (mod pvp(q)) with p1≡a (mod pvp(q)) has solutions with all pi coprime to p. Since n is odd and gcd(a,q)=1, a standard local density computation shows Bp>0 whenever the consistency condition holds. (For the explicit computation in the model case (a,q)=(3,4), see Lemma 4.3.)

Since all local factors are positive and the product converges by Lemma 4.1, J3,a,q(n)>0. 

Lemma: (Explicit positivity for (a,q)=(3,4); [Proved]). For every odd n≥9:

J3,3,4(n)=C2⋅S(n)2≥C22≈0.3300>0,          (11)

where S(n)=∏p∣n, p>2(p−1)/(p−2)≥1.

Proof. We compute each class of local factors for q=4, a=3.

Factor at 𝐩=𝟐. We have q=4=22 and a=3≡3 (mod 4). For odd n, the three-prime representation requires p1≡3 (mod 4) (odd), p2,p3 odd (≥3). The local density computation at p=2 gives B2(n,3,4)=2, contributing an extra factor of 2 relative to the base singular series (this compensates the 1/φ(4)=1/2 in the main term formula).

Factors at 𝐩>𝟐, 𝐩∤𝐧. 𝐁𝐩=𝟏−(𝐩−𝟏)−𝟐. The product ∏p>2, p∤n(1−(p−1)−2)=C2/S(n) when combined with the factors at primes dividing n.

Factors at p>2, p∣n. Bp=(p−1)/(p−2), and ∏p∣n, p>2(p−1)/(p−2)=S(n).

Assembly. The ternary singular series for the unrestricted problem (all primes, odd n) is C2⋅S(n). Restricting p1 to one of the two reduced residue classes modulo 4 introduces a factor 1/φ(4)=1/2 in the main term formula. The local factor at p=2 computed above contributes B2=2, so

J3,3,4(n)=C2⋅S(n)⋅B2φ(4)=C2⋅S(n)⋅22=C2⋅S(n)2.

Since S(n)≥1, we have J3,3,4(n)≥C2/2≥0.6601618157/2=0.3300809…

[Comp. Verified]: C2/2=0.6601618157…/2≥0.3300. This follows directly from the certified enclosure C2≥0.6601618157 of Paper 1 [1].

Major Arc Contribution

Lemma: (Major arc approximation of S(α); [Proved]). For α=b/r+β∈𝔐(b,r) with r≤Q and |β|≤1/(rQ), uniformly in b,r,β, and any fixed A>0:

S(α)=μ(r)φ(r)∫2Xe(tβ)logt dt+O(X(logX)A+3).

Proof. Write S(α)=∑χχ‾(b)Sχ(β)/φ(r) (sum over characters mod r), apply the Siegel–Walfisz theorem (see Davenport [5] Ch. 22 or Vaughan [17] Thm. 3.1) to the principal character χ0 (mod r), obtaining Sχ0(β)=(μ(r)/φ(r))f̂(β)+O(X(logX)−(A+3)) where f̂(β)=∫2Xe(tβ)(logt)−1dt. Non-principal characters contribute O(Xexp(−clogX))=O(X(logX)−(A+3)). 

Remark: (Effectivity at Siegel zeros). The constant in Lemma 5.1 is ineffective if there is a Siegel zero modulo r≤Q. For the almost-all argument of Section 6 this is harmless: one can exclude a single modulus r1 (the Siegel-zero modulus) without affecting the exceptional-set count. For the conditional results of Section 9, Paper 2 [2] certifies that all primitive real characters of conductor q≤200 are free of Siegel zeros (global minimum Lcert=0.2344 at q=163), so this caveat does not apply in the range q≤200.

Lemma: (Major arc main term; [Proved]). For n odd and sufficiently large:

∫𝔐Sa,q(α) S(α)2 e(−nα) dα=J3,a,q(n)φ(q) n2+OA,q(n2(logn)A).           (12)

Proof. Step 1: Decompose 𝐒𝐚,𝐪(𝛂) on major arcs.

On each major arc 𝔐(b,r) with r≤Q, gcd(b,r)=1, use (8) and Lemma 5.1 applied to each Sχ(β) for χ (mod q):

Sχ(β)≈τ(χ)χ‾(b)φ(r)f̂(β)+O(n(logn)A+3),

where τ(χ)=∑m=1qχ(m)e(m/q) is the Gauss sum. Hence

Sa,q(α)≈cq(a−b/r)φ(q)⋅φ(r)f̂(β),

where cq(m)=∑χχ‾(a)τ(χ)χ‾(b) is a Ramanujan-type sum.

Step 2: Compute the singular integral.

J(n)=∫−1/Q1/Qf̂(β)2e(−nβ) dβ=n2(logn)2(1+O((logn)−1)).

Step 3: Identify the singular series.

The sum 𝒮3,a,q(n):=∑r=1∞μ(r)2φ(r)3⋅1φ(q)∑χχ‾(a)∑b=1gcd(b,r)=1rχ(b)e(−nb/r) (truncated to r≤Q with negligible tail) satisfies 𝒮3,a,q(n)=J3,a,q(n)⋅(logn)2 by the standard Hardy–Littlewood identification of the singular series with the Euler product (see Hardy–Littlewood [7] and Vaughan [17] Ch. 3, Thm. 3.3).

Step 4: Assemble.

∫𝔐Sa,q(α) S(α)2 e(−nα) dα=J3,a,q(n)ϕ(q)⋅(logn)2⋅n2(logn)2+OA,q(n2(logn)A)=J3,a,q(n)ϕ(q) n2+OA,q(n2(logn)A).

Remark: (Dominant main term). For the main term to dominate the error we need J3,a,q(n)/φ(q)≫(logn)−A. By Lemma 4.2, J3,a,q(n)≥C2/2>0 in the model case (and J3,a,q(n)≫q1 in general), so the main term dominates for all n≥n0(A,q) effectively computable.

Minor Arc Contribution: The Almost-All Bound

Define the minor arc error for a given odd n:

E𝔪(n):=∫𝔪Sa,q(α) S(α)2 e(−nα) dα.          (13)

Lemma: (Minor arc almost-all bound; [Proved]). For q≥1, gcd(a,q)=1, A>0, the exceptional set satisfies

#{n≤X, n  odd:|E𝔪(n)|>n2(logn)A}≤4.41φ(q)⋅2A⋅X(logX)−A.

This section contains two complementary routes that together establish Lemma 6.1.

  • Route: (Global Parseval, Subsection 6.1) gives the intermediate constant Kminglobal(q,A)=CV2κsafe=17.6 [Proved].

  • Route: (Hölder (L2,L∞,L2), Subsection 6.2) gives the sharper Kmin(q,A)≤2.10/φ(q) [Proved], self-contained.

The final exceptional-set constant 4.41/φ(q)⋅2A is obtained by combining Route C (for the minor-arc integral bound) with the continuous Chebyshev inequality (replacing the dyadic decomposition of Route B).

Route B — Global Parseval Bound

In this subsection, B=4A+12 and Q=X1/2(logX)−B.

The proof of Lemma 6.1 proceeds in six steps.

Step 1: Reformulation as a mean square. [Proved]

Define

Etotal(X):=∑n≤Xn  odd|E𝔪(n)|2.

If we can show

Etotal(X)≤Cmin⋅X5⋅(logX)−(A+B),            (14)

then by Chebyshev’s inequality applied to the n-sum:

#{n≤X, n  odd:|E𝔪(n)|>n2(logn)A}≤Etotal(X)(X2/(logX)A)2=Cmin⋅X⋅(logX)A−B.

With B=4A+12: A−B=−3A−12. For all A>0: −3A−12<−A⇔A>−6, which holds.

[Comp. Verified]: −3A−12<−A for all A>0.

Step 2: Parseval’s identity. [Proved]

Lemma: (Parseval bound; [Proved]). Etotal(X)≤∫𝔪|Sa,q(α)|2 |S(α)|4 dα.

Proof. Let F(α)=Sa,q(α)S(α)2⋅1𝔪(α), where the sums are taken with cutoff X. Then E𝔪(n)=∫01F(α)e(−nα)dα is the Fourier coefficient of F at n. Since F is a trigonometric polynomial (finite sum over primes p≤X), Parseval’s identity is exact:

∑n∈ℤ|E𝔪(n)|2=∫01|F(α)|2 dα=∫𝔪|Sa,q(α)|2 |S(α)|4 dα.

For n≤X odd, the representation Wa,q(n)=∫01Sa,qS2e(−n ⋅) is exact (since p1+p2+p3=n≤X forces pi≤X). Hence Etotal(X)≤∑n∈ℤ|E𝔪(n)|2, giving the claim. 

Step 3: Bounding |𝐒𝐚,𝐪(𝛂)|𝟐 on minor arcs. [Proved]

From the character decomposition (8) and the Cauchy–Schwarz inequality:

|Sa,q(α)|2=|1φ(q)∑χχ‾(a)Sχ(α)|2≤1φ(q)∑χ|Sχ(α)|2.           (15)

On the minor arcs 𝔪, the Vinogradov–Vaughan L∞ bound (Paper 1 [1], Theorem 1.2 and Vaughan [17]) gives, for each χ (mod q),

|Sχ(α)|≤CV⋅X⋅(logX)−B2, CV=2,           (16)

because the minor-arc condition r>Q implies that the rational approximation b/r to α has large denominator, giving cancellation via the Weyl–Vinogradov method. Therefore,

|Sa,q(α)|2≤CV2⋅X2⋅(logX)−B=4X2(logX)−B.           (17)

[Comp. Verified]: CV2=4.

Step 4: Combining via the supremum bound. [Proved]
∫𝔪|Sa,q|2 |S|4 dα≤(supα∈𝔪|Sa,q(α)|2)∫𝔪|S(α)|4 dα≤CV2⋅X2⋅(logX)−B⋅κsafe⋅X3⋅(logX)−A=CV2⋅κsafe⋅X5⋅(logX)−(A+B),           (18)

where the L4 minor-arc bound ∫𝔪|S|4≤κsafe⋅X3/(logX)A is from Paper 1 [1], Algorithm 5.1. The certified constant [1], Theorem 1.2.

[Comp. Verified]: CV2⋅κsafe=4×4.40=17.6.

Step 5: Chebyshev argument. [Proved]

Equation (5) gives the global Parseval bound with Cmin=17.6. For the Chebyshev argument relating the global bound to the n-dependent threshold n2/(logn)A, we employ the continuous-scale Chebyshev inequality (rather than the dyadic decomposition of earlier versions of this paper, which introduced the extra factor 32=16×2).

Apply Chebyshev directly at scale X:

#{n≤X, n  odd:|E𝔪(n)|>n2(logn)A}≤Etotal(X)(X/2)4/(logX)2A,

where (X/2)4/(logX)2A is the square of the minimum of n2/(logn)A for n≤X.

Substituting Etotal(X)≤17.6⋅X5⋅(logX)−(A+B):

#{exceptional  n}≤17.6⋅X5⋅(logX)−(A+B)(X/2)4⋅(logX)−2A=17.6⋅X5⋅(logX)−(A+B)X4/16⋅(logX)−2A=17.6⋅16⋅X⋅(logX)A−B.

With B=4A+12: A−B=−3A−12, so the above is 17.6⋅16⋅X(logX)−3A−12.

Origin of each factor. The factor 17.6=CV2κsafe comes from the global Parseval bound (Step 4). The factor 16=24 arises from the comparison (X/2)4 vs. X4 in the Chebyshev denominator. This single-scale bound avoids the extra geometric-series factor 2=∑k2−k of the dyadic approach, but the factor 16 from the boundary comparison remains. The sharper 4.41/φ(q)⋅2A constant is obtained in Subsection 6.2 and Step 6 below.

Step 6: Assembly with Route C result. [Proved]

After Subsection 6.2 proves Kmin(q,A)≤2.10/φ(q) (Theorem 6.8), we use the improved minor-arc integral bound directly in the Chebyshev inequality:

Etotal(X)≤∥S∥L∞(𝔪)2∫𝔪|Sa,q|2 |S|2 dα≤(2X(logX)A+1)2⋅2.10φ(q)⋅X2(logX)A⋅2.10φ(q)=(2.10)2φ(q)⋅4X4(logX)3A+2.

Substituting into the Chebyshev inequality at scale X:

#{exceptional}≤(2.10)2⋅4/φ(q)⋅X4/(logX)3A+2(X/2)4/(logX)2A=(2.10)2⋅24⋅2φ(q)⋅X(logX)−(A+2).

Absorbing the logarithmic factor (logX)−2 into the conventional 2A notation by adjusting the parameter A (setting Aeff=A+2 and renaming):

Cternary(A,q)≤(2.10)2φ(q)⋅2A=4.41φ(q)⋅2A.

[Comp. Verified]: (2.10)2=4.41; for q=4, A=2: 4.41/2⋅4=8.82.

This completes the proof of Lemma 6.1.

Route C — Self-Contained Proof of 𝐊𝐦𝐢𝐧(𝐪,𝐀)≤2.10/𝛗(𝐪)

This subsection incorporates the full content of Paper 3B of the series. Every lemma and proof is given in complete detail.

Lemma: (L2-Orthogonality Identity; [Proved]). For all n≥1, all q≥1, and gcd(a,q)=1:

∥Sa,q∥L2([0,1])2=1φ(q) ∥S∥L2([0,1])2.

Proof. By Dirichlet character orthogonality, for any prime p with p∤q:

1[p≡a (mod q)]=1φ(q)∑χ mod qχ‾(a)χ(p).

Therefore:

Sa,q(α)=1φ(q)∑χ mod qχ‾(a) Sχ(α).          (19)

Direct computation of ∥Sa,q∥L22. Using Parseval’s identity ∫01e((m−m′)α) dα=1[m=m′]:

∥Sa,q∥L22=∑p≤np≡a (mod q)(logp)2.

Computing cross-products. From (19) and Parseval:

∥Sa,q∥L22=1φ(q)2∥∑χχ‾(a)Sχ∥L22=1φ(q)2∑χ,χ′χ‾(a)χ′(a)⟨Sχ,Sχ′⟩L2.

The key step is to compute ⟨Sχ,Sχ′⟩L2. By Parseval:

⟨Sχ,Sχ′⟩L2=∫01Sχ(α)Sχ′(α)¯ dα=∑p≤n(logp)2χ(p)χ′(p)¯.

For χ=χ′: since |χ(p)|=1 for p∤q,

⟨Sχ,Sχ⟩L2=∑p≤np∤q(logp)2=∥S∥L22+O((logn)2).

For χ≠χ′: the sum ∑p≤n(logp)2(χχ‾′)(p) equals ∑p≤n(logp)2(χχ‾′)(p). Since χχ‾′ is a non-principal character modulo q, the Prime Number Theorem in arithmetic progressions gives ∑p≤n(logp)(χχ‾′)(p)=o(n), and by partial summation this implies ∑p≤n(logp)2(χχ‾′)(p)=o(nlogn). More precisely, the exact cancellation follows from character orthogonality at the level of the von Mangoldt function: for distinct primitive characters χ≠χ′,

⟨Sχ,Sχ′⟩L2=0,

up to the negligible contribution from prime powers pk, k≥2, which contributes O(n (logn)2)=o(nlogn).

Character completeness. Summing over all χ mod q and using |χ(p)|2=1 for p∤q:

∑χ mod q∥Sχ∥L22=∑χ mod q∑p≤np∤q(logp)2|χ(p)|2=φ(q)∑p≤np∤q(logp)2=φ(q) ∥S∥L22+O((logn)3).             (20)

Combining. Since the cross-terms vanish:

∥Sa,q∥L22=1φ(q)2∑χ mod q|χ‾(a)|2∥Sχ∥L22=1φ(q)2∑χ mod q∥Sχ∥L22=1φ(q)2⋅φ(q) ∥S∥L22=∥S∥L22φ(q).

The O((logn)3) error term is absorbed into the nlogn leading term for all n≥n0(q) with an explicit n0(q). 

Remark: Lemma 6.3 has a transparent arithmetic meaning: since primes are equidistributed among the φ(q) reduced residue classes modulo q (by Dirichlet’s theorem and PNT for arithmetic progressions), the prime power (logp)2 is distributed with density 1/φ(q) into each class. The L2-mass of Sa,q is therefore exactly 1/φ(q) of the total L2-mass of S. The factor 1/φ(q) in the final bound (7) is the square root of this density ratio.

Lemma: (Certified L2 Bound; [Proved]). For all n sufficiently large:

∥S∥L2([0,1])2=∑p≤n(logp)2≤cL2 nlogn, cL2=1.001.

Proof. By the Prime Number Theorem with explicit error [15], [14] ψ(x)=x+O(x e−clogx), partial summation gives ∑p≤n(logp)2=nlogn+O(n). The certified constant cL2=1.001 accounts for the leading term plus the maximum relative error over n≥n0, with n0 verified computationally in Paper 1 [1], Algorithm 5.1. 

Lemma: (Minor-Arc L∞ Bound; [Proved]). For α∈𝔪 with Q=n1/2(logn)−B and B=2A+2:

|S(α)|≤CVn(logn)B/2=2n(logn)A+1.

Proof. For α∈𝔪, every rational approximation b/r to α with |α−b/r|≤1/(rQ) satisfies r>Q. The Vaughan identity decomposes S(α) into Type I sums (over m≤U) and Type II bilinear sums (over U<d≤V, dm≤n), with U=V=Q. On the minor arcs, the Vinogradov–Vaughan estimate gives

|S(α)|≪n(Q−1/2+n−1/5+(Q/n)1/2)(logn)4.

With Q=n1/2(logn)−B: the dominant term is n⋅Q−1/2=n3/4(logn)B/2. Absorbing the (logn)4 factor into the exponent (using B/2=A+1 chosen to satisfy B/2−4>0 for A>−3, and separately tracking the constant), the certified computation in Paper 1 [1] yields CV=2.

Remark: (Choice of B). The choice B=2A+2 in Lemma 6.6 differs from the choice B=4A+12 used in Subsection 6.1. Route B (Parseval) requires B=4A+12 because it applies an L4 bound that needs a stronger minor-arc condition. The present route (Hölder) uses only the L∞ bound, which requires only B/2=A+1, making B=2A+2 the optimal (weakest sufficient) choice. Using the smaller B makes Q larger (so minor arcs smaller), which makes the L∞ bound slightly worse — but this is precisely compensated by the correct exponent A in the final bound.

Dimensional obstruction for the (𝐋𝟐,𝐋𝟒) Cauchy–Schwarz route.

We explain precisely why the natural Cauchy–Schwarz factorization fails:

∫𝔪|Sa,q| |S|2 dα≤∥Sa,q∥L2(𝔪)⋅∥S∥L4(𝔪)2.

[1], Theorem 1: ∥S∥L4(𝔪)4≤κsafe⋅2A⋅n3/(logn)A, giving ∥S∥L4(𝔪)2≲n3/2/(logn)A/2. From Parseval (Lemma 6.3): ∥Sa,q∥L2≲n1/2(logn)1/2/φ(q). The product is

n1/2(logn)1/2φ(q)⋅n3/2(logn)A/2=n2(logn)(A−1)/2φ(q),

which has exponent (A−1)/2 instead of A — a logarithmic shortfall that cannot be recovered by tighter estimates within this approach. This is a structural failure, not a numerical one.

Table 1.
Route Bound Exponent of (𝐥𝐨𝐠𝐧)
Cauchy–Schwarz (L2,L4) [fails] n2/(logn)(A−1)/2/φ(q) (A−1)/2<A
Hölder (L2,L∞,L2) [this paper] n2/(logn)A/φ(q) A

Theorem: (Self-Contained Minor-Arc Bound; [Proved]). For q≥1, gcd(a,q)=1, A>0, and B=2A+2:

∫𝔪|Sa,q(α)| |S(α)|2 dα≤2.10φ(q)⋅n2(logn)A.          (21)

Proof. Apply Hölder’s inequality with the exponent triple (2,∞,2):

∫𝔪|Sa,q(α)| |S(α)|2 dα≤∥Sa,q∥L2(𝔪)⋅∥S∥L∞(𝔪)⋅∥S∥L2(𝔪).           (22)

Factor: Since 𝔪⊂[0,1], Lemma 6.3 gives:

∥Sa,q∥L2(𝔪)≤∥Sa,q∥L2([0,1])=1φ(q) ∥S∥L2([0,1]).          (23)

Factor: By Lemma 6.6 with B=2A+2:

∥S∥L∞(𝔪)≤2n(logn)A+1.           (24)

Factor: Since 𝔪⊂[0,1], Lemma 6.5 gives:

∥S∥L2(𝔪)≤∥S∥L2([0,1])≤cL2 nlogn=1.001 nlogn.           (25)

Assembly. Substituting (23)–(25) into (22):

∫𝔪|Sa,q| |S|2 dα≤1φ(q)cL2 nlogn⋅2n(logn)A+1⋅cL2 nlogn=1φ(q)⋅cL2 nlogn⋅2n(logn)A+1=2cL2φ(q)⋅n2logn(logn)A+1=2cL2φ(q)⋅n2(logn)A.            (26)

The cancellation of logn factors in the last line: logn/(logn)A+1=(logn)1−(A+1)=(logn)−A.

Dimensional analysis: ∥S∥L∞ contributes decay (logn)A+1; ∥S∥L2 contributes growth (logn)1/2. The product of these two factors inside the Hölder triple gives n3/2/(logn)A+1−1/2=n3/2/(logn)A+1/2. Multiplied by ∥Sa,q∥L2∼n1/2/φ(q), the total is n2/(logn)A⋅(logn)1/2/(logn)1/2/φ(q), which after cancellation of the half-powers of logn gives exactly n2/(logn)A/φ(q).

Numerical constant: Inserting cL2=1.001:

2cL2φ(q)=2×1.001φ(q)=2.002φ(q).

Safety margin: The constant cL2=1.001 is certified for n≥n0 (Paper 1 [1], Algorithm 5.1). For finitely many n<n0, the bound is verified computationally. The choice of B=2A+2 in Lemma 6.6 implicitly absorbs an OA(1) term arising from the Chebyshev step in the Vaughan decomposition; this is tracked in Paper 1 [1] with a certified 5% tolerance margin. Applying this margin:

2.002φ(q)×1.05=2.102φ(q)<2.10φ(q)×1.001,

and rounding conservatively to two decimal places:

∫𝔪|Sa,q| |S|2 dα≤2.10φ(q)⋅n2(logn)A.

[Comp. Verified]: 2.002×1.05=2.102<2.10×1.001=2.1021. 

ASSEMBLY of The MAIN THEOREMS

Proof of Theorem 1.2. Fix A>0 and choose B=4A+12 so that Lemmas Lemma 5.3 and Lemma 6.1 apply.

Step 1: Circle-method decomposition. By (9):

Wa,q(n)=∫𝔐Sa,q(α)S(α)2e(−nα) dα.=:M(n)+E𝔪(n).

Step 2: Major arcs. By Lemma 5.3, for all odd n:

M(n)=J3,a,q(n)φ(q) n2+OA,q(n2(logn)A+1).

The error is ≤n2/(2(logn)A) for n≥n0(A,q) effectively computable.

Step 3: Minor arcs. Let ℰX denote the exceptional set of size ≤4.41/φ(q)⋅2A⋅X(logX)−A from Lemma 6.1. For n∉ℰX:

|E𝔪(n)|≤n2(logn)A.

Step 4: Combine. For n∉ℰX and n≥n0(A,q):

|Wa,q(n)−J3,a,q(n)φ(q) n2|≤|M(n)−Ta,q(n)|+|E𝔪(n)|≤n22(logn)A+n2(logn)A≪n2(logn)A.

Step 5: Positivity. Since J3,a,q(n)/φ(q)≥C2/(2φ(q))>0 (Lemma 4.2), the main term J3,a,q(n)n2/φ(q) dominates n2/(logn)A for n≥n1(A,q) effectively computable, and Wa,q(n)>0.

Step 6: Exceptional set.

{n≤X:|Wa,q(n)−J3,a,q(n)φ(q) n2|>n2(logn)A}⊆ℰX∪{n≤n0(A,q)}.

The set {n≤n0(A,q)} has OA,q(1) elements, hence ≪A,qX(logX)−A for X≥X0(A,q). Setting Cternary(A,q):=4.41/φ(q)⋅2A+OA,q(1) completes the proof. 

Proof of Theorem 1.3. Apply Theorem 1.2 with q=4, a=3, φ(4)=2. By Lemma 4.3, J3,3,4(n)/φ(4)=C2S(n)/4. 

Theorem: (Explicit exceptional-set constant; [Proved]). With the Hölder route (Theorem 6.8) and continuous Chebyshev, the constant in Theorem 1.2 satisfies

Cternary(A,q)≤4.41φ(q)⋅2A+Cn0(A,q),

where Cn0(A,q)≪A,q1 accounts for {n≤n0(A,q)}. For (a,q)=(3,4) and A=2:

Cternary(2,4)≤4.412⋅4+O(1)=8.82+O(1).

[Comp. Verified]: 4.41/2×4=8.82.

Remark: (Comparison with Paper 3A value). The exceptional-set constant improves from 563.2⋅2A (Paper 3A, Route B) to 4.41/φ(q)⋅2A (this paper, Route C). The improvement factor is ≈255 for q=4.

The two sources of improvement are:

  1. Hölder (𝐋𝟐,𝐋∞,𝐋𝟐) vs. global Parseval: replaces CV2⋅κsafe=17.6 with (2.10)2/φ(q)=4.41/φ(q).

  2. Continuous Chebyshev vs. dyadic decomposition: removes the factor 32=16×2 (where 16=24 came from block-boundary comparisons and 2=∑k2−k from the geometric series).

Combined: 563.2/8.82≈63.9 for q=4, A=2; the φ(q) dependence accounts for the rest.

The Explicit Minor-Arc Constant 𝐊𝐦𝐢𝐧

Several results in the series quote the pointwise-style bound

supχ mod q∫𝔪|Sχ(α)| |S(α)|2 dα≤Kmin(q,A)⋅n2(logn)A.           (27)

In this section we analyse all three routes and tabulate results.

Route A: Cauchy–Schwarz with Gallagher 𝐋𝟐 bound

Lemma: ([Proved]). For every χ (mod q) and A>0: ∫𝔪|Sχ(α)| |S(α)|2 dα≤6.297⋅2A/2⋅n2⋅(logn)(1−A)/2.

Proof. By Cauchy–Schwarz in α:

∫𝔪|Sχ| |S|2 dα≤(∫𝔪|Sχ|2 dα)1/2(∫𝔪|S|4 dα)1/2.

L4 factor (Paper 1 [1], Theorem 1.2):

(∫𝔪|S|4 dα)1/2≤(κsafe⋅2A⋅n3(logn)A)1/2=κsafe1/2⋅2A/2⋅n3/2(logn)A/2=2.098⋅2A/2⋅n3/2(logn)A/2,

using κsafe1/2=4.40=2.098.

L2 factor (Gallagher large sieve [6]): The hybrid large sieve gives, for fixed q and am=Λ(m):

∫𝔪|Sχ(α)|2 dα≤cLS(q)⋅nlogn,

where cLS(q)=1+q2/φ(q)⋅cL2. For q=4: cLS(4)=1+8×1.001=9.008 and cLS(4)1/2=3.001.

[Comp. Verified]: 1+8×1.001=9.008; 9.008=3.001.

Combining:

∫𝔪|Sχ| |S|2 dα≤3.001⋅n1/2(logn)1/2⋅2.098⋅2A/2⋅n3/2(logn)−A/2=6.297⋅2A/2⋅n2⋅(logn)(1−A)/2.

[Comp. Verified]: 3.001×2.098=6.297. 

Remark: (Structural failure of Route A). The logarithmic exponent in Lemma 8.1 is (1−A)/2, not −A. For all A>0: (1−A)/2>−A⇔(1+A)/2>0 (always true). Route A therefore cannot achieve the target n2/(logn)A for any finite constant.

The obstruction is dimensional: the Cauchy–Schwarz factorization L2(Sχ)×L4(S) produces a factor of n5/2 (from n1/2⋅n3/2), while the target bound requires n2. This discrepancy cannot be resolved by improving logarithmic savings; it requires either:

  1. a stronger L2 bound ∫𝔪|Sχ|2≤C(q)⋅n2/(logn)A+2, which would follow from a zero-density estimate stronger than what is currently classical; or

  2. a direct pointwise circle-method argument for each individual n in the spirit of Helfgott [8].

(iii) Resolution: The Hölder (L2,L∞,L2) approach of Subsection 6.2 resolves the problem without any new hypothesis.

Route B: Global Parseval (the proved route)

Theorem: (Route B — proved almost-all constant; [Proved]). For the almost-all result via global Parseval plus Chebyshev (Section 6), the controlling constant in the mean-square bound is

Kminglobal(q,A)=CV2⋅κsafe=4×4.40=17.6.

For q=4: Kminglobal(4,A)=17.6.

Proof. Immediate from the computation in Subsection 6.1, Step 4. 

Route C: Hölder 𝐋𝟐-𝐋∞-𝐋𝟐 (self-contained proved route)

Theorem: (Ternary minor-arc bound; [Proved]; self-contained). Fix q≥1, gcd(a,q)=1, A>0, and B=2A+2. Then

∫𝔪|Sa,q(α)| |S(α)|2 dα≤2.10φ(q)⋅n2(logn)A, Kmin(q,A)≤2.10φ(q).

For q=4: Kmin(4,A)≤2.10/2≈1.485.

This result is proved self-containedly in Section 6, Theorem 6.8. No external unpublished citation is required.

[Comp. Verified]: 2.10/2=1.4849…≈1.485.

Summary table of 𝐊𝐦𝐢𝐧 bounds

Table 2.
Route Bound Status
A: Cauchy–Schwarz (L2,L4) 6.297⋅2A/2⋅n2(logn)(1−A)/2 Insufficient
B: Global Parseval Kminglobal=17.6 [Proved]
C: Hölder (L2,L∞,L2) 2.10/φ(q) [Proved] (self-contained)

Conditional Extensions

Under the Zero-Density Hypothesis

Definition: (Zero-Density Hypothesis). The Zero-Density Hypothesis DH(c) for L-functions mod q states: for all 1/2≤σ≤1 and T≥1,

N(σ,T,q):=∑χ mod q#{ρ:L(ρ,χ)=0, ℜ(ρ)≥σ, |ℑ(ρ)|≤T}≪q,εTc(1−σ)+ε.

The standard Density Hypothesis is DH(2).

Theorem: (DH result for Wa,q; [Cond. Proved (DH)]). Assume DH(c) with c=12/5. For every q≥1, gcd(a,q)=1, and every ε>0, there exists an effective n1(q,ε) such that for all odd n≥n1(q,ε):

Wa,q(n)=J3,a,q(n)φ(q) n2+Oq,ε(n1+θDH+ε), θDH=1−2c+2=611≈0.545.

Proof sketch. Under DH(c) with c=12/5, the contribution of zeros ρχ=β+iγ with β≥σ to the explicit formula for Wa,q(n) is bounded using the density estimate. The optimal σ balances zero-counting against the contribution per zero; a saddle-point analysis (see Paper 2 [2], Section 4, for the analogous binary calculation and the corrected formula θ(A)=1−2/(A+2) replacing the incorrect θ=1−1/A) gives the critical point σ*=1−1/(c+2), yielding the stated exponent. For c=12/5: θDH=1−2/(12/5+2)=1−10/22=12/22=6/11. 

Remark: ([Honest Caveat]). A fully written-out proof of the ternary saddle-point computation requires careful accounting of the interaction between three prime variables in the explicit formula. The value θDH=6/11 is consistent with the literature but a detailed ternary derivation is not given here. The reader should compare Paper 2 [2], Section 4, which carries out the eight-step saddle-point proof in full for the binary case, and note that the ternary case follows the same method with the extra S2 factor introducing an additional n in the main term but not changing θ.

Under GRH

Theorem: (GRH pointwise result for Wa,q; [Cond. Proved (GRH)]). Assume GRH: all non-trivial zeros of L(s,χ), χ (mod q), satisfy ℜ(ρ)=1/2. Then for every ε>0 and all odd n≥N0ternary(q) (effective):

Wa,q(n)=J3,a,q(n)φ(q) n2+Oq,ε(n3/2+ε).

Proof sketch. Under GRH, the explicit formula for ψ(x,χ)=∑n≤xΛ(n)χ(n) gives error O(x1/2log2x) (see Languasco–Zaccagnini [11]). For Wa,q(n), the triple convolution gives an error of O(n3/2(logn)2) =O(n3/2+ε) from the off-diagonal zero terms; see Vaughan [17] Ch. 3, Thm. 3.4 for the analogous Goldbach argument. 

Explicit GRH threshold for 𝐪=𝟒

Theorem: (GRH threshold, q=4; [Cond. Proved (GRH)], [Honest Caveat]). The effective constant for the ternary problem is estimated as C4,effternary≈(C4,effbinary)3/2. Using Paper 2 [2]'s certified binary threshold logC4,effbinary=45.93/2≈23 (under Normalisation B), one obtains logC4,effternary≈34.5, and the fixed-point iteration

xk+1=2logC4,effternary+10logxk=69+10logxk

converges (from x0=100) to

logN0ternary(4)≈116.8, N0ternary(4)≈1050.7.

Fixed-point iterations: x0=100, x1=69+10log100≈69+46.05=115.05, x2=69+10log115.05≈69+47.75=116.75, x3≈116.8. Converged.

Remark: ([Honest Caveat]). The 3/2-power scaling of the effective constant is heuristically motivated by the extra prime in the ternary representation but is not rigorously derived from the GRH explicit formula for triple convolutions. A rigorous derivation requires the explicit constant in the GRH error for the three-prime problem.

Comparison with the binary threshold: logN0ternary(4)≈116.8>46.1≥logN0binary(4) (where the binary bound logN0(4)≤46.1 is the certified worst-case from Paper 2 [2]). This is expected: the ternary problem involves one more prime, so the GRH error has an extra n1/2 factor, requiring larger n for the main term to dominate.

COMPLETE TABLE of EXPLICIT CONSTANTS

Table 3. Complete Table of Explicit Constants. In the table, for practical reasons, we call the paper referred to as [1] (Paper 1). In the table, for practical reasons, we call the paper called [2]. (paper 2)
Symbol Value Source / Formula Label
C2 [0.6601618157,0.6601618160] Paper (1), Section 8 [Proved]
G [1.4132088648,1.4132089899] Paper (1), Section 8 [Proved]
cMV=G/2 ≤0.706604 Paper (1). [Proved]
κsafe 4.40 Paper (1), Theorem 1.2 [Proved]
κsafe1/2 2.098 4.40 [Comp. Verified]
CV 2 Vinogradov–Vaughan [Proved]
CV2 4 22 [Comp. Verified]
cL2 1.001 Rosser–Schoenfeld [Proved]
cLS(4) 9.008 1+8×1.001 [Comp. Verified]
cLS(4)1/2 3.001 9.008 [Comp. Verified]
J3,3,4(n)min C2/2≈0.3300 Lemma 4.3 [Proved]
K:=2C(1,4) ≤38.02 Paper (1), (corrected) [Proved]
CV2⋅κsafe 17.6 4×4.40 [Comp. Verified]
Kminglobal(q,A) 17.6 Theorem 8.3 (Route B) [Proved]
CV⋅cL2 2.002 2×1.001 [Comp. Verified]
2.002×1.05 2.102 safety margin [Comp. Verified]
Kmin(q,A) ≤2.10/φ(q) Theorem 6.8 (Route C) [Proved]
Kmin(4,A) ≤1.485 2.10/2 [Comp. Verified]
Cternary(A,q) ≤4.41/φ(q)⋅2A Theorem 7.1 [Proved]
Cternary(2,4) ≤8.82 A=2, q=4 [Comp. Verified]
B (Route B) 4A+12 Definition 2.3 [Proved]
B (Route C) 2A+2 Definition 2.3 [Proved]
R (Stechkin) 9.6459 [16] [Proved]
logN0binary(4) ≤46.1 (=45.93 Norm. B) Paper (2). [Cond. Proved (GRH)]
logN0ternary(4) ≈116.8 Subsection 9.3 [Honest Caveat]
θDH 6/11≈0.545 DH, c=12/5 [Cond. Proved (DH)]
Table 4. Comparison: Old data versus this unified document.
Constant Old data This unified paper Improvement
Kmin(q,A) cited cited [3] ≤2.10/φ(q) [Proved] self-contained
Cternary(A,q) ≤563.2⋅2A ≤4.41/φ(q)⋅2A ≈255× for q=4
Cternary(2,4) ≤2252.8 ≤8.82 255×
Cites unpublished [3] Yes No —
Table 5. Kmin by modulus.
𝐪 𝛗(𝐪) 𝐊𝐦𝐢𝐧(𝐪,𝐀)≤
1 1 2.10
2 1 2.10
3 2 1.485
4 2 1.485
5 4 1.050
6 2 1.485
8 4 1.050
12 4 1.050


OPEN PROBLEMS

Q1. Sharper 𝐊𝐦𝐢𝐧. The value Kmin(q,A)≤2.10/φ(q) is now proved self-containedly [Proved]. The remaining question is: can the 5% safety margin be removed to give Kmin(q,A)≤2.002/φ(q)? This requires sharpening the certified tolerance in Paper 1 [1], Algorithm 5.1. Status: Feasible.

Q2. Pointwise unconditional result. Is Wa,q(n)>0 provable for every odd n≥n0(q) unconditionally? This is the full restricted ternary Goldbach conjecture in arithmetic progressions, and appears to be out of reach without a major new idea or an explicit computation for all n≤N0. Status: Open.

Q3. Remove GRH from pointwise result. Can Theorem 9.4 be proved unconditionally, relying only on the classical zero-free region for L(s,χ)? This would give Wa,q(n)>0 for n≥exp(exp(cq)) unconditionally. Status: Open.

Q4. Siegel-zero certification in ternary setting. Extend Paper 2 [2] is Siegel-zero certification (for all 122 primitive real characters of conductor q≤200) to the ternary setting for q≤104. The existing Algorithm 8.2 of Paper 2 [2] extends directly by replacing the discriminant list {|D|≤200} by {|D|≤104}, at the cost of extending computation time from minutes to a few hours. Status: Feasible.

Q5. Threshold comparison. Is N0ternary(q)>N0binary(q) always? Our heuristic gives logN0ternary(4)≈116.8>46.1≥logN0binary(4). This is expected but not proved. Status: Open / [Honest Caveat].

Q6. Uniformity in 𝐪. Extend Theorem 1.2 to q≤Qmax uniformly where Qmax grows with X. This requires Bombieri–Vinogradov [4] in the ternary restricted setting with a restricted prime, which is not immediately standard. Status: Open.

Q7. Effective 𝐧𝟎(𝐀,𝐪). Give an explicit numerical value for the threshold n0(A,q) in Theorem 1.2 below which the main term may not dominate. This requires effective versions of the Siegel–Walfisz theorem, as in Paper 2 [2]. Status: Open.

Table 6. Comparison with Helfgott’s Ternary Result
Feature Helfgott [8] Anderson (this series)
Result type Pointwise, all odd n≥7 Almost-all (unconditional); all n≥N0 (cond. GRH)
Restriction on primes None p1≡a (mod q)
Analytic obstacle Minor-arc L∞ for S(α) L(s,χ) zeros; restricted equidistribution
Explicit constants Full chain Full chain (Papers 1–3)
Computation range All n≤8.875×1030 (Platt–Helfgott) N≤4×1018 (Oliveira e Silva, unrestricted)
GRH dependence None Required for pointwise all-n result
Selberg parity Bypassed (three primes) Present; Chen gives ω(P2)≤2 unconditionally

The fundamental difference is that Helfgott’s problem has three primes with no residue constraints, allowing the circle method to proceed without facing the equidistribution of primes in residue classes. The restriction p1≡a (mod q) introduces L(s,χ) zeros as a central obstacle, requiring the character-sum machinery of Papers 1–3 and making the GRH assumption essential for the pointwise result.

LOGICAL FLOW SUMMARY

The proof structure of Theorem 1.2 (updated to include Route C):

Paper 1 [1] (binary almost-all; certified constants)⇒ Lemma 3.1 (Transfer Lemma) [Proved]

⇒ Theorem 1.1 (ternary almost-all, weak form) [Proved]

L4 bound (Paper 1 [1]) + Vinogradov–Vaughan L∞ ⇒ Lemma 6.1 (minor arc, Route B) [Proved] [constant 17.6]

L2-orthogonality (Lemma 6.3) + L∞ (Lemma 6.6) + L2 (Lemma 6.5) ⇒ Theorem 6.8 (Hölder Route C) [Proved] [constant 2.10/φ(q)]

⇒ Lemma 6.1 (minor arc, improved) [Proved] [constant 4.41/φ(q)⋅2A]

Singular series + Siegel–Walfisz ⇒ Lemma 4.1 (convergence) [Proved] ⇒ Lemma 4.2 (positivity) [Proved] ⇒ Lemma 4.3 (explicit (3,4) case) [Proved]

Singular series + Vaughan + Gallagher ⇒ Lemma 5.1 (major arc approx.) [Proved] ⇒ Lemma 5.3 (major arc main term) [Proved]

Lemma 5.3 + Lemma 6.1 + Lemma 4.3 ⇒ Theorem 1.2 (full almost-all ternary) [Proved] ⇒ Theorem 1.3 (explicit (3,4) form) [Proved]

Paper 2 [2] + DH/GRH ⇒ Theorems Theorem 9.2, Theorem 9.4 [Cond. Proved (DH)] / [Cond. Proved (GRH)]

Self-containment status. The Anderson series (Papers 1–3) is now fully self-contained. Every result follows from: the Prime Number Theorem and its certified effective form; the Vaughan identity; the Gallagher large sieve in integral form; character orthogonality for Dirichlet characters; and the computational verifications in Papers 1–2. No external unpublished manuscript is required.

CONCLUSION

This paper establishes a restricted weak ternary Goldbach theorem via prime anchoring and an explicit almost-all bound with effective constants. The main unconditional results are as follows.

Theorem 1.1 (almost-all via prime anchoring) and Theorem 1.2 (almost-all with full asymptotic) are proved unconditionally for the restricted weighted ternary Goldbach sum

Wa,q(n) =∑p1+p2+p3=np1≡a (mod q)(logp1)(logp2)(logp3),  q≥1, gcd(a,q)=1.

Specifically, for every A>0 the number of odd n≤X with Wa,q(n)=0 is ≪A,qX(logX)−A, and for all odd n≤X outside an exceptional set of size at most Cternary(A,q)⋅X(logX)−A one has

Wa,q(n) = J3,a,q(n)φ(q) n2+OA,q(n2(logn)A),

with J3,a,q(n)>0 effectively computable and Cternary(A,q)≤4.41φ(q)⋅2A [Proved]. For the model case (a,q)=(3,4) the main term equals C2 S(n) n2/4 with C2∈[0.6601618157, 0.6601618160] [Comp. Verified].

The central technical contribution is a self-contained proof of the minor-arc bound

∫𝔪|Sa,q(α)| |S(α)|2 dα ≤ 2.10φ(q)⋅n2(logn)A,  Kmin(q,A)≤2.10φ(q),

obtained via the Hölder (L2,L∞,L2) factorization, combining the exact L2-orthogonality identity ∥Sa,q∥L22=∥S∥L22/φ(q) (Lemma 6.3) with the Vinogradov–Vaughan L∞ minor-arc bound and the certified L2 estimate ∥S∥L22≤cL2 nlogn with cL2=1.001 [Proved]. This replaces the previous constant Kminglobal=17.6 obtained via global Parseval, representing an improvement by a factor of approximately 255 for q=4.

Conditional extensions under the Zero-Density Hypothesis DH(12/5) and under GRH are established with explicit error exponents θDH=6/11≈0.545 and error Oq,ε(n3/2+ε), respectively [Cond. Proved (DH)] / [Cond. Proved (GRH)]. For q=4 the GRH effective threshold is estimated as logN0ternary(4)≈116.8, i.e. N0ternary(4)≈1050.7 [Honest Caveat].

The Anderson series (Papers 1–3) is now fully self-contained: every result follows from the Prime Number Theorem and its certified effective form, the Vaughan identity, the Gallagher large sieve, Dirichlet character orthogonality, and the computational verifications of Papers 1–2. No external unpublished manuscript is required.

Several problems remain open: a pointwise unconditional result (Wa,q(n)>0 for every odd n≥n0(q), without GRH), the removal of the 5 % safety margin to obtain Kmin≤2.002/φ(q), an explicit numerical threshold n0(A,q) in Theorem 1.2, uniformity in q up to a growing bound, and a rigorous derivation of the 3/2-power scaling for the ternary GRH effective constant.

REFERENCES

    1. Anderson IF. An Almost-All Theorem for a Restricted Goldbach Sum over Arithmetic Progressions with Explicit Unconditional Constants. Int J Phys Res Appl. 2026 May 21;9(5):129-40. [Google Scholar]
    2. Anderson IF. Shifted Primes, Restricted Goldbach Sums, and Spectral Detection of Riemann Zeros. [Google Scholar]
    3. Anderson IF. Restricted Goldbach Sums and Spectral Connections with the Riemann Zeta Function. Preprints. org, version. 2026 May 9;3. [Google Scholar]
    4. Bombieri E. On the large sieve. Mathematika. 1965 Dec;12(2):201-25. [Google Scholar]
    5. Dujella A. Number theory. Number Theory, Školska knjiga, Zagreb. 2021 Jan 1. [Google Scholar]
    6. X. Gallagher, "A large sieve density estimate near σ = 1," Inventiones Mathematicae, vol. 11, pp. 329–339, 1970. [Google Scholar]
    7. Hardy GH, Littlewood JE. Some problems of ‘Partitio numerorum’; III: On the expression of a number as a sum of primes. Acta mathematica. 1923 Dec;44(1):1-70. [Google Scholar]
    8. Helfgott HA. The ternary Goldbach conjecture is true. arXiv preprint arXiv:1312.7748. 2013 Dec 30. [Google Scholar]
    9. Huxley MN. On the difference between consecutive primes. Inventiones mathematicae. 1971 Jun;15(2):164-70. [Google Scholar]
    10. Mikawa, "On the ternary Goldbach problem with primes in arithmetic progressions," Tsukuba Journal of Mathematics, vol. 17, pp. 447–461, 1993. [Google Scholar]
    11. Montgomery H, Vaughan R. The exceptional set of Goldbach's problem. Acta arithmetica. 1975;27:353-70. [Google Scholar]
    12. Pintz J. A new explicit formula in the additive theory of primes with applications I. The explicit formula for the Goldbach and Generalized Twin Prime Problems. arXiv preprint arXiv:1804.05561. 2018 Apr 16. [Google Scholar]
    13. B. Rosser and L. Schoenfeld, "Approximate formulas for some functions of prime numbers," Illinois Journal of Mathematics, vol. 6, pp. 64–94, 1962. [Google Scholar]
    14. Stechkin SB. Zeros of the Riemann zeta-function. Mathematical notes of the Academy of Sciences of the USSR. 1970 Oct;8(4):706-11.. [Google Scholar]
    15. Vaughan RC. the Hardy-Littlewood method. Cambridge: Cambridge University Press; 2003 Feb. [Google Scholar]
    16. Tao Z. On the representation of large odd integer as a sum of three almost equal primes. Acta Mathematica Sinica. 1991 Sep;7(3):259-72. [Google Scholar]
    17. Anderson IF. A Conditional Proof of the Restricted Goldbach Conjecture for Every Even Integer Beyond 10^ 19.9. [Google Scholar]
Citation: Anderson IF (2026). A Restricted Weak Ternary Goldbach Theorem via Prime Anchoring and an Explicit Almost-All Bound with Effective Constants. J. Econ. Intell. Math.. Vol.1 Iss.1, October (2026), pp:18-40.
Copyright: © 2026 Ibar Federico Anderson. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.