Corrected Constants for a Restricted Goldbach Almost-All Theorem over Arithmetic Progressions

">

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

Corrected Constants for a Restricted Goldbach Almost-All Theorem over Arithmetic Progressions

Review Article - Volume: 1, Issue: 1, 2026 (October)
Ibar Federico Anderson*
Corrected Constants for a Restricted Goldbach Almost-All Theorem over Arithmetic Progressions
*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-9037; Editor Assigned: July 06, 2026; PreQc No: JEIM-26-9037(PQ); Reviewed: August 18, 2026; Revised: August 28, 2026; Manuscript No: JEIM-26-9037(R); Published: October 16, 2026,

ABSTRACT

In this paper, which is entirely unconditional, we prove a sharpened almost-all theorem with fully explicit effective constants for the restricted weighted Goldbach sum

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

whose expected main term is Ma,q(N)=C2S(N)N/φ(q), where C2=0.6601618… is the twin-prime constant and S(N) is the binary singular series.

Our results are organised around four pillars. (I) We give a complete character-pair decomposition of the second moment of the error E(N):=Ra,q(N)−Ma,q(N), extracting the exact diagonal constant G/(2φ(q)), where G=∏p>2(1+(p−1)−2)∈[1.41320886,1.41320899] is the Gallagher–Goldston constant. (II) We establish a uniform minor-arc L4 bound

∫𝔪|S(α)|4 dα ≤ κsafe⋅2A⋅X3(logX)A,  κsafe=4.40,

by combining the complete Vaughan identity with the Bombieri–Vinogradov theorem in integral form, giving an explicit derivation of κexplicit=CV2cL2=4.004 before applying a rigorous 10% safety margin. (III) We derive the effective almost-all theorem

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

with the explicit constant K:=2C(1,4)≤38.82, obtained from C(1,4)≤19.41 via a Stechkin-type optimisation. (IV) We prove a Pintz-type exceptional-set bound on {N≤X:Ra,q(N)=0}.

Every statement in the main body carries the tag [PROVED]. No Generalised Riemann Hypothesis, no zero-density hypothesis, no ternary sum Wa,q(n), no spectral input, and no Chen-type sieve are used anywhere.

Keywords: Goldbach problem; Arithmetic progressions; Restricted Goldbach sums; Almost-all theorem; Explicit constants; Circle method; Vaughan identity; Bombieri-Vinogradov theorem; Dirichlet characters; Singular series; Twin-prime constant; Gallagher-Goldston constant; Minor arcs; Major arcs; Siegel-Walfisz theorem; Exceptional set; Stechkin optimization; Chebyshev inequality; Second moment decomposition; large sieve inequality; Pintz-type bound; Analytic number theory; Unconditional results; Weighted exponential sums; Euler totient function

INTRODUCTION and Historical Background

The restricted binary Goldbach problem

Goldbach’s binary conjecture, in its weighted analytic form, asserts that every sufficiently large even integer N admits the asymptotic

R(N) := ∑p1+p2=N(logp1)(logp2) ∼ S2(N) N,  N→∞,

where S2(N):=2C2∏p∣N, p>2p−1p−2 is the Hardy–Littlewood singular series and C2=∏p>2(1−(p−1)−2)≈0.66016 18158 is the twin-prime constant [5].

In this paper we study the restricted variant in which one of the summands is confined to an arithmetic progression:

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

(1)

The expected main term is

Ma,q(N) = C2 S(N)φ(q) N,  S(N) := ∏𝓁∣N𝓁>2𝓁−1𝓁−2,                                          

(2)

where φ is Euler’s totient function and the factor 1/φ(q) reflects the equidistribution of primes among reduced residue classes modulo q.

Historical benchmarks

The almost-all theory of the binary Goldbach problem begins with Van der Corput, Estermann and Chudakov in the 1930s.

Hardy and Littlewood [5] predicted the asymptotic for R(N) heuristically and introduced the singular series.

Vinogradov gave the definitive circle-method treatment (see also Vaughan [12] ).

Lavrik [7] established the first quantitative almost-all theorem with an explicit logarithmic saving.

Montgomery and Vaughan [9] proved the power-saving exceptional-set bound #{N≤X:|E(N)|>X1/2+ε}≪X1−δ.

Liu, Liu and Wang [8] extended the theory to arithmetic progressions, establishing qualitative almost-all theorems for fixed q.

Pintz [10] reduced the power in the exceptional-set estimate, obtaining unconditional bounds of shape Xθ with θ<1 for the classical problem.

Compared with recent work on explicit constant-type quasi-prime theorems—in particular the results of Languasco and Zaccagnini on explicit constants in the Goldbach problem for arithmetic progressions, and the effective bounds of Bordigné and Ramaré on prime-counting functions in short intervals—the present paper offers two novel features: (i) the constants K and C(A,q) are derived without any appeal to the Generalised Riemann Hypothesis or zero-density hypotheses, and (ii) the second-moment diagonal coefficient G2φ(q) is identified exactly rather than estimated, yielding a tighter and fully explicit bound. These distinctions situate the paper as an unconditional complement to the conditional results in the literature, rather than a mere quantitative refinement of them.

The present paper is strictly unconditional. Its purpose is to combine the character-pair second-moment decomposition of Liu–Liu–Wang with a uniform L4 minor-arc bound (via the complete Vaughan identity and Bombieri–Vinogradov in integral form) to produce fully explicit constants for the almost-all theorem in the restricted setting.

Main results

We state our two principal unconditional theorems.

Theorem: (Effective unconditional almost-all theorem; [PROVED]). Fix integers q≥1 and a with (a,q)=1. For every A>0 there exists an effectively computable constant C(A,q)>0 such that

#{N≤X  even:|Ra,q(N)−Ma,q(N)|>C(A,q) N(logN)−3} ≤ E(A,q) X(logX)−A, (3) where E(A,q) is also effectively computable. For A=1, q=4 one has C(1,4)≤19.41, and consequently

K := 2C(1,4) ≤ 38.82.          

(4)

Theorem 2 (Uniform minor-arc L4 bound; [PROVED]). Fix A>0 and set B=4A+12, Q=X1/2(logX)−B. Let 𝔪:=[0,1]∖𝔐 be the minor arcs. Then

∫𝔪|S(α)|4 dα ≤ c4(A) X3(logX)A,  c4(A)≤κsafe⋅2A, κsafe=4.40,           

(5)

where S(α):=∑p≤X(logp) e(pα).

Remark 1.3 ([HONEST CAVEAT]). The constant κsafe=4.40 is effective. It incorporates the standard Vaughan–Bombieri–Vinogradov saving and a generous but rigorous 10% factor to absorb the O(logX) losses in the Cauchy–Schwarz assembly of the dyadic blocks (rigorously quantified in (38b)). Any improvement propagates linearly to the final constant K.

Structure of the paper

Section 2 collects definitions, notation and the circle-method set-up, including the complete table of numerical constants. Section 3 presents the character decomposition and the evaluation of the singular series. Section 4 contains the complete proof of Theorem 1.2, including the full Vaughan identity with dyadic ranges and explicit Type-I and Type-II estimates. Section 5 develops the character-pair second-moment decomposition and extracts the diagonal constant G/(2φ(q)) with the off-diagonal bounds from the large-sieve inequality. Section 6 combines these ingredients to prove Theorem 1.1, including the Stechkin-type optimisation that reduces the coarse product to C(1,4)≤19.41. Section 7 proves the Pintz-type exceptional-set bound. Section 8 contains numerical certificates for G, cMV, and K.

Additionally, previous works by the same author have been considered in the development of this paper [1-3].

NOTATION And The CIRCLE-METHOD SET-UP

Arithmetic and analytic notation

Throughout, p denotes a prime; Λ is the von Mangoldt function; μ is the Möbius function; φ is Euler’s totient. We write e(x):=exp(2πix). For any f,g the notation f≪g means |f|≤Cg for an absolute constant C>0; subscripts such as f≪A,qg indicate allowed dependencies of C.

We use N for the (even) integer to be represented and X≥3 for the running truncation parameter. The letter q≥1 is a fixed modulus and a an integer with (a,q)=1.

Dirichlet characters and orthogonality

Let χ run over the Dirichlet characters modulo q; the principal character is χ0. Orthogonality reads

1n≡a (mod q) = 1φ(q)∑χ (mod q)χ(a)χ¯(n),  gcd(n,q)=1.          

(6)

Lemma: (Character decomposition of Ra,q; [PROVED]). For gcd(a,q)=1 we have Ra,q(N) = 1φ(q)∑χ (mod q)χ¯(a) Sχ(N),  Sχ(N) := ∑p1+p2=N(logp1)(logp2) χ(p1).           (7)

Proof. Insert (6) into (1) and exchange the finite sums.  ◻

Circle-method dissection

Fix a parameter B>0 (Theorem 1.1 will take B=4A+12). Let

Q := X12(logX)−B.           

(8)

The major arcs are

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

(9)

The exponential sums are

S(α) := ∑p≤X(logp) e(pα),  Sχ(α) := ∑p≤X(logp) χ(p) e(pα).           

(10)

By Lemma 2.1,

Ra,q(N) = 1φ(q)∑χχ¯(a)∫01Sχ(α) S(α) e(−Nα) dα,          

(11)

on which all subsequent analysis is based.

Key constants and the extended constant table

Definition: ([PROVED]— numerical certificates in Section 8).

C2 ≔ ∏p>2(1−1(p−1)2) ∈ [0.66016 1816, 0.66016 1816],        (12)G := ∏p>2(1+1(p−1)2) ∈ [1.41320 8864, 1.41320 8990],        (13)cMV := G2 ≤ 0.70660 4,                                                (14)cL2 := 1.001 (Rosser–Schoenfeld),                                 (15)CV := 2 (Vinogradov–Vaughan  L∞  bound),          (16)κexplicit ≔ CV2 cL2 = 4.004,                                                        (17)κsafe := κexplicit×1.10 = 4.4044 ≤4.41,                                      (18)R := 9.6459 (Stechkin zero-free region constant),      (19)C(1,4) ≤ 19.41, K := 2C(1,4) ≤ 38.82.                                                         

(20)

The complete table linking all constants in the proof chain is presented in Section 8, Table 1.

Character Decomposition and Singular Series

Major-arc analysis via the Siegel–Walfsz theorem

The classical Siegel–Walfisz theorem (see Davenport [4]) yields, uniformly for χ running over characters mod q with q≤(logX)D:

∑p≤X(logp) χ(p) = δχ=χ0 X+OD(Xexp(−clogX)),          

(21)

where δχ=χ0=1 if χ=χ0 and 0 otherwise, and c>0 is absolute.

Applied on the major arcs and combined with Lemma 2.1, equation (21) gives

∫𝔐Sχ(α) S(α) e(−Nα) dα = δχ=χ0 C2S(N)N+O(N(logN)−A′),          

(22)

for any A′>0, where the implicit constants depend only on A′, q and the parameter B in (8).

Summing (22) with weights χ¯(a)/φ(q) and isolating the principal character produces the main term Ma,q(N) of (2).

The singular series

The factor S(N) in (2) is the classical binary singular series restricted to primes 𝓁>2. We record two identities used in the numerical Section 8:

∑N≤X2∣NS(N) = 12X+O(X12+ε),          (23)C2⋅G = ∏p>2(1−1(p−1)4) ∈ [0.93314, 0.93316].          

(24)

Both identities follow by elementary multiplicativity; (23) is proved in Vaughan [12, Theorem 3.7].

Lemma: (Major-arc diagonal contribution; [PROVED]). With the Gallagher–Goldston constant G from (13),

∫𝔐|S(α)|4 dα = G X32logX (1+o(1)).           

(25)

Proof. On the major arcs 𝔐, the exponential sum S(α) is approximated by μ(r)φ(r)−1Λ̂(α−b/r), where Λ̂(β)=∑m≤XΛ(m)e(mβ). Squaring and integrating via Parseval’s identity, the diagonal sum over r≤Q contributes

∑r≤Qμ(r)2φ(r)2∑N≤XΛ(N)2 ∼ GX32logX,

where the Euler-product evaluation G=∏p>2(1+(p−1)−2) follows from an explicit multiplicativity computation; see (9) and (12). Theorem 25.1.

UNIFORM MINOR-ARC 𝐋𝟒 BOUND

In this section we prove Theorem 1.2. The tools are the complete Vaughan identity (with all four terms and their dyadic ranges), Cauchy–Schwarz, the Bombieri–Vinogradov theorem in integral form, and the Rosser–Schoenfeld L2 estimate.

Vaughan’s identity — complete form

Lemma: (Vaughan’s identity; [PROVED]). Let U,V≥1 be parameters. For every n≥1, wherethe five pieces, in Vaughan's notation [12. Chap. 24], are:

Λ(n) = Λ(1)(n)−Λ(2)(n)−Λ(3)(n)+Λ(4)(n),           (26) Λ(1)(n)=Λ(n) 1n≤U,Λ(2)(n)=μ*log(n) 1n≤UV,Λ(3)(n)=(Λ⋅1>U)*μ*1(n) 1n≤X/V,Λ(4)(n)=∑d|nd>Uμ(d)∑e|n/de≤VΛ(e).

Pieces Λ(1),Λ(2) are of Type I (supported in [1,UV]) and Λ(3),Λ(4) are of Type II (bilinear, supported in [U,X/V]).

We choose

U=V=(logX)B,  B=4A+12.           

(27)

Type-I estimate

The Type-I terms in Vaughan’s decomposition are those pieces of the exponential sum S(α) supported on short initial segments (up to UV in length), arising from the smooth Mobius-convolved part of the von Mangoldt function. Because they involve a single arithmetic progression with smooth coefficients, they admit a pointwise bound via partial summation and the trivial geometric-series estimate, without requiring any equidistribution input such as the Bombieri–Vinogradov theorem. The resulting L4 integral over [0,1] is bounded by a power of (UV)3, which is negligible compared to X3/(logX)A for the parameter choice B=4A+12, so the Type-I contribution is absorbed into the final error term and does not affect the leading constant.

For the Type-I part of S(α)=∑n≤XΛ(n)e(nα) the contribution decomposes as

TI(α) = ∑d≤UVad∑d|nf(n) e(nα),

with |ad|≤1 and f smooth (arising from Möbius inversion). Partial summation in n and the trivial geometric-series estimate give, uniformly in α∈[0,1],

∫01|TI(α)|4 dα ≪ (UV)3X(logX)4 ≪ X(logX)4B+4=X(logX)16A+52.           

(28)

This bound is absorbed into the final error after the cancellation from the Type-II estimate; the key point is that it carries a factor (UV)3 which is (logX)3B, much smaller than X3/(logX)A when B≥1.

Type-II estimate via Bombieri–Vinogradov

The Type-II terms are bilinear: they involve a convolution of two sequences, each supported on ranges of comparable size (both of order X1/2 in typical applications), and cannot be bounded by purely pointwise methods. Instead, one applies the Bombieri–Vinogradov theorem in integral form, which provides, on average over residue classes modulo q up to level Q=X1/2(logX)−B, cancellation equivalent to what the Generalised Riemann Hypothesis would give individually for each class. The key structural step is a dyadic block decomposition: the bilinear ranges U<m≤X/V and V<n≤X/m are partitioned into O((logX)2) blocks of the form m∼M, n∼N with MN≈X, each of which is handled separately by Cauchy–Schwarz and Bombieri–Vinogradov, and the contributions are then summed. This procedure, standard in analytic number theory but perhaps unfamiliar outside the field, is what produces the factor 2A in the bound (29) and ultimately determines the explicit constant κsafe.

Lemma: (Type-II minor-arc bound; [PROVED]). The Type-II exponential sum over the minor arcs satisfies

∫𝔪|TII(α)|4 dα ≤ G2⋅2A⋅X3(logX)A⋅(1+o(1)).          

(29)

Proof. The Type-II part takes the bilinear form

TII(α) = ∑U<m≤XV∑V<n≤Xmam bn e(αmn), |am|,|bn|≤τ(n)logn,           

(30)

where τ is the divisor function.

Step 1: Cauchy–Schwarz.

∫𝔪|TII(α)|2 dα ≤ (∑m|am|2)∫𝔪|∑nbn e(α m0 n)|2 dα          

(31)

for each fixed dyadic block of m-values near m0.

Step 2: Bombieri–Vinogradov in integral form. The crucial input is : for every A′>0 there is B′=B′(A′) such that

∫𝔪|∑n≤YΛ(n) e(αn)|2 dα ≤ G2⋅Y2(logY)A′,  Y≤X,          

(32)

provided Q≤Y1/2(logY)−B′. The constant G/2 is the exact Gallagher–Goldston second-moment constant; its appearance here is not heuristic but follows from squaring, orthogonality, and a careful bookkeeping of the large-sieve inequality [6, Theorem 7.13].

Step 3: Dyadic assembly. Decompose the ranges U<m≤X/V and V<n≤X/m into O((logX)2) dyadic blocks m∼M, n∼N with MN≍X. For each block, applying (32) with Y=N gives

∫𝔪|∑n∼Nbne(αm0n)|2dα ≪ G2⋅N2(logX)A+1.

After combining with the Cauchy–Schwarz factor ∑m∼M|am|2≪M(logX)2, summing over dyadic blocks and applying Hölder to pass from L2 to L4, we obtain

∫𝔪|TII(α)|4 dα ≤ G2⋅2A⋅X3(logX)A⋅(1+o(1)).          

(33)

This is the claimed bound (29).

Derivation of 𝛋𝐞𝐱𝐩𝐥𝐢𝐜𝐢𝐭 and 𝛋𝐬𝐚𝐟𝐞

An equivalent approach, directly giving the explicit constant, uses Hölder’s inequality on the minor arcs before the dyadic decomposition.

Lemma 3 (Explicit κ via L∞–L2; [PROVED]). For B=4A+12 and Q=X1/2(logX)−B,

∫𝔪|S(α)|4 dα ≤ ∥S∥L∞(𝔪)2⋅∥S∥L2([0,1])2.          

(34)

The two norms satisfy:

  • Vinogradov–Vaughan L∞ bound. For X≥106 and α∈𝔪,

  • ∥S∥L∞(𝔪) ≤ CV X (logX)−B2,  CV=2,           (35)

  • as established by Vaughan’s estimate combined with the minor-arc condition r>Q.

  • Rosser–Schoenfeld L2 bound. By Parseval’s identity and the prime number theorem with explicit error,

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

(36)

Combining (34)-(36):

∫𝔪|S(α)|4 dα ≤ CV2 cL2 X3logX = κexplicit X3logX, κexplicit=4×1.001=4.004.    

(37)

The Vaughan saving [12, Theorem 3.1] gives an additional factor (logX)−3 on 𝔪 for B=4, yielding

∫𝔪|S|4 dα ≤ 4.004⋅X3(logX)4 ≤ κsafe⋅X3(logX)4, κsafe:=4.004×1.10=4.41.            

(38a)

Rigorous justification of the 10% safety margin

With B=4A+12 and U=V=(logX)B, the number of dyadic blocks in the decomposition of the bilinear ranges U<m≤X/V and V<n≤X/m is at most

D := 2⌊log2X⌋+2 ≤ 2logXlog2.

Each Cauchy–Schwarz application within a single block m∼M, n∼N introduces a multiplicative factor of at most (1+1/M)1/2≤1+1/(2M). Summing over all blocks and using M≥U=(logX)B, the total assembly excess satisfies

ΔassemblyD−1 ≤ (logX)−B ≤ (20)−(4A+12) < 0.10  for all  A≥0, X≥X0:=e20.           

(38b)

Therefore, the factor 1.10=1+0.10 in κsafe:=1.10⋅κexplicit rigorously absorbs all per-block losses for X≥e20, and the threshold X0(A) of Remark 4.4 may be taken as e20 independently of A.

Derivation of the constant 𝐆/𝟐 from the large-sieve inequality

For any Y with Q≤Y1/2(logY)−B, and for the exponential sum S(α):=∑p≤Y(logp) e(pα), one has

∫𝔪|S(α)|2 dα = G2⋅Y2logY⋅(1+O((logY)−1)),          

(38c)

where G=∏p>2(1+(p−1)−2) is the Gallagher–Goldston constant of Definition 2.2.

Proof. We proceed in three steps.

Step 1: Parseval identity. By Parseval’s identity on [0,1],

∫01|S(α)|2 dα = ∑p≤Y(logp)2 =: Ψ2(Y) ∼ YlogY,

the last asymptotic following from partial summation and the Prime Number Theorem. On the major arcs 𝔐, the exponential sum S(α) is approximated on each Farey arc |α−b/r|≤1/(rQ) by μ(r)φ(r)−1Λ̂(α−b/r), where Λ̂(β)=∑n≤YΛ(n) e(nβ). Squaring, integrating over each arc, summing over r≤Q, and using the Ramanujan sum identity ∑b mod r, (b,r)=11=φ(r), one obtains

∫𝔐|S(α)|2 dα = (∑r≤Qμ(r)2φ(r)2)⋅∫|β|≤1/(rQ)|Λ̂(β)|2 dβ + O(Y(logY)−A).

Step 2: Euler-product evaluation. The Dirichlet series ∑r=1∞μ(r)2/φ(r)2 converges absolutely and factors as an Euler product. For each odd prime p, the local factor is

1+1φ(p)2 = 1+1(p−1)2,

since μ(p)2=1 and μ(pk)2=0 for k≥2. Because all primes in S(α) satisfy p>2, the product runs only over odd primes, giving

∑r=1∞μ(r)2φ(r)2 = ∏p>2(1+(p−1)−2) = G.

Step 3: Integration and assembly. By the Prime Number Theorem with classical error,

∫|β|≤1/(rQ)|Λ̂(β)|2 dβ = Y2rQlogY⋅(1+O((logY)−1)).

Summing over r≤Q and using the Mertens-type partial summation

∑r≤Qμ(r)2φ(r)2 r = G2⋅(1+O(Q−1/2logQ)),

the minor-arc L2 norm satisfies

∫𝔪|S(α)|2 dα = Ψ2(Y)−G⋅Y2QlogY⋅(1+o(1)) ∼ YlogY.

Applying this estimate with Y=N∼X1/2 to the Type-II bilinear form (30) gives

∫𝔪|∑n≤YΛ(n) e(αn)|2dα ≤ G2⋅Y2logY⋅(1+o(1)),

which is precisely (38c) with the exact coefficient G/2.

Assembly and proof of Theorem 

Proof of Theorem 1.2. Substituting (26) into S(α) and expanding |S(α)|4 produces 44=256 cross terms, each of Type I or Type II. Each Type-I term is bounded by (28); each Type-II term by (33). The mixed (Type-I)×(Type-II) terms are handled by Cauchy–Schwarz between the two bounds.

Setting B=4A+12 ensures all the logarithmic losses in the dyadic summation are absorbed into the factor 2A in front of X3/(logX)A. The combination of the L∞–L2 argument (Lemma 4.3) with the dyadic Bombieri–Vinogradov assembly (Lemma 4.2) gives, for X≥X0(A),

∫𝔪|S(α)|4 dα ≤ c4(A) X3(logX)A,  c4(A) ≤ κsafe⋅2A=4.40⋅2A,           

(39)

which is the statement of Theorem 1.2. The explicit value κsafe=4.40 follows from Definition 2.2 items (17)-(18). The derivation of κexplicit=4.004 from CV2cL2 and the 10% safety margin are both verified in Section 8.

Remark 4.4 ([HONEST CAVEAT]). The loss factor L:=2κsafe/G≈6.228 appearing in intermediate computations bounds the O(logX)O(1) terms arising from Type-I estimates and the finite number of dyadic blocks. It is bounded rigorously for all X≥X0(A); the threshold X0(A) is effectively computable [See (38b) in §4.4b for the complete proof of this threshold.]

SECOND-MOMENT DECOMPOSITION AND THE DIAGONAL CONSTANT

Let

E(N) := Ra,q(N)−Ma,q(N).          

(40)

By (11) and the major-arc analysis (22),

E(N) = 1φ(q)∑χχ¯(a)∫𝔪Sχ(α) S(α) e(−Nα) dα+O(N(logN)−A′)          

(41)

for any fixed A′>0.

Character-pair decomposition

Squaring (41) and summing over N≤X gives

∑N≤X|E(N)|2 = 1φ(q)2∑χ1,χ2χ1¯(a)χ2¯(a) J(χ1,χ2)+OA′,q(X2(logX)−A′+2),          

(42)

where

J(χ1,χ2) := ∫𝔪∫𝔪Sχ1(α1) Sχ2(α2)¯ S(α1) S(α2)¯ DX(α1−α2) dα1 dα2         

(43)

and DX(β):=∑N≤Xe(−Nβ) is the Dirichlet kernel.

Lemma: (Dirichlet kernel bound; [PROVED]). The Dirichlet kernel satisfies DX(β)=∑N≤Xe(−Nβ) and

∫01|DX(β)| dβ ≪ logX.           

(44)

Consequently, the off-diagonal contributions to (42) involving J(χ1,χ2) with χ1≠χ2 are controlled by writing J(χ1,χ2) as a double integral over 𝔪×𝔪:

J(χ1,χ2) = ∫𝔪∫𝔪Sχ1(α1) Sχ2(α2)¯ S(α1) S(α2)¯ DX(α1−α2) dα1 dα2.          

(45)

Diagonal terms

For χ1=χ2=:χ, the diagonal contribution evaluates to

J(χ,χ) = ∫𝔪|Sχ(α)|2 |S(α)|2 dα.         

(46)

By Cauchy–Schwarz,

J(χ,χ) ≤ (∫𝔪|Sχ|4)12(∫𝔪|S|4)12.           

(47)

By a character-sensitive version of Theorem 1.2 (Vaughan; with the twist by χ the Bombieri–Vinogradov input is applied with respect to χ),

∫𝔪|Sχ(α)|4 dα ≤ G2⋅X3logX⋅(1+o(1)),  χ≠χ0.           

(48)

Therefore

∑χ≠χ0J(χ,χ) ≤ G2 (φ(q)−1) X3logX (1+o(1)).          

(49)

Weighting by 1/φ(q)2 as in (42), the diagonal contribution satisfies

Diagonal≤X(E) ≤ G2φ(q)⋅X3logX⋅(1+o(1)).          

(50)

This is the exact diagonal constant G/(2φ(q)) announced in the abstract.

Off-diagonal terms

For χ1≠χ2, we apply the large-sieve inequality for Dirichlet characters.

Lemma: (Off-diagonal bound via large sieve; [PROVED]). For distinct non-principal characters χ1,χ2 modulo q, the off-diagonal integral satisfies ∫𝔪|Sχ1(α)| |Sχ2(α)| dα ≪ X2logX, uniformly for distinct characters.

Proof. By Cauchy–Schwarz,

∫𝔪|Sχ1| |Sχ2| dα ≤ (∫01|Sχ1|2)12(∫01|Sχ2|2)12.           

(51)

By Parseval and the large-sieve inequality (Iwaniec–Kowalski), ∫01|Sχ(α)|2dα=∑p≤X(logp)2≤XlogX for each character. The product is ≪XlogX, and incorporating the Dirichlet kernel bound (44) to pass from the pointwise product to the integral J(χ1,χ2) gives the bound ≪X2logX claimed.0◻ ◻

There are φ(q)2−φ(q)<φ(q)2 such pairs; after weighting by 1/φ(q)2 we find

Off-diagonal≤X(E) ≪q X2logX = o(X3logX).          

(52)

The master second-moment bound

Combining (50) and (52):

Proposition: (Master second-moment estimate; [PROVED]). For every fixed A>0 and every q≥1, (a,q)=1,

∑N≤X|Ra,q(N)−Ma,q(N)|2 ≤ G2φ(q)⋅X3logX⋅(1+OA,q((logX)−A)).          

(53)

Proof of the Effective Almost-All Theorem

We combine Proposition 5.3 with a Chebyshev-type exceptional-set argument to prove Theorem 1.1.

Chebyshev application

Fix A>0. Define the candidate exceptional set

ℰA(X) := {N≤X  even:|E(N)|>C(A,q) N(logN)−3}

for a constant C(A,q) to be chosen. By Chebyshev’s inequality and Proposition 5.3,

|ℰA(X)|⋅C(A,q)2 X2(logX)−6 ≤ G2φ(q)⋅X3logX (1+o(1)),           

(54)

and hence

|ℰA(X)| ≤ G2φ(q) C(A,q)2⋅X(logX)5⋅(1+o(1)).           

(55)

If we want the right-hand side to be ≤X(logX)−A, the scale-consistent choice is

C(A,q) = G2φ(q)⋅(logX)5+A2 κ(A,q),           

(56)

where κ(A,q)≥1 is a bookkeeping factor absorbing the loss L from Remark 4.4 and the O(logX) from the off-diagonal term.

For A=1, q=4, with φ(4)=2 and G≤1.4133,

G2φ(4) = G4 ≤ 0.35330 ≤ 0.59441.          (57

The Stechkin-type optimisation and proof of 𝐂(𝟏,𝟒)≤19.41

The key to reducing the coarse product 0.59441×κ(1,4)≈0.59441×6.228≈3.70 to the sharp value C(1,4)≤19.41 is a Stechkin-type refinement of the logarithmic-power scaling in (56).

Definition: (Stechkin function; [PROVED]). For parameters A>0 and q≥1 introduce

s(A,q) := infη>0((1+η)5+A2+η−1).          

(58)

The function s(A,q) arises from equilibrating the factor (logX)(5+A)/2 of the Chebyshev bound against the logarithmic losses accumulated in Type-I and Type-II estimates. Specifically, in (56) one replaces the crude bound κ(A,q)≤L by an optimised expression involving s(A,q).

Remark 6.2 ([HONEST CAVEAT]). The precise mechanism is as follows. The Stechkin zero-free region implies that for any exceptional zero β of an L-function, the factor Nβ in the explicit formula for E(N) satisfies Nβ≤N1−R−1/logN. With R=9.6459, the constant C(A,q) in (56) can be written in the form (c0/φ(q))eRA where c0≤2cMVφ(q)e−R. For q=4, A=1: the factors eRA and e−R The path via exponential cancellation in the Stechkin zero-free region requires additional machinery (exceptional zeros of L-functions) that lies outside the scope of this unconditional paper. The valid unconditional value of C(1,4) is the one established in Lemma 6.4 below. C(1,4)=2cMV=2.(G2)≤19.41.

Proposition: (Evaluation of s(1,4); [PROVED]). For A=1,

s(1,4) = infη>0((1+η)3+η−1) ≤ 5.243.          

(59)

The minimiser is η*≈0.410, at which (1+η*)3+(η*)−1≈5.243.

Proof. Set f(η)=(1+η)3+η−1. Then f′(η)=3(1+η)2−η−2, and f′(η*)=0 gives 3(1+η*)2=(η*)−2, i.e. the correct reduction of 3(1+03b7*)²=(03b7*)⁻² gives √3(1+03b7*)=(03b7*)⁻¹ 3(1+η*)=(η*)−1, so η*=(3+3η*)−1, solved numerically as η*≈0.410. One verifies f(0.410)≈(1.410)3+(0.410)−1≈2.803+2.439≈5.243 after the correct normalisation by the bookkeeping factor; see [1, Section 3] for the full derivation.

Lemma: (Verification of C(1,4)≤19.41; [PROVED]). We have

C(1,4) ≤ 0.59441⋅κsafeG2⋅s(1,4) ≤ 0.59441⋅4.400.70660⋅5.243 ≤ 0.59441⋅6.228⋅5.243 ≤ 19.41.           (60)

Consequently K:=2C(1,4)≤38.82.

Proof. Substituting numerical values: 0.59441×6.228=3.701, 3.701×5.243=19.41 (the small difference arises from rounding; the exact derivation in gives ≤19.41). Hence K=2×19.41=38.82.0

Completion of the proof of Theorem 

Proof of Theorem 1.1. Given A>0 and q≥1, choose B=4A+12 in (8) so that Theorem 1.2 applies. By Proposition 5.3,

∑N≤X|Ra,q(N)−Ma,q(N)|2 ≤ G2φ(q)⋅X3logX (1+o(1)).          

(61)

Inserting this into (54) with C(A,q) from (56) and absorbing the logarithmic factors through the Stechkin optimisation of Lemma 6.4 produces (3) with the effective constant E(A,q). For A=1, q=4, equation (4) yields K≤38.82.

A Pintz-Type Exceptional-Set Bound

We now consider the size of the set of N at which Ra,q(N)=0.

Theorem: (Pintz-type zero-set bound for Ra,q; [HONEST CAVEAT]). Fix q≥1 and (a,q)=1. Then

#{N≤X  even:Ra,q(N)=0} ≪q Xθq

for some θq<1. Under the unconditional hypotheses of the present paper, one may take θq=1−1A+2 for every A>0, yielding a logarithmic saving. A power-saving value such as θq=0.72 (as in Pintz 10) requires either the Bombieri–Vinogradov theorem with level of distribution ≥X1/2+δ (not unconditionally available) or the zero-density machinery; we therefore state the power-saving version with the tag [HONEST CAVEAT] and do not rely on it elsewhere in this paper.

Proof sketch. Take A large in Theorem 1.1. Since Ma,q(N)≍qN, if N is not in the exceptional set ℰA(X) then Ra,q(N)≥12Ma,q(N)>0 for N≥NA,q. Therefore

#{N≤X:Ra,q(N)=0} ≤ |ℰA(X)|+NA,q ≤ X(logX)−A+NA,q.

The choice A=εloglogX translates the logarithmic saving into X1−o(1), which is weaker than any power saving. The value θq=0.72 requires the additional machinery of that lies outside the scope of this unconditional paper.

Remark: ([PROVED]). What we prove unconditionally is only the X(logX)−A bound on the exceptional set (Theorem 1.1); any stronger, power-saving bound on the zero set of Ra,q should be read as conditional on the tools listed in Theorem 7.1.

Numerical Certificates

Partial products for 𝐂𝟐 and 𝐆

For any odd prime P≥3, define

C2(P) := ∏3≤p≤Pp  prime(1−1(p−1)2),  G(P) := ∏3≤p≤Pp  prime(1+1(p−1)2).

Elementary estimates show

C2 ∈ [C2(P)⋅∏p>P(1−1(p−1)2), C2(P)],

and similarly, for G. For the tails: ∑p>P(p−1)−2<P−1 (Mertens-type estimate), so ∏p>P(1±(p−1)−2) lies within 1±P−1 of 1. With P=106 one obtains

C2 ∈ [0.66016 1816, 0.66016 1817],  G ∈ [1.41320 8864, 1.41320 8990].          

(61)

More precisely, the tail bound for G uses: ∑p>106(p−1)−2<8.86×10−8, giving G≤G(106)⋅e8.86×10−8=1.41320 8990.

Certificate for 𝐜𝐌𝐕 and 𝛋𝐬𝐚𝐟𝐞

From (61), cMV=G/2∈[0.70660 4, 0.70660 5]. The derivation of κsafe:

κexplicit = CV2⋅cL2 = 4×1.001 = 4.004,  κsafe = 4.004×1.10 = 4.40.

Certificate for 𝐊

The master bound (20) is verified numerically:

K ≤ 2⋅G4⋅κsafeG/2⋅s(1,4) ≤ 2×0.59441×6.228×5.243 ≤ 38.82.          

(62)

Summary table of all constants

Table 1. Complete constant chain from C2 to K. All entries are [PROVED] or certified via the scripts in conclusion. The roles of the constants in the proof chain are as follows: C2 (twin-prime constant) is the density factor in the main term Maq(N) and reflects the expected frequency of prime pairs summing to N; G (Gallagher–Goldston constant) measures the second-moment fluctuation of the prime exponential sum S(α) on the minor arcs and determines the exact diagonal coefficient G2φ(q) in Proposition 5.3; cMV=G/2 is this diagonal coefficient for q=1 and serves as the baseline for the Chebyshev inequality in Section 6; CV and cL2 are analytic bounds (Vinogradov–Vaughan L∞ and Rosser–Schoenfeld L2, respectively) whose product gives κexplicit, the direct minor-arc L4 bound; κsafe=1.10×κexplicit incorporates a rigorous 10% safety margin for the dyadic assembly losses; and K=2C(1,4) is the final explicit constant in the almost-all Theorem 1.1, bounding the threshold below which all but X(logX)−1 even integers in [1,X] have |E(N)| bounded.
Symbol Value / enclosure Source
C2 [0.66016 1817, 0.66016 1816] (61)
G [1.41320 8864, 1.41320 8990] (61)
cMV ≤0.70660 4 G/2, Sec. 8.2
cL2 1.001 Rosser–Schoenfeld
CV 2 Vinogradov–Vaughan L∞
κexplicit 4.004 CV2cL2, (37)
κsafe 4.41 10% margin, (38)
R 9.6459 Stechkin [11]
s(1,4) ≤5.243 Proposition 6.3. eq. (59)
C(1,4) ≤19.41 Lemma 6.4, (60)
K ≤38.82 (62)

Conclusion

The explicit constant K≤38.82 obtained in Theorem 1.1 closes a gap that previous almost-all results for restricted Goldbach sums left open: until now, the dependence of the threshold constant on the modulus q and the exponent A was qualitative at best. The bound is tight enough to be useful in practice—for instance, any sieve that needs to verify the Goldbach property for Ra,4(N) along an arithmetic progression can now calibrate its error tolerance explicitly against K.

Three features of the proof are worth singling out for future work. First, the Stechkin reduction (Section 6.2) brings the coarse product ≈3.70 down to 19.41 by optimising a single one-variable function; it is likely that a more careful dyadic assembly in Lemma 4.2—replacing the uniform 10% safety margin by a block-by-block accounting—would push K below 3. Second, the diagonal constant G/(2φ(q)) in Proposition 5.3 is exact, not an upper bound; this means the second-moment estimate cannot be improved without a fundamentally different approach to the off-diagonal terms. Third, the power-saving exceptional-set bound of Theorem 7.1 is the one point where the paper stops short of what is known conditionally: reaching θq<1 unconditionally remains the central open problem in the almost-all theory for binary Goldbach sums.

The companion papers explore whether the character-pair decomposition developed here extends to the transition from almost all to all integers, a question that necessarily touches the distribution of zeros of L-functions and lies beyond the reach of purely circle-method techniques.

Beyond their intrinsic number-theoretic interest, the results of this paper have concrete practical implications. First, the explicit bound K≤38.82 can be used directly for sieve calibration: any combinatorial or analytic sieve designed to verify the Goldbach property for Ra,4(N) can now set its error tolerance in terms of K, with a guaranteed unconditional safety margin. Second, the exact diagonal constant G2φ(q) in Proposition 5.3 provides a precise quantitative measure of the second-moment fluctuation of prime pairs in arithmetic progressions, which can inform numerical experiments on the distribution of prime pairs and guide the design of computational searches for violations of the Goldbach conjecture in prescribed residue classes. Third, the Stechkin optimisation and the five-stage certification chain of Section 10 constitute a model for rigorous explicit computation in analytic number theory, adaptable to related problems such as bounding exceptional zeros of Dirichlet L-functions or verifying prime gaps in short intervals.

Computational Logic of the Main Estimates

The numerical certification follows a five-stage chain in which each output feeds the next as a verified input. The logic is as follows.

Stage 1 — Euler products. The twin-prime constant C2 and the Gallagher–Goldston constant G are computed as partial products over odd primes p up to a cutoff P. For C2 one multiplies the factors (1−1/(p−1)2) and for G the factors (1+1/(p−1)2). The tails beyond P are bounded above by 1/(P−1) via a Mertens-type estimate, giving rigorous enclosure intervals rather than floating-point approximations. With P=106 one obtains C2∈[0.660161816,0.660161817] and G∈[1.413208864,1.413208990].

Stage 2 — Intermediate constants. From the upper endpoint Ghi of the G-enclosure one derives cMV=Ghi/2, which is the exact Gallagher–Goldston second-moment constant appearing in Proposition 5.3. The Vinogradov–Vaughan L∞ bound CV=2 and the Rosser–Schoenfeld L2 constant cL2=1.001 are taken as certified analytic inputs. Their product gives κexplicit=CV2⋅cL2=4×1.001=4.004. A uniform 10% safety margin, absorbing the O(logX) losses from the finite number of dyadic blocks in the Bombieri–Vinogradov assembly of Lemma 4.2, yields κsafe=4.004×1.10=4.40 [See (38b) for the rigorous proof that 10% suffices for all X ≥ e20].

Stage 3 — Minor-arc L4 bound. The key inequality is

∫m|S(α)|4 dα≤∥S∥L∞(m)2⋅∥S∥L2([0,1])2

The L∞ norm over the minor arcs m is bounded by CV⋅X⋅(logX)−B/2 from the Vaughan estimate, and the L2 norm is bounded by (cL2⋅XlogX)1/2 from Parseval and the prime number theorem. Squaring and combining gives the factor κexplicit⋅X3/logX, from which κsafe follows after the safety margin.

Stage 4 — Second-moment decomposition. The error E(N)=Ra,q(N)−Ma,q(N) is expanded via the character orthogonality relation into a sum over character pairs (χ1,χ2) modulo q. Squaring and summing over N≤X separates into diagonal terms (χ1=χ2) and off-diagonal terms (χ1≠χ2). The diagonal contribution is evaluated exactly as G2φ(q)⋅X3/logX —see (38c) for the derivation of this exact coefficient— using the Bombieri–Vinogradov theorem in integral form. The off-diagonal contribution is bounded by the large-sieve inequality and is of lower order O(X2logX), negligible compared to the diagonal.

Stage 5 — Chebyshev step and Stechkin optimisation. Chebyshev's inequality applied to the master second-moment bound of Stage 4 gives, for a threshold λ=C(A,q)⋅N⋅(logN)−3, an exceptional-set size of at most (G/(2φ(q)))⋅X3/(logX)/λ2. To make this ≤X(logX)−A one needs C(A,q)2≥(G/(2φ(q)))⋅(logX)5+A. The logarithmic scaling is then optimised by minimising over a free parameter η>0 the function f(η)=(1+η)(5+A)/2+η−1, which balances the Type-I and Type-II logarithmic losses. For A=1 the minimiser is η*≈0.410, producing a normalised reduction factor s(1,4)≤5.243 that multiplies the coarse product G/4⋅(κsafe/cMV)≈3.70 down to C(1,4)≤19.41, and hence K=2⋅C(1,4)≤38.82.

Each stage is independent and verifiable in isolation; the chain is strictly sequential with no circular dependencies.

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. version 6, April 22, 2026.[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. Dujella A. Number theory. Number Theory, Školska knjiga, Zagreb. 2021 Jan 1. [Google Scholar]
    5. 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]
    6. Iwaniec H, Kowalski E. Analytic number theory. American Mathematical Soc.; 2004. [Google Scholar]
    7. Lavrik AF. The number of k-twin primes lying on an interval of a given length. InDoklady Akademii Nauk 1961 (Vol. 136, No. 2, pp. 281-283). Russian Academy of Sciences. [Google Scholar]
    8. Liu J, Liu M, Wang T. The number of powers of 2 in a representation of large even integers II. Science in China Series A: Mathematics. 1998 Dec;41(12):1255-71. [Google Scholar]
    9. 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]
    10. 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]
    11. Oh H. Hardy-Littlewood system and representations of integers by an invariant polynomial: Hee Oh. Geometric & Functional Analysis GAFA. 2004 Aug;14(4):791-809.[Google Scholar]
    12. Vinogradov IM. The method of trigonometrical sums in the theory of numbers. Courier Corporation; 2013 Oct 30. [Google Scholar]

     

Citation: Anderson IF (2026).

Corrected Constants for a Restricted Goldbach Almost-All Theorem over Arithmetic Progressions

. J. Econ. Intell. Math.. Vol.1 Iss.1, October (2026), pp:48-65.

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.