Submitted:
10 November 2026
Posted:
12 November 2026
You are already at the latest version
Abstract
We study the restricted weighted Goldbach sum Ra,q (N), in which one prime of a representation N=p1+p2 of an even N is restricted to the residue class a modulo q. If q has an odd prime factor l, then Ra,q (N)=Oq (logN) for every even N≡a (mod l), so the natural main term fails; we give the corrected main term for arbitrary q. For q=2k, an exact additive-shift decomposition and a factorisation of the singular-series coefficients, combined with the Siegel–Walfisz theorem and Vaughan’s minor-arc bound, give a mean-square estimate with saving (logX)-A for every fixed A>0 and an exceptional set of size OA,q (X(logX)-A). A transfer principle yields almost-all theorems along pn+pn+1, pn+pn+d and p+h, with relative accuracy along p+h. For moduli with an odd prime factor the obstruction recurs infinitely often along pn+pn+d, and for q=3 we characterise exactly when R1,3 (pn+pn+1)=0. We also prove a restricted ternary asymptotic with positivity for all large odd n; the representation p+1=3+q2+q3+q4 for every prime p>7, with the optimality of the anchor 3; an asymptotic formula for the weighted four-prime sum with its explicit singular series; and, along shifted primes, a limit law for the singular-series amplitude S0 (p+h) given by an explicit random Euler product Yh, with convergence of all moments, doubly exponentially thin tails and no atoms. The joint limit law of (S0 (p+1),S0 (p-1)) is a pair of random Euler products with strictly negatively dependent coordinates; for odd h the normalised restricted Goldbach function has the same limit law as S0 (p+h). Numerical studies of the digit-repulsion bias between consecutive primes are labelled with their exact range. This version incorporates the full Anchor–Helfgott theorem with its optimal anchor q1=3, and the joint limit law of the singular series at the shifts ±1. All theorems are unconditional, except Corollary 3.9, which rests on the imported lemma of Tolev (Theorem 3.8).
Keywords:
restricted Goldbach problem
; circle method
; singular series
; primes in arithmetic progressions
; exceptional set
; consecutive primes
; ternary Goldbach problem
; shifted primes
; random Euler product
; limit laws of arithmetic functions
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.