Introduction
The integers prime to 6 are exactly the numbers 6 k ± 1 6k\pm1 6 k ± 1 . So every prime p > 3 p>3 p > 3 lies in one of the two progressions
P + = { 6 k + 1 } , P − = { 6 k − 1 } . P^{+}=\{6k+1\},\qquad P^{-}=\{6k-1\}. P + = { 6 k + 1 } , P − = { 6 k − 1 } .
In the author’s notes [11 ] , these intertwined sequences are the starting point for primality tests, counting methods and several conjectures. One observation there is that P − P^{-} P − is almost always ahead of P + P^{+} P + [11 Idea 7] . This paper puts these observations on a firm footing. It separates what is proved, what is conditional and what is open.
For p > 3 p>3 p > 3 , p ≡ ± 1 ( m o d 6 ) p\equiv\pm1\pmod6 p ≡ ± 1 ( mod 6 ) exactly when p ≡ ± 1 ( m o d 3 ) p\equiv\pm1\pmod3 p ≡ ± 1 ( mod 3 ) . So the two series are distinguished by the real character χ = χ − 3 \chi=\chi_{-3} χ = χ − 3 of conductor 3 (χ ( n ) = 0 , 1 , − 1 \chi(n)=0,1,-1 χ ( n ) = 0 , 1 , − 1 for n ≡ 0 , 1 , 2 ( m o d 3 ) n\equiv0,1,2\pmod3 n ≡ 0 , 1 , 2 ( mod 3 ) ). The race between them is governed by L ( s , χ ) L(s,\chi) L ( s , χ ) , and the Dedekind zeta function of Q ( − 3 ) \mathbb{Q}(\sqrt{-3}) Q ( − 3 ) factors as ζ ( s ) L ( s , χ ) \zeta(s)L(s,\chi) ζ ( s ) L ( s , χ ) . Our main tool is the Cesàro margin of Part 11 [24 ] , transferred from ζ \zeta ζ to L ( s , χ ) L(s,\chi) L ( s , χ ) .
Earlier work. Chebyshev asserted in 1853 that there are more primes 4 n + 3 4n+3 4 n + 3 than 4 n + 1 4n+1 4 n + 1 , in the sense that ∑ p ( − 1 ) ( p − 1 ) / 2 e − p / x → − ∞ \sum_{p}(-1)^{(p-1)/2}e^{-p/x}\to-\infty ∑ p ( − 1 ) ( p − 1 ) /2 e − p / x → − ∞ as x → ∞ x\to\infty x → ∞ [3 ] . Hardy and Littlewood proved this under GRH for the corresponding L L L -function [4 ] , and Landau proved that the assertion is equivalent to that hypothesis [5 ] . Littlewood showed that the unweighted differences change sign infinitely often [6 ] ; Knapowski and Turán began the systematic study of such races [7 ] , and Rubinstein and Sarnak computed their logarithmic densities under GRH and LI [20 ] . Theorems 5.2 and 6.1 below belong to the Hardy–Littlewood–Landau line: a smoothed race whose one-sided behaviour is equivalent to GRH. What is added here is the choice of weight n − 1 / 2 log ( N / n ) n^{-1/2}\log(N/n) n − 1/2 log ( N / n ) , for which the race is an identity with an explicit line 1.1320 log N − 1.2709 1.1320\log N-1.2709 1.1320 log N − 1.2709 , an explicit window [ 0 , 0.4536 ] [0,0.4536] [ 0 , 0.4536 ] for the margin, and a verification to 2 27 2^{27} 2 27 . The inequality is exact as an identity; as an inequality it is equivalent to GRH and is not proved.
Which race. The character χ − 3 \chi_{-3} χ − 3 compares the classes 2 and 1 modulo 3, and the prime 2 belongs to the class 2. All statements about π ( x ; 3 , ⋅ ) \pi(x;3,\cdot) π ( x ; 3 , ⋅ ) , ψ ( x , χ ) \psi(x,\chi) ψ ( x , χ ) , C 1 C_1 C 1 , C 2 C_2 C 2 , M χ M_\chi M χ and the densities are for this race modulo 3. The race modulo 6 between P − P^- P − and P + P^+ P + omits the prime 2: π ( x ; 6 , 5 ) = π ( x ; 3 , 2 ) − 1 \pi(x;6,5)=\pi(x;3,2)-1 π ( x ; 6 , 5 ) = π ( x ; 3 , 2 ) − 1 and π ( x ; 6 , 1 ) = π ( x ; 3 , 1 ) \pi(x;6,1)=\pi(x;3,1) π ( x ; 6 , 1 ) = π ( x ; 3 , 1 ) for x ≥ 2 x\ge2 x ≥ 2 , so its lead is smaller by exactly one, and in the weighted race by the terms of the powers of 2. The tables of counts (Table 2 ) are for primes > 3 >3 > 3 , that is, modulo 6.
Table 2. Primes in P + P^+ P + and P − P^- P − up to 10 k 10^k 1 0 k (primes > 3 >3 > 3 ).
Results. § 2 proves the sieve characterization of P ± P^\pm P ± and of twin primes, and shows why the error terms of Legendre-type counting are of the same order as the main term. Section 4 recalls Chebyshev’s bias and computes it from the zeros of L ( s , χ ) L(s,\chi) L ( s , χ ) . § 13 builds the margin M χ M_\chi M χ , proves that GRH for L ( s , χ ) L(s,\chi) L ( s , χ ) is equivalent to M χ ≥ 0 M_\chi\ge0 M χ ≥ 0 (Theorem 5.2 ), and verifies it to 2 27 2^{27} 2 27 . Section 6 contains the exact form of the weighted race (Theorem 6.1 ) and two-sided bounds for each series. § 7 treats consecutive primes and runs, and § 8 –§ 10 treat twin primes, Goldbach modulo 6 and the even powers of primes. § 11 (new in version 2) writes the three forms as a Dirichlet series and proves that the cross-energy C 2 C_2 C 2 of Part 1, averaged over the zeros of ζ \zeta ζ or of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) , returns the primes of each lane (Theorem 11.2 ); § 11.3 (new in version 3) gives the exact finite form of this duality, Proposition 11.3, and explains term by term how the cross-energy hears the primes through the zeros. § 15 summarizes the status.
Place in the book. This is Part 37 of the series, in block VII (Möbius cancellation and prime races). It builds on Part 11 (the Cesàro margin, transferred here from ζ \zeta ζ to L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) ) and on the author’s earlier notes on the primes 6 k ± 1 6k\pm1 6 k ± 1 . It is used by Part 38 (the energy of the same race), and it is cited by Parts 10 and 11. It also uses Part 10 [CE10]. It is also used by Part 11 [24 ] . § 11 uses the cross-energy of Part 1 [27 ] , and it is the dual of the zero detection by that cross-energy studied there; the localized Weil windows of Part 20 [28 ] use the same functions X N X_N X N in the other direction.
The sieve structure of 6 k ± 1 6k\pm1 6 k ± 1
Lemma 2.1 (characterization). Let k ≥ 1 k\ge1 k ≥ 1 and x , y x,y x , y range over the positive integers.
(a) 6 k + 1 6k+1 6 k + 1 is composite if and only if k = 6 x y + x + y k=6xy+x+y k = 6 x y + x + y or k = 6 x y − x − y k=6xy-x-y k = 6 x y − x − y for some x , y x,y x , y .
(b) 6 k − 1 6k-1 6 k − 1 is composite if and only if k = 6 x y + x − y k=6xy+x-y k = 6 x y + x − y for some x , y x,y x , y .
(c) ( 6 k − 1 , 6 k + 1 ) (6k-1,6k+1) ( 6 k − 1 , 6 k + 1 ) is a pair of twin primes if and only if k k k is of none of the three forms.
Proof. If n = 6 k ± 1 n=6k\pm1 n = 6 k ± 1 is composite, write n = a b n=ab n = ab with 1 < a ≤ b 1<a\le b 1 < a ≤ b . Since gcd ( n , 6 ) = 1 \gcd(n,6)=1 g cd( n , 6 ) = 1 , both factors are ≡ ± 1 ( m o d 6 ) \equiv\pm1\pmod6 ≡ ± 1 ( mod 6 ) . If n ≡ 1 n\equiv1 n ≡ 1 , then ( a , b ) ≡ ( 1 , 1 ) (a,b)\equiv(1,1) ( a , b ) ≡ ( 1 , 1 ) or ( − 1 , − 1 ) (-1,-1) ( − 1 , − 1 ) , that is, n = ( 6 x + 1 ) ( 6 y + 1 ) = 6 ( 6 x y + x + y ) + 1 n=(6x+1)(6y+1)=6(6xy+x+y)+1 n = ( 6 x + 1 ) ( 6 y + 1 ) = 6 ( 6 x y + x + y ) + 1 or n = ( 6 x − 1 ) ( 6 y − 1 ) = 6 ( 6 x y − x − y ) + 1 n=(6x-1)(6y-1)=6(6xy-x-y)+1 n = ( 6 x − 1 ) ( 6 y − 1 ) = 6 ( 6 x y − x − y ) + 1 , with x , y ≥ 1 x,y\ge1 x , y ≥ 1 because a , b > 1 a,b>1 a , b > 1 . If n ≡ − 1 n\equiv-1 n ≡ − 1 , one factor is ≡ 1 \equiv1 ≡ 1 and the other ≡ − 1 \equiv-1 ≡ − 1 , and ( 6 x − 1 ) ( 6 y + 1 ) = 6 ( 6 x y + x − y ) − 1 (6x-1)(6y+1)=6(6xy+x-y)-1 ( 6 x − 1 ) ( 6 y + 1 ) = 6 ( 6 x y + x − y ) − 1 . Conversely, each form gives a nontrivial factorization. Part (c) combines (a) and (b). ∎
Status: elementary and complete; checked for k ≤ 10 5 k \le10^{5} k ≤ 1 0 5 . The three forms are the matrices A n , B n , C n A_n,B_n,C_n A n , B n , C n of [11 ] , and (c) is [11 Idea 8] . The “duplicates” counted there have an exact meaning.
Proposition 2.2 (multiplicities). The number of ordered pairs ( x , y ) (x,y) ( x , y ) with 6 x y + x + y = k 6xy+x+y=k 6 x y + x + y = k equals the number of ordered factorizations 6 k + 1 = a b 6k+1=ab 6 k + 1 = ab with a , b > 1 a,b>1 a , b > 1 and a ≡ b ≡ 1 ( m o d 6 ) a\equiv b\equiv1\pmod{6} a ≡ b ≡ 1 ( mod 6 ) ; similarly for the other two forms. In particular, the two forms 6 x y + x + y 6xy+x+y 6 x y + x + y and 6 x y − x − y 6xy-x-y 6 x y − x − y together represent k k k in exactly τ ( 6 k + 1 ) − 2 \tau(6k+1)-2 τ ( 6 k + 1 ) − 2 ordered ways, and the form 6 x y + x − y 6xy+x-y 6 x y + x − y represents k k k in ( τ ( 6 k − 1 ) − 2 ) / 2 (\tau(6k-1)-2)/2 ( τ ( 6 k − 1 ) − 2 ) /2 ways. How the first number splits between the two forms depends on the residues of the prime factors modulo 6 6 6 , not only on how many there are. For example, 343 = 7 3 343=7^3 343 = 7 3 has three prime factors, and k = 57 k=57 k = 57 has only the two representations ( 1 , 8 ) (1,8) ( 1 , 8 ) , ( 8 , 1 ) (8,1) ( 8 , 1 ) by 6 x y + x + y 6xy+x+y 6 x y + x + y and none by 6 x y − x − y 6xy-x-y 6 x y − x − y ; and 175 = 5 2 ⋅ 7 175=5^2\cdot7 175 = 5 2 ⋅ 7 gives k = 29 k=29 k = 29 two representations by each form, from 7 ⋅ 25 7\cdot25 7 ⋅ 25 and from 5 ⋅ 35 5\cdot35 5 ⋅ 35 .
Proof. The map ( x , y ) ↦ ( 6 x + 1 , 6 y + 1 ) (x,y)\mapsto(6x+1,6y+1) ( x , y ) ↦ ( 6 x + 1 , 6 y + 1 ) is a bijection onto the factor pairs of the stated type. □
So a count of the composites in P ± P^{\pm} P ± by “elements minus duplicates” is the inclusion–exclusion principle. Done exactly, it is Legendre’s identity: for z ≥ 5 z\ge5 z ≥ 5 and P ( z ) = ∏ p ≤ z p P(z)=\prod_{p\le z}p P ( z ) = ∏ p ≤ z p ,
π ( N ) − π ( N ) + 1 = ∑ d ∣ P ( N ) μ ( d ) ⌊ N d ⌋ (1) \pi(N)-\pi(\sqrt{N})+1=\sum_{d\mid P(\sqrt{N})}\mu(d)\left\lfloor\frac{N}{d}\right\rfloor \tag*{(1)} π ( N ) − π ( N ) + 1 = d ∣ P ( N ) ∑ μ ( d ) ⌊ d N ⌋ (1)
and the restriction to P ± P^{\pm} P ± only removes the factors 2 2 2 and 3 3 3 from P ( z ) P(z) P ( z ) . The difficulty is not in the identity. It is in the error terms.
Proposition 2.3 (Legendre’s main term is wrong by a constant factor). Write ⌊ N / d ⌋ = N / d − { N / d } \lfloor N/d\rfloor=N/d-\{N/d\} ⌊ N / d ⌋ = N / d − { N / d } in (1) . The main term is N ∏ p ≤ N ( 1 − 1 p ) ∼ 2 e − γ E N log N N\prod_{p\le\sqrt{N}}\left(1-\frac{1}{p}\right)\sim2e^{-\gamma_E}\frac{N}{\log N} N ∏ p ≤ N ( 1 − p 1 ) ∼ 2 e − γ E l o g N N , while π ( N ) ∼ N log N \pi(N)\sim\frac{N}{\log N} π ( N ) ∼ l o g N N . Hence the 2 π ( N ) 2^{\pi(\sqrt{N})} 2 π ( N ) fractional parts contribute − ( 2 e − γ E − 1 + o ( 1 ) ) N log N -(2e^{-\gamma_E}-1+o(1))\frac{N}{\log N} − ( 2 e − γ E − 1 + o ( 1 )) l o g N N , a fixed proportion of the answer.
Proof. Mertens’ third theorem gives ∏ p ≤ z ( 1 − 1 p ) ∼ e − γ E / log z \prod_{p\le z}\left(1-\frac{1}{p}\right)\sim e^{-\gamma_E}/\log z ∏ p ≤ z ( 1 − p 1 ) ∼ e − γ E / log z with z = N z=\sqrt{N} z = N . Compare with the prime number theorem. □
Table 1 shows the effect. The main term exceeds π ( N ) − π ( N ) + 1 \pi(N)-\pi(\sqrt{N})+1 π ( N ) − π ( N ) + 1 by 1.3%, 4.8% and 5.7% at N = 10 5 N=10^5 N = 1 0 5 , 10 7 10^7 1 0 7 and 10 8 10^8 1 0 8 , and the excess tends to 2 e − γ E − 1 = 12.3 % 2e^{-\gamma_E}-1=12.3\% 2 e − γ E − 1 = 12.3% , slowly because of the factor ( log N − 1 ) / log N (\log N-1)/\log N ( log N − 1 ) / log N .
Table 1. Legendre’s main term N ∏ p ≤ N ( 1 − 1 p ) N\prod_{p\le\sqrt{N}}\left(1-\frac{1}{p}\right) N ∏ p ≤ N ( 1 − p 1 ) against the true count.
This is why regressions for the duplicates, as in [11 §9–10] , fit well on finite ranges but cannot give an asymptotic error term. The fractional parts ∑ d μ ( d ) { N / d } \sum_{d}\mu(d)\{N/d\} ∑ d μ ( d ) { N / d } are the Möbius-weighted sawtooth sums that Part 11 [24 ] identifies as the core of the problem.
Idea 17]. The “if” direction follows from Fermat’s little theorem. The converse fails for the Fermat pseudoprimes to bases 2 and 3, which include the Carmichael numbers prime to 6: n + 1 = n+1= n + 1 = 1105, 1729, 2465, 2701, 2821, 6601, 8911, . . .
A smooth indicator and the near-factorization energy
Lemma 2.1 can be packaged into a pair of smooth functions on the integers. Put, for k ≥ 1 k \ge1 k ≥ 1 ,
F + ( k ) = ∏ x , y ≥ 1 tanh 2 ( k − 6 x y − x − y ) tanh 2 ( k − 6 x y + x + y ) , F − ( k ) = ∏ x , y ≥ 1 tanh 2 ( k − 6 x y + x − y ) , (2) F_{+}(k)=\prod_{\substack{x,y\ge1}} \tanh^{2}(k-6xy-x-y)\tanh^{2}(k-6xy+x+y),\qquad F_{-}(k)=\prod_{\substack{x,y\ge1}} \tanh^{2}(k-6xy+x-y), \tag*{(2)} F + ( k ) = x , y ≥ 1 ∏ tanh 2 ( k − 6 x y − x − y ) tanh 2 ( k − 6 x y + x + y ) , F − ( k ) = x , y ≥ 1 ∏ tanh 2 ( k − 6 x y + x − y ) , (2)
with the convention tanh 2 ( 0 ) = 0 \tanh^{2}(0)=0 tanh 2 ( 0 ) = 0 ; the infinite products converge, since − log tanh 2 n ≤ 4 e − 2 n / ( 1 − e − 2 ) -\log\tanh^{2} n\le4e^{-2n}/(1-e^{-2}) − log tanh 2 n ≤ 4 e − 2 n / ( 1 − e − 2 ) and the number of lattice points with 6 x y ± ( ⋯ ) = m 6xy\pm(\cdots)=m 6 x y ± ( ⋯ ) = m is O ( τ ( 6 m ± 1 ) ) O(\tau(6m\pm1)) O ( τ ( 6 m ± 1 )) , and truncating at x , y ≤ k x,y\le k x , y ≤ k , as one would compute them, changes nothing beyond e − 10 k e^{-10k} e − 10 k .
Proposition 3.1 (indicator and energy). (1) F + ( k ) > 0 F_{+}(k)>0 F + ( k ) > 0 if and only if 6 k + 1 6k+1 6 k + 1 is prime, and F − ( k ) > 0 F_{-}(k)>0 F − ( k ) > 0 if and only if 6 k − 1 6k-1 6 k − 1 is prime.
(2) Exactly, with w ( d ) = − 2 log tanh ∣ d ∣ w(d)=-2\log\tanh|d| w ( d ) = − 2 log tanh ∣ d ∣ ,
− log F ± ( k ) = ∑ m ≥ 1 , m ≠ k r ± ( m ) w ( k − m ) , r + ( m ) = τ ( 6 m + 1 ) − 2 , r − ( m ) = τ ( 6 m − 1 ) − 2 2 . (3) -\log F_{\pm}(k)=\sum_{\substack{m\ge1,\ m\ne k}}r_{\pm}(m)w(k-m),\qquad r_{+}(m)=\tau(6m+1)-2,\quad r_{-}(m)=\frac{\tau(6m-1)-2}{2}. \tag*{(3)} − log F ± ( k ) = m ≥ 1 , m = k ∑ r ± ( m ) w ( k − m ) , r + ( m ) = τ ( 6 m + 1 ) − 2 , r − ( m ) = 2 τ ( 6 m − 1 ) − 2 . (3)
Proof. (1) is Lemma 2.1: a factor vanishes exactly at a representation. (2) By Proposition 2.2, the number of pairs ( x , y ) (x,y) ( x , y ) with 6 x y + x + y = m 6xy+x+y=m 6 x y + x + y = m or 6 x y − x − y = m 6xy-x-y=m 6 x y − x − y = m is the number of ordered factorizations 6 m + 1 = a b 6m+1=ab 6 m + 1 = ab , a , b > 1 a,b>1 a , b > 1 , which is τ ( 6 m + 1 ) − 2 \tau(6m+1)-2 τ ( 6 m + 1 ) − 2 , both factors being automatically in matching classes mod 6. For 6 m − 1 = a b 6m-1=ab 6 m − 1 = ab the classes are forced to be opposite, a ≡ 1 a\equiv1 a ≡ 1 , b ≡ − 1 b\equiv-1 b ≡ − 1 or conversely, and the single form 6 x y − x + y = m 6xy-x+y=m 6 x y − x + y = m picks one orientation from each unordered pair, giving ( τ ( 6 m − 1 ) − 2 ) / 2 (\tau(6m-1)-2)/2 ( τ ( 6 m − 1 ) − 2 ) /2 representations (6 m − 1 6m-1 6 m − 1 is never a square). Group the factors of (3.1) by the value m m m and take logarithms. □
Since w ( d ) = 4 e − 2 ∣ d ∣ ( 1 + O ( e − 4 ∣ d ∣ ) ) w(d)=4e^{-2|d|}(1+O(e^{-4|d|})) w ( d ) = 4 e − 2∣ d ∣ ( 1 + O ( e − 4∣ d ∣ )) , identity (3) says what F F F is: an exponentially localized count of the factorizations of the neighbours . F ( k ) F(k) F ( k ) is not a useful primality test – it is Lemma 2.1 in disguise, at cost k 2 k^{2} k 2 against 6 k \sqrt{6k} 6 k for trial division, and the smoothness of tanh gives no analytic leverage, the arguments being integers. Its interest is the value it assigns to each prime: a measure of how crowded the prime is by near-composites of its own progression. The nearest misses dominate: F + ( 3 ) = 0.5799 F_{+}(3)=0.5799 F + ( 3 ) = 0.5799 against tanh 2 ( 1 ) = 0.5800 \tanh^{2}(1)=0.5800 tanh 2 ( 1 ) = 0.5800 , the single neighbour k = 4 k=4 k = 4 (25 = 5 2 25=5^{2} 25 = 5 2 ) accounting for all of it.
Numerically, with (3) checked against the defining product to 3 ⋅ 10 − 10 3\cdot10^{-10} 3 ⋅ 1 0 − 10 and the divisor function sieved to 6 ⋅ 10 6 6\cdot10^{6} 6 ⋅ 1 0 6 (tanh-f.py): over the primes with k ≤ 10 6 k\le10^{6} k ≤ 1 0 6 , the mean of − log F + -\log F_{+} − log F + grows like 0.47 log k 0.47\log k 0.47 log k , and the mean of − log F − -\log F_{-} − log F − like half of that – the factor 2 of (3) , one representation per unordered factor pair instead of one per ordered pair, not any asymmetry of the progressions: indeed ∑ m < 10 6 τ ( 6 m + 1 ) = 6 082 216 \sum_{m<10^{6}}\tau(6m+1)=6\,082\,216 ∑ m < 1 0 6 τ ( 6 m + 1 ) = 6 082 216 against ∑ m < 10 6 τ ( 6 m − 1 ) = 6 082 200 \sum_{m<10^{6}}\tau(6m-1)=6\,082\,200 ∑ m < 1 0 6 τ ( 6 m − 1 ) = 6 082 200 , equal to 2.6 ⋅ 10 − 6 2.6\cdot10^{-6} 2.6 ⋅ 1 0 − 6 . The divisor mass is blind, at this order, to the Chebyshev bias of Section 4, which lives at the scale x / log x \sqrt{x}/\log x x / log x of Proposition 4.3.
The extremes of F F F over the primes have arithmetic meaning (Figure 1 (c)). The maximum on 100 ≤ k ≤ 10 6 100\le k\le10^{6} 100 ≤ k ≤ 1 0 6 is F + = 0.8246 F_{+}=0.8246 F + = 0.8246 at k = 443 567 k=443\,567 k = 443 567 , p = 2 661 403 p=2\,661\,403 p = 2 661 403 : there p − 12 p-12 p − 12 , p − 6 p-6 p − 6 , p p p and p + 6 p+6 p + 6 are all prime, a gapless run in the progression, and the nearest factorization is three steps away. The minimum is F + = 1.1 ⋅ 10 − 20 F_{+}=1.1\cdot10^{-20} F + = 1.1 ⋅ 1 0 − 20 at k = 846 678 k=846\,678 k = 846 678 , p = 5 080 069 p=5\,080\,069 p = 5 080 069 : its neighbour 6 ( k + 1 ) + 1 = 5 080 075 = 5 2 ⋅ 7 2 ⋅ 11 ⋅ 13 ⋅ 29 6(k+1)+1=5\,080\,075=5^{2}\cdot7^{2}\cdot11\cdot13\cdot29 6 ( k + 1 ) + 1 = 5 080 075 = 5 2 ⋅ 7 2 ⋅ 11 ⋅ 13 ⋅ 29 has τ = 72 \tau=72 τ = 72 , and the 70 nontrivial ordered factorizations at distance 1 each contribute w ( 1 ) = 0.5447 w(1)=0.5447 w ( 1 ) = 0.5447 . So max F F F marks prime clusters and min F F F marks primes next to a highly divisible member of the progression: a graded structure on top of Lemma 2.1, with the hyperbola picture of Figure 1 (b) classifying the points e 2 θ = 6 k ± 1 e^{2\theta}=6k\pm1 e 2 θ = 6 k ± 1 of X 2 − Y 2 = 1 X^{2}-Y^{2}=1 X 2 − Y 2 = 1 by it.
Figure 1. The smooth indicators (2) . (a) F + ( k ) F_{+}(k) F + ( k ) (up) and F − ( k ) F_{-}(k) F − ( k ) (down) for k ≤ 60 k\leq60 k ≤ 60 ; grey crosses at 0 are the composites. (b) The points e 2 θ = 6 k ± 1 e^{2\theta}=6k\pm1 e 2 θ = 6 k ± 1 on X 2 − Y 2 = 1 X^{2}-Y^{2}=1 X 2 − Y 2 = 1 , upper branch half for 6 k + 1 6k+1 6 k + 1 , lower for 6 k − 1 6k-1 6 k − 1 , shaded by F ( k ) F(k) F ( k ) ; open grey points are composites. (c) − log F -\log F − log F at the primes to k = 10 6 k=10^{6} k = 1 0 6 : dyadic means for the two families, the most isolated prime (2 661 403, green) and the most crowded one (5 080 069, red).
Two further remarks. A real variable. Replacing the lattice product (2) by
G ± ( x ) = ∏ m ≥ 1 tanh 2 r ± ( m ) ( x − m ) , x ∈ R , G_{\pm}(x)=\prod_{m\geq1}\tanh^{2r_{\pm}(m)}(x-m),\qquad x\in\mathbb{R}, G ± ( x ) = m ≥ 1 ∏ tanh 2 r ± ( m ) ( x − m ) , x ∈ R ,
gives smooth functions with the same values at the integers up to the truncation noted above, positive except for a zero of multiplicity 2 r ± ( m ) 2r_{\pm}(m) 2 r ± ( m ) at each composite index m m m ; the exponents are even because 6 m − 1 6m-1 6 m − 1 is never a square and r + r_{+} r + counts ordered pairs, so no sign ambiguity arises. This is a clean interpolation, but it carries exactly the information of τ \tau τ on the progressions and no more.
Energy, gaps and twins. Over the 205 960 primes 6 k + 1 6k+1 6 k + 1 with 10 3 < k ≤ 10 6 10^{3}<k\leq10^{6} 1 0 3 < k ≤ 1 0 6 , the energy correlates only weakly with the local prime gaps of its own progression: after removing the 0.47 log k 0.47\log k 0.47 log k trend, Corr ( − log F + , gap to the next prime of the family ) = 0.05 \operatorname{Corr}(-\log F_{+},\text{ gap to the next prime of the family})=0.05 Corr ( − log F + , gap to the next prime of the family ) = 0.05 , and 0.07 for the sum of the two adjacent gaps – larger gaps mean composite neighbours, hence a little more energy. The twin condition does better: at the 37 773 values of k k k where 6 k − 1 6k-1 6 k − 1 is also prime, the detrended energy − log F + -\log F_{+} − log F + is higher by 0.91, which is 0.25 standard deviations (45σ significance at this sample size), and symmetrically − log F − -\log F_{-} − log F − is higher by 0.26 standard deviations at the twins. This is the Hardy–Littlewood repulsion seen from the composite side: conditioning 6 k ± 1 6k\pm1 6 k ± 1 to avoid every small prime p p p leaves k k k in p − 2 p-2 p − 2 residue classes instead of p − 1 p-1 p − 1 , so each neighbouring 6 ( k ± d ) ± 1 6(k\pm d)\pm1 6 ( k ± d ) ± 1 is more likely to be divisible by p p p , and the twins sit in measurably more crowded surroundings. The energy measures the factorizations of the neighbours, not the gaps themselves, and these correlations say nothing beyond that.
Status: elementary and complete; the correlations are empirical. The function bears on the fine structure of the progressions, not on primality testing nor on the L L L -function questions of the later sections.
Equidistribution and Chebyshev's bias
Theorem 4.1 (Dirichlet, de la Vallée Poussin). π ( x ; 3 , 1 ) ∼ π ( x ; 3 , 2 ) ∼ 1 2 li ( x ) \pi(x;3,1)\sim\pi(x;3,2)\sim\frac{1}{2}\operatorname{li}(x) π ( x ; 3 , 1 ) ∼ π ( x ; 3 , 2 ) ∼ 2 1 li ( x ) . Equivalently, P + P^{+} P + and P − P^{-} P − each contain half of the primes asymptotically.
The difference in Table 2 is positive throughout. It is not a fluctuation of the counts: it has a cause, the prime squares. Let ψ ( x , χ ) = ∑ n ≤ x χ ( n ) Λ ( n ) \psi(x,\chi)=\sum_{n\leq x}\chi(n)\Lambda(n) ψ ( x , χ ) = ∑ n ≤ x χ ( n ) Λ ( n ) and θ ( x , χ ) = ∑ p ≤ x χ ( p ) log p = θ ( x ; 3 , 1 ) − θ ( x ; 3 , 2 ) \theta(x,\chi)=\sum_{p\leq x}\chi(p)\log p=\theta(x;3,1)-\theta(x;3,2) θ ( x , χ ) = ∑ p ≤ x χ ( p ) log p = θ ( x ; 3 , 1 ) − θ ( x ; 3 , 2 ) .
Proposition 4.2 (the explicit formula for the race). Since χ \chi χ is primitive and odd,
ψ ( x , χ ) = − ∑ ρ x ρ ρ − L ′ L ( 0 , χ ) + ∑ m ≥ 1 x 1 − 2 m 2 m − 1 \psi(x,\chi)=-\sum_{\rho}\frac{x^\rho}{\rho}-\frac{L'}{L}(0,\chi)+\sum_{m\geq1}\frac{x^{1-2m}}{2m-1} ψ ( x , χ ) = − ρ ∑ ρ x ρ − L L ′ ( 0 , χ ) + m ≥ 1 ∑ 2 m − 1 x 1 − 2 m (sum over the nontrivial zeros, symmetrically), and
θ ( x ; 3 , 2 ) − θ ( x ; 3 , 1 ) x = 1 − ψ ( x , χ ) x + o ( 1 ) . \frac{\theta(x;3,2)-\theta(x;3,1)}{\sqrt{x}}=1-\frac{\psi(x,\chi)}{\sqrt{x}}+o(1). x θ ( x ; 3 , 2 ) − θ ( x ; 3 , 1 ) = 1 − x ψ ( x , χ ) + o ( 1 ) .
Proof. The first formula is [12 Ch. 19] . For the second, ψ ( x , χ ) − θ ( x , χ ) = ∑ p 2 ≤ x χ ( p 2 ) log p + O ( x 1 / 3 log x ) \psi(x,\chi)-\theta(x,\chi)=\sum_{p^2\leq x}\chi(p^2)\log p+O(x^{1/3}\log x) ψ ( x , χ ) − θ ( x , χ ) = ∑ p 2 ≤ x χ ( p 2 ) log p + O ( x 1/3 log x ) , and χ ( p 2 ) = 1 \chi(p^2)=1 χ ( p 2 ) = 1 for p ≠ 3 p\ne3 p = 3 . So the difference is θ ( x ) + O ( x 1 / 3 log x ) = x ( 1 + o ( 1 ) ) \theta(\sqrt{x})+O(x^{1/3}\log x)=\sqrt{x}(1+o(1)) θ ( x ) + O ( x 1/3 log x ) = x ( 1 + o ( 1 )) by the prime number theorem. □
Every square of a prime p > 3 p>3 p > 3 is ≡ 1 ( m o d 3 ) \equiv1\pmod3 ≡ 1 ( mod 3 ) . In the normalized race, the squares therefore shift the 6 k + 1 6k+1 6 k + 1 side down by exactly 1. Under GRH, the remaining term − ψ ( x , χ ) / x = ∑ ρ x i γ / ρ + o ( 1 ) -\psi(x,\chi)/\sqrt{x}=\sum_{\rho}x^{i\gamma}/\rho+o(1) − ψ ( x , χ ) / x = ∑ ρ x iγ / ρ + o ( 1 ) is a mean-zero almost periodic function in log x \log x log x [20 ] .
Proposition 4.3 (the size of the fluctuation). Unconditionally,
V χ : = ∑ ρ 1 ρ ( 1 − ρ ) = 2 ξ χ ′ ξ χ ( 1 ) = log 3 π − γ E + 2 L ′ L ( 1 , χ ) = 0.113230 , V_\chi:=\sum_{\rho}\frac{1}{\rho(1-\rho)}=2\frac{\xi_\chi'}{\xi_\chi}(1)=\log\frac{3}{\pi}-\gamma_E+2\frac{L'}{L}(1,\chi)=0.113230, V χ := ρ ∑ ρ ( 1 − ρ ) 1 = 2 ξ χ ξ χ ′ ( 1 ) = log π 3 − γ E + 2 L L ′ ( 1 , χ ) = 0.113230 , where ξ χ ( s ) = ( 3 / π ) ( s + 1 ) / 2 Γ ( s + 1 2 ) L ( s , χ ) \xi_\chi(s)=(3/\pi)^{(s+1)/2}\Gamma\left(\frac{s+1}{2}\right)L(s,\chi) ξ χ ( s ) = ( 3/ π ) ( s + 1 ) /2 Γ ( 2 s + 1 ) L ( s , χ ) . Under GRH, V χ = ∑ ρ ∣ ρ ∣ − 2 V_\chi=\sum_\rho|\rho|^{-2} V χ = ∑ ρ ∣ ρ ∣ − 2 , and for simple zeros it is the mean square of ψ ( x , χ ) / x \psi(x,\chi)/\sqrt{x} ψ ( x , χ ) / x in log x \log x log x .
Proof. ξ χ \xi_\chi ξ χ is entire of order 1 with ξ χ ( s ) = ξ χ ( 1 − s ) \xi_\chi(s)=\xi_\chi(1-s) ξ χ ( s ) = ξ χ ( 1 − s ) . Its zeros are symmetric under ρ ↦ ρ ˉ \rho\mapsto\bar{\rho} ρ ↦ ρ ˉ and ρ ↦ 1 − ρ \rho\mapsto1-\rho ρ ↦ 1 − ρ , so Hadamard’s product gives ξ χ ′ ξ χ ( s ) = ∑ ρ 1 s − ρ \frac{\xi_\chi'}{\xi_\chi}(s)=\sum_\rho\frac{1}{s-\rho} ξ χ ξ χ ′ ( s ) = ∑ ρ s − ρ 1 , summed symmetrically. Since 1 ρ ( 1 − ρ ) = 1 ρ + 1 1 − ρ \frac{1}{\rho(1-\rho)}=\frac{1}{\rho}+\frac{1}{1-\rho} ρ ( 1 − ρ ) 1 = ρ 1 + 1 − ρ 1 and the zeros are symmetric under ρ ↦ 1 − ρ \rho\mapsto1-\rho ρ ↦ 1 − ρ , V χ = 2 ∑ ρ 1 1 − ρ = 2 ξ χ ′ ξ χ ( 1 ) V_\chi=2\sum_\rho\frac{1}{1-\rho}=2\frac{\xi_\chi'}{\xi_\chi}(1) V χ = 2 ∑ ρ 1 − ρ 1 = 2 ξ χ ξ χ ′ ( 1 ) . On the line, 1 − ρ = ρ ˉ 1-\rho=\bar{\rho} 1 − ρ = ρ ˉ , so 1 ρ ( 1 − ρ ) = 1 ∣ ρ ∣ 2 \frac{1}{\rho(1-\rho)}=\frac{1}{|\rho|^2} ρ ( 1 − ρ ) 1 = ∣ ρ ∣ 2 1 . The value uses L ′ L ( 1 , χ ) = 0.368282 \frac{L'}{L}(1,\chi)=0.368282 L L ′ ( 1 , χ ) = 0.368282 , computed from the Hurwitz zeta function. The mean square follows from Parseval in the Besicovitch space B 2 B^2 B 2 . □
The 271 zeros below height 400 give ∑ 1 / ∣ ρ ∣ 2 = 0.108257 \sum1/|\rho|^2=0.108257 ∑ 1/∣ ρ ∣ 2 = 0.108257 . Since the mean is 1 and the spread is V χ = 0.3365 \sqrt{V_\chi}=0.3365 V χ = 0.3365 , the bias is 2.97 standard deviations.
Theorem 4.4 (Rubinstein–Sarnak [20 ] ). Assume GRH and the linear independence (LI) of the ordinates of L ( s , χ ) L(s,\chi) L ( s , χ ) . Then the set of x x x with π ( x ; 3 , 2 ) > π ( x ; 3 , 1 ) \pi(x;3,2)>\pi(x;3,1) π ( x ; 3 , 2 ) > π ( x ; 3 , 1 ) has logarithmic density δ ( 3 ; 2 , 1 ) = 0.9990 … \delta(3;2,1)=0.9990\ldots δ ( 3 ; 2 , 1 ) = 0.9990 …
Under GRH and LI, ψ ( x , χ ) / x \psi(x,\chi)/\sqrt{x} ψ ( x , χ ) / x has the limiting distribution of X = ∑ γ > 0 2 ∣ ρ ∣ cos ϑ γ X=\sum_{\gamma>0}\frac{2}{|\rho|}\cos\vartheta_\gamma X = ∑ γ > 0 ∣ ρ ∣ 2 cos ϑ γ with independent uniform phases. So the density is P ( X < 1 ) = 1 2 + 1 π ∫ 0 ∞ sin t t ∏ γ > 0 J 0 ( 2 t ∣ ρ ∣ ) d t P(X<1)=\frac{1}{2}+\frac{1}{\pi}\int_0^\infty\frac{\sin t}{t}\prod_{\gamma>0}J_0\left(\frac{2t}{|\rho|}\right)\,dt P ( X < 1 ) = 2 1 + π 1 ∫ 0 ∞ t s i n t ∏ γ > 0 J 0 ( ∣ ρ ∣ 2 t ) d t . With the 271 zeros and a Gaussian factor for the tail of V χ V_\chi V χ , we obtain 0.999063, in agreement with the value 0.9990 printed in [20 ] .
On 10 4 ≤ x ≤ 2 27 10^4 \le x \le2^{27} 1 0 4 ≤ x ≤ 2 27 , sampled uniformly in log x \log x log x , the normalized race has mean 0.967 and variance 0.1124, against 1 and V χ = 0.1132 V_\chi= 0.1132 V χ = 0.1132 . Its histogram follows the limiting density (Figure 6 (a)).
Figure 6. (a) Distribution of the normalized θ \theta θ -race over 10 4 ≤ x ≤ 2 27 10^4 \le x \le2^{27} 1 0 4 ≤ x ≤ 2 27 (uniform in log x \log x log x ) and the limiting density of Theorem 4.4 , computed from the 271 zeros by Fourier inversion of ∏ J 0 ( 2 t / ∣ ρ ∣ ) \prod J_0(2t/|\rho|) ∏ J 0 ( 2 t /∣ ρ ∣ ) . (b) Fraction of consecutive pairs of primes in the same series.
On the computed range, π ( x ; 3 , 2 ) > π ( x ; 3 , 1 ) \pi(x;3,2) > \pi(x;3,1) π ( x ; 3 , 2 ) > π ( x ; 3 , 1 ) for all 2 ≤ x ≤ 2 27 2 \le x \le2^{27} 2 ≤ x ≤ 2 27 . The first reversal of this race modulo 3 is at x = 608 981 813 029 x = 608\,981\,813\,029 x = 608 981 813 029 [8 ] . For the race modulo 6 the lead is one less: π ( x ; 6 , 5 ) ≥ π ( x ; 6 , 1 ) \pi(x;6,5) \ge\pi(x;6,1) π ( x ; 6 , 5 ) ≥ π ( x ; 6 , 1 ) on the whole range; for x ≥ 5 x \ge5 x ≥ 5 equality holds exactly from each of the primes 7, 13, 19, 37, 43, 79, 163, 223, 229 up to the next prime, and the inequality is strict for 233 ≤ x ≤ 2 27 233 \le x \le2^{27} 233 ≤ x ≤ 2 27 . Its first reversal is strictly earlier than the value of [8 ] , because a tie of the race modulo 3 precedes its first reversal. The θ \theta θ -race fails on 0.13% of [ 10 4 , 2 27 ] [10^4,2^{27}] [ 1 0 4 , 2 27 ] in logarithmic measure (Figure 2 ). For prime races in general see [13 ] .
Figure 2. The race between P − P^- P − and P + P^+ P + up to 2 27 2^{27} 2 27 . (a) Raw counts. (b) The normalized θ \theta θ -race of Proposition 4.2 : mean 1 from the prime squares, band 1 ± V χ 1 \pm\sqrt{V_\chi} 1 ± V χ .
The Cesàro margin of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 )
For ζ \zeta ζ , Part 11 [24 ] uses Suzuki’s criterion [22 ] : with
C ( N ) = 2 ∑ n < N Λ ( n ) n log N n C(N) = 2 \sum_{n<N} \frac{\Lambda(n)}{\sqrt{n}} \log\frac{N}{n} C ( N ) = 2 n < N ∑ n Λ ( n ) log n N
and an explicit R ( N ) R(N) R ( N ) , RH holds if and only if M = R − C ≥ 0 M=R-C \ge0 M = R − C ≥ 0 for large N N N . Under RH, 0 ≤ M ≤ 4 ( log ξ ) ′ ′ ( 1 2 ) = 0.18484 0 \le M \le4(\log\xi)''\left(\frac{1}{2}\right) = 0.18484 0 ≤ M ≤ 4 ( log ξ ) ′′ ( 2 1 ) = 0.18484 . We transfer this to χ \chi χ .
χ \chi χ is primitive and odd. L ( s , χ ) L(s,\chi) L ( s , χ ) has no pole, its trivial zeros are − 1 , − 3 , − 5 , … -1,-3,-5,\ldots − 1 , − 3 , − 5 , … , and L ( 0 , χ ) = 1 3 ≠ 0 L(0,\chi) = \frac{1}{3} \ne0 L ( 0 , χ ) = 3 1 = 0 . Write t ρ : = − i ( ρ − 1 2 ) t_\rho:= -i(\rho-\frac{1}{2}) t ρ := − i ( ρ − 2 1 ) (t ρ = γ ρ t_\rho=\gamma_\rho t ρ = γ ρ for a zero ρ = 1 2 + i γ ρ \rho=\frac{1}{2}+i\gamma_\rho ρ = 2 1 + i γ ρ on the line, t ρ = γ − i δ t_\rho=\gamma-i\delta t ρ = γ − i δ for a zero ρ = β + i γ \rho=\beta+i\gamma ρ = β + iγ off it, δ = β − 1 2 \delta=\beta-\frac{1}{2} δ = β − 2 1 ); the zeros come in pairs ± t ρ \pm t_\rho ± t ρ because χ \chi χ is real. Define
C χ ( N ) = 2 ∑ n < N χ ( n ) Λ ( n ) n log N n , R χ ( N ) = − 2 L ′ L ( 1 2 , χ ) log N + 2 ∑ m ≥ 1 1 − N − ( 2 m − 1 2 ) ( 2 m − 1 2 ) 2 , (4) C_\chi(N)=2\sum_{n<N}\frac{\chi(n)\Lambda(n)}{\sqrt{n}}\log\frac{N}{n},\qquad R_\chi(N)=-2\frac{L'}{L}\left(\frac{1}{2},\chi\right)\log N+2\sum_{m\ge1}\frac{1-N^{-(2m-\frac{1}{2})}}{(2m-\frac{1}{2})^2}, \tag*{(4)} C χ ( N ) = 2 n < N ∑ n χ ( n ) Λ ( n ) log n N , R χ ( N ) = − 2 L L ′ ( 2 1 , χ ) log N + 2 m ≥ 1 ∑ ( 2 m − 2 1 ) 2 1 − N − ( 2 m − 2 1 ) , (4)
and M χ = R χ − C χ M_\chi=R_\chi-C_\chi M χ = R χ − C χ . The constants are L ( 1 2 , χ ) = 0.4808675577 L(\frac{1}{2},\chi)=0.4808675577 L ( 2 1 , χ ) = 0.4808675577 , L ′ ( 1 2 , χ ) = 0.5659892385 L'(\frac{1}{2},\chi)=0.5659892385 L ′ ( 2 1 , χ ) = 0.5659892385 and 2 ∑ m ≥ 1 ( 2 m − 1 2 ) − 2 = 1 2 ψ ′ ( 3 4 ) = 1 2 ( π 2 − 8 G ) = 1.2709398 2\sum_{m\ge1}(2m-\frac{1}{2})^{-2}=\frac{1}{2}\psi'(\frac{3}{4})=\frac{1}{2}(\pi^2-8G)=1.2709398 2 ∑ m ≥ 1 ( 2 m − 2 1 ) − 2 = 2 1 ψ ′ ( 4 3 ) = 2 1 ( π 2 − 8 G ) = 1.2709398 , with G G G Catalan’s constant.
Proposition 5.1 (the margin over the zeros). For every N > 1 N>1 N > 1 , unconditionally,
M χ ( N ) = ∑ ρ 2 ( 1 − N i t ρ ) t ρ 2 = ∑ ρ F log N ( t ρ ) , F L ( z ) = 2 − e i L z − e − i L z z 2 , M_\chi(N)=\sum_\rho\frac{2(1-N^{it_\rho})}{t_\rho^2}=\sum_\rho F_{\log N}(t_\rho),\qquad F_L(z)=\frac{2-e^{iLz}-e^{-iLz}}{z^2}, M χ ( N ) = ρ ∑ t ρ 2 2 ( 1 − N i t ρ ) = ρ ∑ F l o g N ( t ρ ) , F L ( z ) = z 2 2 − e i L z − e − i L z ,
the sum over the nontrivial zeros with multiplicity, absolutely convergent. Under GRH,
M χ ( N ) = 4 ∑ γ > 0 1 − cos ( γ log N ) γ 2 ∈ [ 0 , 4 ( log ξ χ ) ′ ′ ( 1 2 ) ] , M_{\chi}(N)=4\sum_{\gamma>0}\frac{1-\cos(\gamma\log N)}{\gamma^2}\in\left[0,4(\log\xi_{\chi})''\left(\frac{1}{2}\right)\right], M χ ( N ) = 4 γ > 0 ∑ γ 2 1 − cos ( γ log N ) ∈ [ 0 , 4 ( log ξ χ ) ′′ ( 2 1 ) ] ,
where ( log ξ χ ) ′ ′ ( 1 2 ) = 1 4 ψ ′ ( 3 4 ) + ( L ′ L ) ′ ( 1 2 , χ ) = 0.1134022 (\log\xi_{\chi})''\left(\frac{1}{2}\right)=\frac{1}{4}\psi'\left(\frac{3}{4}\right)+\left(\frac{L'}{L}\right)'\left(\frac{1}{2},\chi\right)=0.1134022 ( log ξ χ ) ′′ ( 2 1 ) = 4 1 ψ ′ ( 4 3 ) + ( L L ′ ) ′ ( 2 1 , χ ) = 0.1134022 .
Proof. For c > 1 2 c>\frac{1}{2} c > 2 1 , Perron’s formula with the kernel N s / s 2 N^s/s^2 N s / s 2 gives C χ ( N ) = 1 2 π i ∫ ( c ) 2 ( − L ′ L ) ( s + 1 2 , χ ) N s s 2 d s C_{\chi}(N)=\frac{1}{2\pi i}\int_{(c)}2\left(-\frac{L'}{L}\right)\left(s+\frac{1}{2},\chi\right)\frac{N^s}{s^2}\,ds C χ ( N ) = 2 π i 1 ∫ ( c ) 2 ( − L L ′ ) ( s + 2 1 , χ ) s 2 N s d s . Move the contour to the left; L ′ L \frac{L'}{L} L L ′ grows at most like log 2 ∣ t ∣ \log^2|t| log 2 ∣ t ∣ on suitable horizontal segments, and the factor s − 2 s^{-2} s − 2 makes the integrals converge. The residues are as follows. The double pole at s = 0 s=0 s = 0 gives − 2 L ′ L ( 1 2 ) log N − 2 ( L ′ L ) ′ ( 1 2 ) -2\frac{L'}{L}\left(\frac{1}{2}\right)\log N-2\left(\frac{L'}{L}\right)'\left(\frac{1}{2}\right) − 2 L L ′ ( 2 1 ) log N − 2 ( L L ′ ) ′ ( 2 1 ) . A zero ρ \rho ρ gives − 2 N ρ − 1 / 2 / ( ρ − 1 2 ) 2 = 2 N i t ρ / t ρ 2 -2N^{\rho-1/2}/(\rho-\frac{1}{2})^2=2N^{it_{\rho}}/t_{\rho}^2 − 2 N ρ − 1/2 / ( ρ − 2 1 ) 2 = 2 N i t ρ / t ρ 2 . The trivial zero − ( 2 m − 1 ) -(2m-1) − ( 2 m − 1 ) gives − 2 N − ( 2 m − 1 / 2 ) / ( 2 m − 1 2 ) 2 -2N^{-(2m-1/2)}/(2m-\frac{1}{2})^2 − 2 N − ( 2 m − 1/2 ) / ( 2 m − 2 1 ) 2 . There is no pole term. By Hadamard’s product and the symmetry of ξ χ \xi_{\chi} ξ χ , ∑ ρ t ρ − 2 = ( log ξ χ ) ′ ′ ( 1 2 ) = 1 4 ψ ′ ( 3 4 ) + ( L ′ L ) ′ ( 1 2 ) \sum_{\rho}t_{\rho}^{-2}=(\log\xi_{\chi})''\left(\frac{1}{2}\right)=\frac{1}{4}\psi'\left(\frac{3}{4}\right)+\left(\frac{L'}{L}\right)'\left(\frac{1}{2}\right) ∑ ρ t ρ − 2 = ( log ξ χ ) ′′ ( 2 1 ) = 4 1 ψ ′ ( 4 3 ) + ( L L ′ ) ′ ( 2 1 ) . Adding ∑ ρ 2 ( 1 − N i t ρ ) / t ρ 2 \sum_{\rho}2(1-N^{it_{\rho}})/t_{\rho}^2 ∑ ρ 2 ( 1 − N i t ρ ) / t ρ 2 to C χ C_{\chi} C χ therefore gives 1 2 ψ ′ ( 3 4 ) − 2 L ′ L ( 1 2 ) log N − 2 ∑ m N − ( 2 m − 1 / 2 ) / ( 2 m − 1 2 ) 2 = R χ ( N ) \frac{1}{2}\psi'\left(\frac{3}{4}\right)-2\frac{L'}{L}\left(\frac{1}{2}\right)\log N-2\sum_m N^{-(2m-1/2)}/(2m-\frac{1}{2})^2=R_{\chi}(N) 2 1 ψ ′ ( 4 3 ) − 2 L L ′ ( 2 1 ) log N − 2 ∑ m N − ( 2 m − 1/2 ) / ( 2 m − 2 1 ) 2 = R χ ( N ) . As a check, both sides vanish at N = 1 N=1 N = 1 . Under GRH, pair ± γ \pm\gamma ± γ and use 0 ≤ 1 − cos ≤ 2 0\leq1-\cos\leq2 0 ≤ 1 − cos ≤ 2 . □
Theorem 5.2 (GRH for χ − 3 \chi_{-3} χ − 3 in one variable). The following are equivalent:
G R H GRH GR H for L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) ;
M χ ( N ) ≥ 0 M_{\chi}(N)\geq0 M χ ( N ) ≥ 0 for all large N N N ;
M χ ( N ) ≤ B M_{\chi}(N)\leq B M χ ( N ) ≤ B for some B B B and all large N N N ;
for every N > 1 N>1 N > 1 , R χ ( N ) − 0.45361 ≤ C χ ( N ) ≤ R χ ( N ) R_{\chi}(N)-0.45361\leq C_{\chi}(N)\leq R_{\chi}(N) R χ ( N ) − 0.45361 ≤ C χ ( N ) ≤ R χ ( N ) .
Proof. (1)⇒ \Rightarrow ⇒ (4) is Proposition 5.1, and (4)⇒ \Rightarrow ⇒ (2),(3) is immediate. For (2)⇒ \Rightarrow ⇒ (1): for Re s > 1 2 \operatorname{Re}s>\frac{1}{2} Re s > 2 1 , Fubini gives
∫ 0 ∞ M χ ( e L ) e − s L d L = ∑ ρ 2 s ( s 2 + t ρ 2 ) = : G χ ( s ) , \int_0^{\infty}M_{\chi}(e^L)e^{-sL}\,dL=\sum_{\rho}\frac{2}{s(s^2+t_{\rho}^2)}=:G_{\chi}(s), ∫ 0 ∞ M χ ( e L ) e − s L d L = ρ ∑ s ( s 2 + t ρ 2 ) 2 =: G χ ( s ) ,
meromorphic with poles at 0 0 0 and at ± i t ρ \pm it_{\rho} ± i t ρ . A zero 1 2 + δ + i γ 0 \frac{1}{2}+\delta+i\gamma_0 2 1 + δ + i γ 0 with δ > 0 \delta>0 δ > 0 gives a pole at δ + i γ 0 \delta+i\gamma_0 δ + i γ 0 , with nonzero residue (only ± γ \pm\gamma ± γ meet at a given pole). It lies off the real axis because L ( σ , χ − 3 ) ≠ 0 L(\sigma,\chi_{-3})\ne0 L ( σ , χ − 3 ) = 0 for 0 < σ < 1 0<\sigma<1 0 < σ < 1 ; indeed, for σ > 0 \sigma>0 σ > 0 the series converges (its coefficients have bounded partial sums), its value is the limit of the partial sums up to 3 k + 2 3k+2 3 k + 2 , and so, pairing consecutive terms,
L ( σ , χ − 3 ) = ∑ k ≥ 0 [ ( 3 k + 1 ) − σ − ( 3 k + 2 ) − σ ] > 0 L(\sigma,\chi_{-3})=\sum_{k\geq0}\left[(3k+1)^{-\sigma}-(3k+2)^{-\sigma}\right]>0 L ( σ , χ − 3 ) = k ≥ 0 ∑ [ ( 3 k + 1 ) − σ − ( 3 k + 2 ) − σ ] > 0
(the values at the ends are L ( 0 ) = 1 3 L(0)=\frac{1}{3} L ( 0 ) = 3 1 and L ( 1 ) = π 3 3 L(1)=\frac{\pi}{3\sqrt{3}} L ( 1 ) = 3 3 π ). So G χ G_{\chi} G χ is analytic on ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) . By Landau’s theorem [23 ] , the Laplace integral of a function that is eventually ≥ 0 \geq0 ≥ 0 has a singularity at the real point of its abscissa of convergence. Hence the abscissa is ≤ 0 \leq0 ≤ 0 , and there is no pole with Re s > 0 \operatorname{Re}s>0 Re s > 0 . For (3)⇒ \Rightarrow ⇒ (1), apply the same argument to B − M χ B-M_{\chi} B − M χ . □
Why this margin is well conditioned. For ζ \zeta ζ , the two sides R R R and C C C are of size 8 N 8\sqrt{N} 8 N and must stay ordered to O ( 1 ) O(1) O ( 1 ) . For χ \chi χ there is no pole, and R χ , C χ = O ( log N ) R_{\chi},C_{\chi}=O(\log N) R χ , C χ = O ( log N ) .
Lemma 5.3 (concavity). In L = log N L=\log N L = log N , M χ M_{\chi} M χ is continuous, smooth and strictly concave between consecutive prime powers. At a prime power q q q its slope jumps by − 2 χ ( q ) Λ ( q ) / q -2\chi(q)\Lambda(q)/\sqrt{q} − 2 χ ( q ) Λ ( q ) / q . So the local minima of M χ M_{\chi} M χ lie at the prime powers with χ ( q ) = − 1 \chi(q)=-1 χ ( q ) = − 1 , namely p ≡ 2 ( m o d 3 ) p\equiv2\pmod{3} p ≡ 2 ( mod 3 ) and its odd powers.
Proof. Between prime powers, C χ C_{\chi} C χ is linear in L L L , and R χ ′ ′ ( L ) = − 2 ∑ m e − ( 2 m − 1 / 2 ) L < 0 R_{\chi}''(L)=-2\sum_m e^{-(2m-1/2)L}<0 R χ ′′ ( L ) = − 2 ∑ m e − ( 2 m − 1/2 ) L < 0 . The jump is the derivative of 2 χ ( q ) Λ ( q ) q − 1 / 2 ( L − log q ) + 2\chi(q)\Lambda(q)q^{-1/2}(L-\log q)_+ 2 χ ( q ) Λ ( q ) q − 1/2 ( L − log q ) + . □
Proposition 5.4 (verification). For 2 ≤ N ≤ 2 27 2\leq N\leq2^{27} 2 ≤ N ≤ 2 27 ,
0.10242 ≤ M χ ( N ) ≤ 0.35486 , 0.10242\leq M_{\chi}(N)\leq0.35486, 0.10242 ≤ M χ ( N ) ≤ 0.35486 , inside the window [ 0 , 0.45361 ] [0,0.45361] [ 0 , 0.45361 ] of Theorem 5.2 , and M χ ( N ) = R χ ( N ) > 0 M_{\chi}(N)=R_{\chi}(N)>0 M χ ( N ) = R χ ( N ) > 0 for 1 < N < 2 1<N<2 1 < N < 2 . The least value is at q = 30561677 ≡ 2 ( m o d 3 ) q=30561677\equiv2\pmod{3} q = 30561677 ≡ 2 ( mod 3 ) , the largest at q = 17509 q=17509 q = 17509 .
Proof. By Lemma 5.3, it suffices to evaluate M χ M_{\chi} M χ at the 7 605 117 prime powers q ≤ 2 27 q \le2^{27} q ≤ 2 27 with 3 ∤ q 3 \nmid q 3 ∤ q , and to check every gap for an interior stationary point; there are none. The quantities compared are O ( log N ) ≤ 40 O(\log N) \le40 O ( log N ) ≤ 40 , so the double-precision rounding error is below 10 − 12 10^{-12} 1 0 − 12 . □
Status: a floating-point computation, not certified with interval arithmetic; the distance 0.10 to the bound is 10 11 10^{11} 1 0 11 times the rounding error. Unlike for ζ \zeta ζ , the margin stays far from 0 on the computed range.
The zeros. Z χ ( t ) = e i ϑ χ ( t ) L ( 1 2 + i t , χ ) Z_{\chi}(t)=e^{i\vartheta_{\chi}(t)}L(\frac{1}{2}+it,\chi) Z χ ( t ) = e i ϑ χ ( t ) L ( 2 1 + i t , χ ) , with ϑ χ ( t ) = t 2 log 3 π + Im log Γ ( 3 / 2 + i t 2 ) \vartheta_{\chi}(t)=\frac{t}{2}\log\frac{3}{\pi}+\operatorname{Im}\log\Gamma(\frac{3/2+it}{2}) ϑ χ ( t ) = 2 t log π 3 + Im log Γ ( 2 3/2 + i t ) , is real. Its sign changes give 271 zeros on the line with 0 < γ < 400 0<\gamma<400 0 < γ < 400 : 8.0397, 11.2492, 15.7046, 18.2620, 20.4558, … \ldots … The counts agree with ϑ χ ( T ) / π + 1 \vartheta_{\chi}(T)/\pi+1 ϑ χ ( T ) / π + 1 to within 1.5, and 2 ∑ γ < 400 γ − 2 = 0.108429 2\sum_{\gamma<400}\gamma^{-2}=0.108429 2 ∑ γ < 400 γ − 2 = 0.108429 plus the tail estimate 0.004983 gives 0.113412, against ( log ξ χ ) ′ ′ ( 1 2 ) = 0.113402 (\log\xi_{\chi})^{\prime\prime}(\frac{1}{2})=0.113402 ( log ξ χ ) ′′ ( 2 1 ) = 0.113402 . With the tail replaced by its mean, M χ ( N ) M_{\chi}(N) M χ ( N ) from these zeros agrees with the value from the primes to 3 ⋅ 10 − 4 3\cdot10^{-4} 3 ⋅ 1 0 − 4 for 10 2 ≤ N ≤ 10 8 10^2\le N\le10^8 1 0 2 ≤ N ≤ 1 0 8 (Figure 4 ).
Figure 4. (a) M χ M_{\chi} M χ at every 50th prime power up to 2 27 2^{27} 2 27 , inside the window [ 0 , 4 ( log ξ χ ) ′ ′ ( 1 2 ) ] [0,4(\log\xi_{\chi})^{\prime\prime}(\frac{1}{2})] [ 0 , 4 ( log ξ χ ) ′′ ( 2 1 )] , around its mean 2 ( log ξ χ ) ′ ′ ( 1 2 ) 2(\log\xi_{\chi})^{\prime\prime}(\frac{1}{2}) 2 ( log ξ χ ) ′′ ( 2 1 ) . (b) M χ M_{\chi} M χ from the primes and from the 271 zeros, 16 ≤ log N ≤ 17 16 \le\log N \le17 16 ≤ log N ≤ 17 .
Proposition 5.5 (the slope of χ − 3 \chi_{-3} χ − 3 ). Let α χ ( x ) = ∑ n < x χ ( n ) Λ ( n ) n − 1 / 2 + L ′ L ( 1 2 , χ ) \alpha_{\chi}(x)=\sum_{n<x}\chi(n)\Lambda(n)n^{-1/2}+\frac{L'}{L}(\frac{1}{2},\chi) α χ ( x ) = ∑ n < x χ ( n ) Λ ( n ) n − 1/2 + L L ′ ( 2 1 , χ ) . Under G R H GRH GR H , u ↦ α χ ( e u ) u\mapsto\alpha_{\chi}(e^u) u ↦ α χ ( e u ) lies in B 2 B^2 B 2 , with mean 0 and coefficients m γ γ \frac{m_{\gamma}}{\gamma} γ m γ at the ordinates. The margin M χ ( e L ) M_{\chi}(e^L) M χ ( e L ) is at most the variogram ⟨ ∣ α χ ( e u + L ) − α χ ( e u ) ∣ 2 ⟩ \langle|\alpha_{\chi}(e^{u+L})-\alpha_{\chi}(e^u)|^2\rangle ⟨ ∣ α χ ( e u + L ) − α χ ( e u ) ∣ 2 ⟩ , with equality for simple zeros, and ⟨ α χ 2 ⟩ = 2 ∑ γ > 0 m γ 2 / γ 2 ≥ ( log ξ χ ) ′ ′ ( 1 2 ) \langle\alpha_{\chi}^2\rangle=2\sum_{\gamma>0}m_{\gamma}^2/\gamma^2\ge(\log\xi_{\chi})^{\prime\prime}(\frac{1}{2}) ⟨ α χ 2 ⟩ = 2 ∑ γ > 0 m γ 2 / γ 2 ≥ ( log ξ χ ) ′′ ( 2 1 ) . Unconditionally, G R H GRH GR H holds if and only if ∫ 1 X α χ ( x ) 2 d x x = X o ( 1 ) \int_1^X\alpha_{\chi}(x)^2\frac{dx}{x}=X^{o(1)} ∫ 1 X α χ ( x ) 2 x d x = X o ( 1 ) .
Proof. The Laplace transform of α χ ( e u ) \alpha_{\chi}(e^u) α χ ( e u ) is 1 s ( L ′ L ( 1 2 , χ ) − L ′ L ( s + 1 2 , χ ) ) \frac{1}{s}\left(\frac{L'}{L}(\frac{1}{2},\chi)-\frac{L'}{L}(s+\frac{1}{2},\chi)\right) s 1 ( L L ′ ( 2 1 , χ ) − L L ′ ( s + 2 1 , χ ) ) . It is regular at s = 0 s=0 s = 0 , so the mean is 0 by the Abelian theorem, and its residue at i γ i\gamma iγ is − m γ i γ -\frac{m_{\gamma}}{i\gamma} − iγ m γ . Membership in B 2 B^2 B 2 follows from the explicit formula, as for ζ \zeta ζ [20 , 2 ] . The variogram identity is Parseval, and the comparison uses m 2 ≥ m m^2\ge m m 2 ≥ m . For the energy criterion, if the energy is X o ( 1 ) X^{o(1)} X o ( 1 ) , Cauchy–Schwarz shows that the Laplace integral converges absolutely in Re s > 0 \operatorname{Re}s>0 Re s > 0 , so L ′ L ( w , χ ) \frac{L'}{L}(w,\chi) L L ′ ( w , χ ) is holomorphic in Re w > 1 2 \operatorname{Re}w>\frac{1}{2} Re w > 2 1 , exactly as for ζ \zeta ζ in [24 ] . □
The block energies of α χ \alpha_{\chi} α χ on [ 2 k , 2 k + 1 ) [2^k,2^{k+1}) [ 2 k , 2 k + 1 ) , 12 ≤ k ≤ 26 12\le k\le26 12 ≤ k ≤ 26 , have mean 0.110, against 0.1134. The amplitude spectrum of α χ \alpha_{\chi} α χ has its peaks at the zeros of L ( s , χ ) L(s,\chi) L ( s , χ ) with heights 2 / γ 2/\gamma 2/ γ , and nothing at the zeros of ζ \zeta ζ (Figure 3 ).
Figure 3. (a) Z χ ( t ) Z_{\chi}(t) Z χ ( t ) and the zeros of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) below 52. (b) The amplitude spectrum of α χ ( e u ) \alpha_{\chi}(e^u) α χ ( e u ) on 2 8 ≤ x ≤ 2 27 2^8\le x\le2^{27} 2 8 ≤ x ≤ 2 27 : peaks at the ordinates of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) with the predicted heights 2 / γ 2/\gamma 2/ γ ; the ordinates of ζ \zeta ζ (grey ticks) are absent.
The weighted race
For a = 1 , 2 a=1,2 a = 1 , 2 let
C a ( N ) = 2 ∑ n < N n ≡ a ( 3 ) Λ ( n ) n log N n . C_a(N)=2\sum_{\substack{n<N\\n\equiv a\ (3)}}\frac{\Lambda(n)}{\sqrt{n}}\log\frac{N}{n}. C a ( N ) = 2 n < N n ≡ a ( 3 ) ∑ n Λ ( n ) log n N .
C 1 C_1 C 1 collects the prime powers p k p^k p k with p ≡ 1 p\equiv1 p ≡ 1 , or p ≡ 2 p\equiv2 p ≡ 2 and k k k even; C 2 C_2 C 2 those with p ≡ 2 p\equiv2 p ≡ 2 and k k k odd. For p > 3 p>3 p > 3 these are the series P + P^+ P + and P − P^- P − . Since χ = + 1 \chi=+1 χ = + 1 on the first class and − 1 -1 − 1 on the second, C 2 − C 1 = − C χ C_2-C_1=-C_{\chi} C 2 − C 1 = − C χ .
Theorem 6.1 (the weighted 6 k ± 1 6k\pm1 6 k ± 1 race). For every N > 1 N>1 N > 1 , unconditionally,
C 2 ( N ) − C 1 ( N ) = 2 L ′ L ( 1 2 , χ − 3 ) log N − 1 2 ψ ′ ( 3 4 ) + 2 ∑ m ≥ 1 N − ( 2 m − 1 2 ) ( 2 m − 1 2 ) 2 + M χ ( N ) . (5) C_2(N)-C_1(N)=2\frac{L'}{L}\left(\frac{1}{2},\chi_{-3}\right)\log N-\frac{1}{2}\psi'\left(\frac{3}{4}\right)+2\sum_{m\ge1}\frac{N^{-(2m-\frac{1}{2})}}{(2m-\frac{1}{2})^2}+M_{\chi}(N). \tag*{(5)} C 2 ( N ) − C 1 ( N ) = 2 L L ′ ( 2 1 , χ − 3 ) log N − 2 1 ψ ′ ( 4 3 ) + 2 m ≥ 1 ∑ ( 2 m − 2 1 ) 2 N − ( 2 m − 2 1 ) + M χ ( N ) . (5) Hence GRH for L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) holds if and only if, for all large N N N ,
C 2 ( N ) − C 1 ( N ) ≥ 2 L ′ L ( 1 2 , χ − 3 ) log N − 1 2 ψ ′ ( 3 4 ) , C_2(N)-C_1(N)\ge2\frac{L'}{L}\left(\frac{1}{2},\chi_{-3}\right)\log N-\frac{1}{2}\psi'\left(\frac{3}{4}\right), C 2 ( N ) − C 1 ( N ) ≥ 2 L L ′ ( 2 1 , χ − 3 ) log N − 2 1 ψ ′ ( 4 3 ) , where 2 L ′ L ( 1 2 , χ − 3 ) = 1.1319784770 … 2\frac{L'}{L}(\frac{1}{2},\chi_{-3})=1.1319784770\ldots 2 L L ′ ( 2 1 , χ − 3 ) = 1.1319784770 … and 1 2 ψ ′ ( 3 4 ) = 1.2709398 … \frac{1}{2}\psi'(\frac{3}{4})=1.2709398\ldots 2 1 ψ ′ ( 4 3 ) = 1.2709398 … . The equivalence is for the exact constants: a line with a rounded slope differs from this one by an unbounded multiple of log N \log N log N . Under GRH, C 2 ( N ) > C 1 ( N ) C_2(N)>C_1(N) C 2 ( N ) > C 1 ( N ) for every N > 2 N>2 N > 2 , and the lead exceeds the line by at most 0.45361 plus the trivial-zero terms. Unconditionally, C 2 ( N ) > C 1 ( N ) C_2(N)>C_1(N) C 2 ( N ) > C 1 ( N ) for 2 < N ≤ 2 27 2<N\le2^{27} 2 < N ≤ 2 27 .
Proof. {(xref)}(6.1) is − C χ = M χ − R χ -C_{\chi}=M_{\chi}-R_{\chi} − C χ = M χ − R χ with {(xref)}(5.1). Write T ( N ) = 2 ∑ m ≥ 1 N − ( 2 m − 1 2 ) / ( 2 m − 1 2 ) 2 T(N)=2\sum_{m\ge1}N^{-(2m-\frac{1}{2})}/(2m-\frac{1}{2})^2 T ( N ) = 2 ∑ m ≥ 1 N − ( 2 m − 2 1 ) / ( 2 m − 2 1 ) 2 for the trivial-zero terms; T > 0 T>0 T > 0 and T = O ( N − 3 / 2 ) T=O(N^{-3/2}) T = O ( N − 3/2 ) . The inequality of the statement says M χ + T ≥ 0 M_{\chi}+T\ge0 M χ + T ≥ 0 for all large N N N . GRH gives M χ ≥ 0 M_{\chi}\ge0 M χ ≥ 0 (Theorem 5.2 ), hence the inequality. Conversely, ∫ 0 ∞ T ( e L ) e − s L d L = 2 ∑ m ≥ 1 ( 2 m − 1 2 ) − 2 ( s + 2 m − 1 2 ) − 1 \int_0^\infty T(e^L)e^{-sL}\,dL=2\sum_{m\ge1}(2m-\frac{1}{2})^{-2}(s+2m-\frac{1}{2})^{-1} ∫ 0 ∞ T ( e L ) e − s L d L = 2 ∑ m ≥ 1 ( 2 m − 2 1 ) − 2 ( s + 2 m − 2 1 ) − 1 is analytic in Re s > − 3 2 \operatorname{Re}s>-\frac{3}{2} Re s > − 2 3 , so M χ + T M_{\chi}+T M χ + T has the same Laplace singularities in Re s > 0 \operatorname{Re}s>0 Re s > 0 as M χ M_{\chi} M χ , and the Landau argument in the proof of Theorem 5.2 , (2)⇒ \Rightarrow ⇒ (1), applies to it without change. Under GRH, M χ ≥ 0 M_{\chi}\ge0 M χ ≥ 0 , and the lead is positive once 1.1319785 log N > 1.2709398 1.1319785\log N>1.2709398 1.1319785 log N > 1.2709398 , that is, for N > 3.0733 N>3.0733 N > 3.0733 . For 2 < N ≤ 3.0733 2<N\le3.0733 2 < N ≤ 3.0733 only the prime 2 ≡ 2 ( m o d 3 ) \equiv2\pmod3 ≡ 2 ( mod 3 ) has entered, and the lead is 2 log 2 2 log N 2 > 0 2\frac{\log2}{\sqrt{2}}\log\frac{N}{2}>0 2 2 l o g 2 log 2 N > 0 . The unconditional range is Proposition 5.4. □
This is the precise form of the observation of [11 Idea 7] , for the weighted counts. The 6 k − 1 6k-1 6 k − 1 prime powers lead at the constant rate 2 L ′ L ( 1 2 , χ − 3 ) = 1.132 2\frac{L'}{L}\left(\frac{1}{2},\chi_{-3}\right)=1.132 2 L L ′ ( 2 1 , χ − 3 ) = 1.132 per unit of log N \log N log N . The deviation from the line is M χ M_{\chi} M χ , which GRH confines to a window of width 0.454 (Figure 5 ). The weight is what makes the bias total. It is the Fejér smoothing of Part 11 [24 ] , which turns every zero into a nonnegative term. For the raw counts there is no such smoothing, and the bias holds only 99.9% of the time (Theorem 4.4 ).
Figure 5. The weighted race of Theorem 6.1 at every 50th prime power up to 2 27 2^{27} 2 27 . (a) C 2 − C 1 C_2-C_1 C 2 − C 1 and the line 1.132 log N − 1.271 1.132\log N-1.271 1.132 log N − 1.271 ; the shaded band is the window allowed by GRH. (b) The deviation from the line, which is M χ M_{\chi} M χ up to the trivial-zero terms.
Both series separately. Adding the margins of ζ \zeta ζ and of χ \chi χ gives the margin of the Dedekind zeta function of Q ( − 3 ) \mathbb{Q}(\sqrt{-3}) Q ( − 3 ) . Let C 3 ∙ ( N ) C_{3\bullet}(N) C 3 ∙ ( N ) be the contribution of the powers of 3 to C C C . Then C + C χ = 2 C 1 + C 3 ∙ C+C_{\chi}=2C_1+C_{3\bullet} C + C χ = 2 C 1 + C 3 ∙ and C − C χ = 2 C 2 + C 3 ∙ C-C_{\chi}=2C_2+C_{3\bullet} C − C χ = 2 C 2 + C 3 ∙ .
Corollary 6.2 (a sandwich for each series). With
R ( N ) = 8 ( N − 1 ) − 2 ζ ′ ζ ( 1 2 ) log N + 2 ∑ m ≥ 1 1 − N − ( 2 m + 1 / 2 ) ( 2 m + 1 2 ) 2 R(N)=8(\sqrt{N}-1)-2\frac{\zeta'}{\zeta}\left(\frac{1}{2}\right)\log N+2\sum_{m\geq1}\frac{1-N^{-(2m+1/2)}}{(2m+\frac{1}{2})^2} R ( N ) = 8 ( N − 1 ) − 2 ζ ζ ′ ( 2 1 ) log N + 2 m ≥ 1 ∑ ( 2 m + 2 1 ) 2 1 − N − ( 2 m + 1/2 ) as in [24 ] , for every N > 1 N>1 N > 1 ,
C 1 = 1 2 ( R + R χ − C 3 ∙ ) − 1 2 ( M + M χ ) , C 2 = 1 2 ( R − R χ − C 3 ∙ ) − 1 2 ( M − M χ ) . C_1=\frac{1}{2}(R+R_{\chi}-C_{3\bullet})-\frac{1}{2}(M+M_{\chi}),\qquad C_2=\frac{1}{2}(R-R_{\chi}-C_{3\bullet})-\frac{1}{2}(M-M_{\chi}). C 1 = 2 1 ( R + R χ − C 3 ∙ ) − 2 1 ( M + M χ ) , C 2 = 2 1 ( R − R χ − C 3 ∙ ) − 2 1 ( M − M χ ) . Under RH and GRH for χ − 3 \chi_{-3} χ − 3 , C 1 C_1 C 1 lies in a window of width 1 2 ( 0.18484 + 0.45361 ) = 0.31923 \frac{1}{2}(0.18484+0.45361)=0.31923 2 1 ( 0.18484 + 0.45361 ) = 0.31923 below 1 2 ( R + R χ − C 3 ∙ ) \frac{1}{2}(R+R_{\chi}-C_{3\bullet}) 2 1 ( R + R χ − C 3 ∙ ) , and C 2 − 1 2 ( R − R χ − C 3 ∙ ) ∈ [ − 0.09242 , 0.22681 ] C_2-\frac{1}{2}(R-R_{\chi}-C_{3\bullet})\in[-0.09242,0.22681] C 2 − 2 1 ( R − R χ − C 3 ∙ ) ∈ [ − 0.09242 , 0.22681 ] .
Proof. Linear algebra on the two identities, with M ∈ [ 0 , 0.18484 ] M\in[0,0.18484] M ∈ [ 0 , 0.18484 ] [22 , 24 ] and M χ ∈ [ 0 , 0.45361 ] M_{\chi}\in[0,0.45361] M χ ∈ [ 0 , 0.45361 ] .
Consecutive primes and runs
The bias of Section 4 concerns totals. A different and stronger effect concerns neighbours. Let p n < p n + 1 p_n<p_{n+1} p n < p n + 1 be consecutive primes > 3 >3 > 3 , and count the transitions between the series.
A prime is followed by one in the same series only 44.0% of the time below 2 27 2^{27} 2 27 , not 50% (Figure 6 (b)). Lemke Oliver and Soundararajan [16 ] discovered this phenomenon for general moduli and explained it with the Hardy–Littlewood k k k -tuple conjecture. In their model the deviation from independence decays only like log log x / log x \log\log x/\log x log log x / log x , which matches the slow drift towards 1 2 \frac{1}{2} 2 1 in the figure. The small excess of 5 → 5 5\to5 5 → 5 over 1 → 1 1\to1 1 → 1 is the bias of Section 4 again.
Table 3. Transitions between consecutive primes p n → p n + 1 p_n \to p_{n+1} p n → p n + 1 (p n + 1 ≤ x p_{n+1} \le x p n + 1 ≤ x ), by series (1 = P + P^+ P + , 5 = P − P^- P − ).
Runs behave as the transitions suggest. Below 2 27 2^{27} 2 27 the longest strings of consecutive primes in one series have length 15 in P − P^- P − and 16 in P + P^+ P + , and there are 171 387 and 171 605 maximal strings of length ≥ 4 \ge4 ≥ 4 . The sequences A296011 and A296055 of [11 ] list the starting generators k k k of four consecutive primes 6 k − 1 , … , 6 k + 17 6k-1,\ldots,6k+17 6 k − 1 , … , 6 k + 17 in P − P^- P − (resp. 6 k + 1 , … , 6 k + 19 6k+1,\ldots,6k+19 6 k + 1 , … , 6 k + 19 in P + P^+ P + ) with no prime of the other series between them; our computation reproduces 42, 897, 1052, 2107, 2242, 2457, 2632, 2912, … \ldots …
Theorem 7.1 (Shiu [Sh]). For every m m m , each of P + P^+ P + and P − P^- P − contains m m m consecutive primes.
Shiu’s theorem holds for every residue class a a a mod q q q with gcd ( a , q ) = 1 \gcd(a,q)=1 g cd( a , q ) = 1 , and it is unconditional. Its proof uses the Maier matrix method, not the sieve structure of Lemma 2.1 . It does not settle A296011 and A296055. Those sequences require the four primes to sit at consecutive generators, that is, four consecutive primes in arithmetic progression with difference 6. Their infinitude follows from the Hardy–Littlewood prime k k k -tuples conjecture and is open.
Twin primes
By Lemma 2.1 (c), every twin pair other than (3, 5) is ( 6 k − 1 , 6 k + 1 ) (6k-1,6k+1) ( 6 k − 1 , 6 k + 1 ) , with k k k a twin generator (OEIS A002822). Twin centres 6 k 6k 6 k form A014574, and the representations of a twin centre as a sum of two smaller ones form A305825 [11 ] .
Conjecture 8.1 (Hardy–Littlewood [HL]). π 2 ( x ) ∼ 2 C 2 ∫ 2 x d t log 2 t \pi_2(x) \sim2C_2 \int_2^x \frac{dt}{\log^2 t} π 2 ( x ) ∼ 2 C 2 ∫ 2 x l o g 2 t d t , with C 2 = ∏ p > 2 ( 1 − 1 ( p − 1 ) 2 ) = 0.6601618158 … C_2 = \prod_{p>2}\left(1-\frac{1}{(p-1)^2}\right) = 0.6601618158\ldots C 2 = ∏ p > 2 ( 1 − ( p − 1 ) 2 1 ) = 0.6601618158 …
Table 4. Twin prime pairs up to x x x against Conjecture 8.1. The integral is computed by Gauss–Legendre quadrature in log t \log t log t ; at 10 8 10^8 1 0 8 and 2 27 2^{27} 2 27 the count differs from it by 56 and by 3.
Brun proved that ∑ ( 1 p + 1 p + 2 ) \sum\left(\frac{1}{p}+\frac{1}{p+2}\right) ∑ ( p 1 + p + 2 1 ) over twin primes converges [10 ] . Its value B 2 ≈ 1.90216 B_2 \approx1.90216 B 2 ≈ 1.90216 is an extrapolation; rigorous bounds are much wider [19 ] . Our partial sum to 2 27 2^{27} 2 27 is 1.7611. Whether there are infinitely many twin primes, that is, infinitely many k k k avoiding the three forms of Lemma 2.1 , is open.
Goldbach modulo 6
Lemma 9.1 (residue classes). Let N N N be even and N = p 1 + p 2 N=p_1+p_2 N = p 1 + p 2 with primes p 1 , p 2 > 3 p_1,p_2>3 p 1 , p 2 > 3 . If N ≡ 0 ( m o d 6 ) N\equiv0\pmod{6} N ≡ 0 ( mod 6 ) , one prime is in P + P^+ P + and the other in P − P^- P − . If N ≡ 2 N\equiv2 N ≡ 2 , both are in P + P^+ P + . If N ≡ 4 N\equiv4 N ≡ 4 , both are in P − P^- P − . Correspondingly, N / 6 N/6 N /6 , ( N − 2 ) / 6 (N-2)/6 ( N − 2 ) /6 or ( N + 2 ) / 6 (N+2)/6 ( N + 2 ) /6 is a sum of two generators k 1 + k 2 k_1+k_2 k 1 + k 2 [11 Idea 30] .
Proof. ( ± 1 ) + ( ± 1 ) ( m o d 6 ) (\pm1)+(\pm1)\pmod{6} ( ± 1 ) + ( ± 1 ) ( mod 6 ) . □
Let r ( N ) r(N) r ( N ) be the number of ordered representations N = p 1 + p 2 N=p_1+p_2 N = p 1 + p 2 . The observation behind A322921 [11 ] is that among three consecutive even numbers, the multiple of 6 usually has the most representations. The Hardy–Littlewood singular series explains it.
Conjecture 9.2 (Hardy–Littlewood [HL]). For even N N N ,
r ( N ) ∼ 2 C 2 ∏ p ∣ N p > 2 p − 1 p − 2 ∫ 2 N − 2 d t log t log ( N − t ) r(N) \sim2C_2 \prod_{\substack{p\mid N \\ p>2}}\frac{p-1}{p-2}\int_2^{N-2}\frac{dt}{\log t\log(N-t)} r ( N ) ∼ 2 C 2 p ∣ N p > 2 ∏ p − 2 p − 1 ∫ 2 N − 2 log t log ( N − t ) d t
The factor for p = 3 p = 3 p = 3 is 2. So a multiple of 6 expects twice as many representations as a neighbour with the same other prime factors. On average over N ≤ 2 ⋅ 10 5 N \le2 \cdot10^{5} N ≤ 2 ⋅ 1 0 5 , r ( N ) log 2 N / N r(N)\log^{2}N/N r ( N ) log 2 N / N is 3.63 for N ≡ 0 N \equiv0 N ≡ 0 , and 1.80 and 1.83 for N ≡ 2 , 4 N \equiv2,4 N ≡ 2 , 4 (mod 6). The ratios are 2 : 1 : 1, not the factors e : 1 : 2 e : 1 : \sqrt{2} e : 1 : 2 suggested in [11 Figs. 26–28] . Divided by the prediction, the three classes give distributions of the same shape with slightly different centres: for N > 2 ⋅ 10 4 N > 2 \cdot10^{4} N > 2 ⋅ 1 0 4 the means are 0.991, 0.984 and 0.998 for N ≡ 0 , 2 , 4 N \equiv0,2,4 N ≡ 0 , 2 , 4 (mod 6), with standard deviations 0.013, 0.020 and 0.019 (Figure 8). The offsets are real, and they are Chebyshev’s bias again. The Hardy–Littlewood main term is natural for prime powers p k p^{k} p k counted with weight 1 / k 1/k 1/ k , and the squares of primes are all ≡ 1 \equiv1 ≡ 1 (mod 3): a representation N = p 2 + q N = p^{2} + q N = p 2 + q with q > 3 q > 3 q > 3 prime exists only for N ≡ 2 N \equiv2 N ≡ 2 or 0 (mod 6), never for N ≡ 4 N \equiv4 N ≡ 4 . Counting primes only therefore leaves the class 4 almost untouched and removes a part of order N − 1 / 2 N^{-1/2} N − 1/2 from the classes 2 and 0 (twice as much from the class 2): the mean for N ≡ 2 N \equiv2 N ≡ 2 is 0.976, 0.985, 0.988 on ( 2 ⋅ 10 4 , 6 ⋅ 10 4 ] (2 \cdot10^{4}, 6 \cdot10^{4}] ( 2 ⋅ 1 0 4 , 6 ⋅ 1 0 4 ] , ( 6 ⋅ 10 4 , 1.2 ⋅ 10 5 ] (6 \cdot10^{4}, 1.2 \cdot10^{5}] ( 6 ⋅ 1 0 4 , 1.2 ⋅ 1 0 5 ] , ( 1.2 ⋅ 10 5 , 2 ⋅ 10 5 ] (1.2 \cdot10^{5}, 2 \cdot10^{5}] ( 1.2 ⋅ 1 0 5 , 2 ⋅ 1 0 5 ] . When prime powers are counted with weight 1 / k 1/k 1/ k , the three means become 0.9987, 0.9999 and 1.0002 (goldbach_powers_10nov.py). That the multiple of 6 has the most representations among 6 m , 6 m + 2 , 6 m + 4 6m, 6m + 2, 6m + 4 6 m , 6 m + 2 , 6 m + 4 holds in 33 322 of the 33 325 triples with 48 ≤ 6 m < 2 ⋅ 10 5 48 \le6m < 2 \cdot10^{5} 48 ≤ 6 m < 2 ⋅ 1 0 5 , but not always. In the sliding window (80078, 80080, 80082) (the aligned triple is 80076, 80078, 80080), r = 1005 , 2012 , 2010 r = 1005, 2012, 2010 r = 1005 , 2012 , 2010 , and 80080 ≡ 4 \equiv4 ≡ 4 (mod 6) wins. This is because 80080 = 2 4 ⋅ 5 ⋅ 7 ⋅ 11 ⋅ 13 80080 = 2^{4} \cdot5 \cdot7 \cdot11 \cdot13 80080 = 2 4 ⋅ 5 ⋅ 7 ⋅ 11 ⋅ 13 has singular series 1.94, against 2.00 for 80082 = 2 ⋅ 3 3 ⋅ 1483 80082 = 2 \cdot3^{3} \cdot1483 80082 = 2 ⋅ 3 3 ⋅ 1483 . There are three such events below 2 ⋅ 10 5 2 \cdot10^{5} 2 ⋅ 1 0 5 , near 80080, 170170 and 190190 (170170 = 2 ⋅ 5 ⋅ 7 ⋅ 11 ⋅ 13 ⋅ 17 = 2 \cdot5 \cdot7 \cdot11 \cdot13 \cdot17 = 2 ⋅ 5 ⋅ 7 ⋅ 11 ⋅ 13 ⋅ 17 and 190190 = 2 ⋅ 5 ⋅ 7 ⋅ 11 ⋅ 13 ⋅ 19 = 2 \cdot5 \cdot7 \cdot11 \cdot13 \cdot19 = 2 ⋅ 5 ⋅ 7 ⋅ 11 ⋅ 13 ⋅ 19 ); they make seven of the sliding windows of three consecutive even numbers exceptional. Goldbach’s conjecture itself is verified to 4 ⋅ 10 18 4 \cdot10^{18} 4 ⋅ 1 0 18 [18 ] and is open.
Even powers of primes
Every prime p ≥ 5 p \ge5 p ≥ 5 satisfies p 2 ≡ 1 p^{2} \equiv1 p 2 ≡ 1 (mod 24). The table of [11 Idea 32] lists the largest such modulus for each even exponent: 24, 240, 504, 480, 264, 65520, 24, 16320, . . .
Theorem 10.1. For n ≥ 1 n \ge1 n ≥ 1 , let g n = gcd { p 2 n − 1 : p prime , p > 2 n + 1 } g_n = \gcd\{p^{2n} - 1 : p\ \text{prime},\ p > 2n + 1\} g n = g cd{ p 2 n − 1 : p prime , p > 2 n + 1 } . Then
g n = 2 v 2 ( 2 n ) + 2 ∏ ℓ odd prime ( ℓ − 1 ) ∣ 2 n ℓ v ℓ ( 2 n ) + 1 . g_n = 2^{v_2(2n)+2}\prod_{\substack{\ell\ \text{odd prime}\\(\ell-1)\mid2n}}\ell^{v_\ell(2n)+1}. g n = 2 v 2 ( 2 n ) + 2 ℓ odd prime ( ℓ − 1 ) ∣ 2 n ∏ ℓ v ℓ ( 2 n ) + 1 .
Proof. Fix a prime power ℓ k \ell^k ℓ k . By Dirichlet’s theorem, the primes p > 2 n + 1 p > 2n + 1 p > 2 n + 1 meet every residue class mod ℓ k \ell^k ℓ k prime to ℓ \ell ℓ . So ℓ k ∣ g n \ell^k \mid g_n ℓ k ∣ g n if and only if a 2 n ≡ 1 a^{2n} \equiv1 a 2 n ≡ 1 (mod ℓ k \ell^k ℓ k ) for every unit a a a , that is, if and only if the exponent of ( Z / ℓ k ) × (\mathbb{Z}/\ell^k)^\times ( Z / ℓ k ) × divides 2 n 2n 2 n . This requires ℓ ≠ p \ell\ne p ℓ = p for all the p p p involved; that holds whenever the condition below is met, since then ℓ ≤ 2 n + 1 \ell\le2n+1 ℓ ≤ 2 n + 1 .
For odd ℓ \ell ℓ the group is cyclic of order ℓ k − 1 ( ℓ − 1 ) \ell^{k-1}(\ell-1) ℓ k − 1 ( ℓ − 1 ) , so the condition is ( ℓ − 1 ) ∣ 2 n (\ell-1) \mid2n ( ℓ − 1 ) ∣ 2 n and k − 1 ≤ v ℓ ( 2 n ) k-1 \le v_\ell(2n) k − 1 ≤ v ℓ ( 2 n ) . If ( ℓ − 1 ) ∤ 2 n (\ell-1) \nmid2n ( ℓ − 1 ) ∤ 2 n , not even ℓ ∣ g n \ell\mid g_n ℓ ∣ g n .
For ℓ = 2 \ell=2 ℓ = 2 and k ≥ 3 k \ge3 k ≥ 3 , ( Z / 2 k ) × ≅ C 2 × C 2 k − 2 (\mathbb{Z}/2^k)^\times\cong C_2 \times C_{2^{k-2}} ( Z / 2 k ) × ≅ C 2 × C 2 k − 2 has exponent 2 k − 2 2^{k-2} 2 k − 2 , so the condition is k ≤ v 2 ( 2 n ) + 2 k \le v_2(2n)+2 k ≤ v 2 ( 2 n ) + 2 ; for k ≤ 2 k \le2 k ≤ 2 it always holds. □
Table 5. g n g_n g n of Theorem 10.1 for n ≤ 12 n \le12 n ≤ 12 . The direct gcd over the first 400 admissible primes, the formula, and the denominator of B 2 n / ( 4 n ) B_{2n}/(4n) B 2 n / ( 4 n ) agree in every case.
The formula is the denominator of B 2 n / ( 4 n ) B_{2n}/(4n) B 2 n / ( 4 n ) , where B 2 n B_{2n} B 2 n are the Bernoulli numbers. This is a classical consequence of the von Staudt–Clausen theorem and its refinement for B 2 n / 2 n B_{2n}/2n B 2 n /2 n [15 , 1 ] . Equivalently, it is the denominator of 1 2 ζ ( 1 − 2 n ) = − B 2 n / ( 4 n ) \frac{1}{2}\zeta(1-2n)=-B_{2n}/(4n) 2 1 ζ ( 1 − 2 n ) = − B 2 n / ( 4 n ) , the order of the image of the J J J -homomorphism in Adams’ work [1 ] . The case n = 1 n=1 n = 1 is p 2 ≡ 1 ( m o d 24 ) p^2 \equiv1 \pmod{24} p 2 ≡ 1 ( mod 24 ) , and n = 6 n=6 n = 6 gives p 12 ≡ 1 ( m o d 65520 ) p^{12} \equiv1 \pmod{65520} p 12 ≡ 1 ( mod 65520 ) for p > 13 p>13 p > 13 .
The cross-energy as a two-way detector: the zeros return the two lanes
This section is now in version 2 (2 November 2026). It connects the sieve structure of § 2 with the zeros of ζ \zeta ζ and of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) through the cross-energy C 2 C_2 C 2 of Part 1 [27 ] . Part 1 uses C 2 C_2 C 2 to detect zeros by running over the integers. Here the roles are reversed: averaged over the zeros, C 2 C_2 C 2 returns log N \log N log N , and a Möbius inversion returns each prime of each lane.
The three forms as a Dirichlet series
Let χ 6 \chi_6 χ 6 be the character modulo 6 induced by χ − 3 \chi_{-3} χ − 3 (χ 6 ( n ) = 1 , − 1 , 0 \chi_6(n)=1,-1,0 χ 6 ( n ) = 1 , − 1 , 0 for n ≡ 1 , 5 n \equiv1,5 n ≡ 1 , 5 and otherwise), so that L ( s , χ 6 ) = ( 1 + 2 − s ) L ( s , χ − 3 ) L(s,\chi_6)=(1+2^{-s})L(s,\chi_{-3}) L ( s , χ 6 ) = ( 1 + 2 − s ) L ( s , χ − 3 ) , and let ζ 6 ( s ) = ( 1 − 2 − s ) ( 1 − 3 − s ) ζ ( s ) \zeta_6(s)=(1-2^{-s})(1-3^{-s})\zeta(s) ζ 6 ( s ) = ( 1 − 2 − s ) ( 1 − 3 − s ) ζ ( s ) . Write r + ( k ) r_+(k) r + ( k ) for the number of ordered pairs ( x , y ) (x,y) ( x , y ) , x , y ≥ 1 x,y \ge1 x , y ≥ 1 , with k = 6 x y + x + y k=6xy+x+y k = 6 x y + x + y or k = 6 x y − x − y k=6xy-x-y k = 6 x y − x − y , and r − ( k ) r_-(k) r − ( k ) for the number with k = 6 x y + x − y k=6xy+x-y k = 6 x y + x − y .
Proposition 11.1 (the forms as divisor counts). For k ≥ 1 k \ge1 k ≥ 1 ,
r + ( k ) = d ( 6 k + 1 ) − 2 , r − ( k ) = 1 2 d ( 6 k − 1 ) − 1 , r_+(k)=d(6k+1)-2,\qquad r_-(k)=\frac{1}{2}d(6k-1)-1, r + ( k ) = d ( 6 k + 1 ) − 2 , r − ( k ) = 2 1 d ( 6 k − 1 ) − 1 , and
∑ n ≡ ± 1 ( 6 ) d ( n ) n s = 1 2 [ ζ 6 ( s ) 2 ± L ( s , χ 6 ) 2 ] ( Re s > 1 ) . \sum_{n\equiv\pm1\ (6)}\frac{d(n)}{n^s}
=\frac{1}{2}\left[\zeta_6(s)^2\pm L(s,\chi_6)^2\right]\qquad(\operatorname{Re}s>1). n ≡ ± 1 ( 6 ) ∑ n s d ( n ) = 2 1 [ ζ 6 ( s ) 2 ± L ( s , χ 6 ) 2 ] ( Re s > 1 ) . In particular 6 k + 1 6k+1 6 k + 1 is prime if and only if r + ( k ) = 0 r_+(k)=0 r + ( k ) = 0 , and 6 k − 1 6k-1 6 k − 1 is prime if and only if r − ( k ) = 0 r_-(k)=0 r − ( k ) = 0 .
Proof. By Proposition 2.2 , r + ( k ) r_+(k) r + ( k ) counts the ordered factorizations 6 k + 1 = a b 6k+1=ab 6 k + 1 = ab with a , b > 1 a,b>1 a , b > 1 and a ≡ b ( m o d 6 ) a\equiv b\pmod6 a ≡ b ( mod 6 ) . Every factorization of a number ≡ 1 ( m o d 6 ) \equiv1\pmod6 ≡ 1 ( mod 6 ) has a ≡ b a\equiv b a ≡ b , so r + ( k ) = d ( 6 k + 1 ) − 2 r_+(k)=d(6k+1)-2 r + ( k ) = d ( 6 k + 1 ) − 2 . For n = 6 k − 1 n=6k-1 n = 6 k − 1 the divisors split equally between the classes 1 and 5, since d ↦ n / d d\mapsto n/d d ↦ n / d exchanges them. The factorizations ( 6 x + 1 ) ( 6 y − 1 ) (6x+1)(6y-1) ( 6 x + 1 ) ( 6 y − 1 ) with x , y ≥ 1 x,y\ge1 x , y ≥ 1 correspond to the divisors ≡ 1 \equiv1 ≡ 1 other than 1, which gives 1 2 d ( n ) − 1 \frac{1}{2}d(n)-1 2 1 d ( n ) − 1 . For the series, ∑ ( n , 6 ) = 1 d ( n ) n − s = ζ 6 ( s ) 2 \sum_{(n,6)=1}d(n)n^{-s}=\zeta_6(s)^2 ∑ ( n , 6 ) = 1 d ( n ) n − s = ζ 6 ( s ) 2 and ∑ χ 6 ( n ) d ( n ) n − s = L ( s , χ 6 ) 2 \sum\chi_6(n)d(n)n^{-s}=L(s,\chi_6)^2 ∑ χ 6 ( n ) d ( n ) n − s = L ( s , χ 6 ) 2 , because χ 6 \chi_6 χ 6 is completely multiplicative. Half the sum and half the difference select the two classes. □
Status: elementary; checked for k ≤ 20 000 k \le20\,000 k ≤ 20 000 . The ”operator” behind the forms 6 x y ± x ± y 6xy\pm x\pm y 6 x y ± x ± y is multiplication in the monoid of integers prime to 6, graded by χ 6 \chi_6 χ 6 : the rule ( + ) ( + ) = ( − ) ( − ) = + (+)(+) = (-)(-) = + ( + ) ( + ) = ( − ) ( − ) = + , ( + ) ( − ) = − (+)(-) = - ( + ) ( − ) = − is exactly the factor L ( s , χ 6 ) 2 L(s,\chi_6)^2 L ( s , χ 6 ) 2 . The diagonal x = y x=y x = y of the first two forms consists of the squares ( 6 x ± 1 ) 2 (6x\pm1)^2 ( 6 x ± 1 ) 2 . It falls only in the lane 6 k + 1 6k+1 6 k + 1 , and it is the source of the bias of Proposition 4.2 .
Duality
For N ≥ 2 N \ge2 N ≥ 2 and t ∈ R t \in\mathbb{R} t ∈ R let
C 2 ( N , 1 2 , t ) = 2 N ∑ j < N cos ( t log ( N / j ) ) j = ∣ X N ( 1 2 + i t ) ∣ 2 − ∣ X N − 1 ( 1 2 + i t ) ∣ 2 − 1 N , C_2\left(N,\frac{1}{2},t\right)=\frac{2}{\sqrt{N}}\sum_{j<N}\frac{\cos\left(t\log(N/j)\right)}{\sqrt{j}}=\left|X_N\left(\frac{1}{2}+it\right)\right|^2-\left|X_{N-1}\left(\frac{1}{2}+it\right)\right|^2-\frac{1}{N}, C 2 ( N , 2 1 , t ) = N 2 j < N ∑ j cos ( t log ( N / j ) ) = X N ( 2 1 + i t ) 2 − X N − 1 ( 2 1 + i t ) 2 − N 1 ,
the cross-energy of Part 1 [27 ] on the critical line. (Part 1 writes it C 2 C_2 C 2 ; we write C 2 C_2 C 2 because C 2 C_2 C 2 already denotes a sum in Corollary 6.2.)
Theorem 11.2 (the zeros return the lanes). Assume RH for ζ \zeta ζ and GRH for L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) . For every fixed N ≥ 2 N \ge2 N ≥ 2 , with γ \gamma γ the ordinates of the zeros of ζ \zeta ζ and γ χ \gamma_\chi γ χ those of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) ,
A ζ ( N ) : = − lim T → ∞ π T ∑ 0 < γ ≤ T C 2 ( N , 1 2 , γ ) = log N N , A_\zeta(N):=-\lim_{T\to\infty}\frac{\pi}{T}\sum_{0<\gamma\le T}C_2\left(N,\frac{1}{2},\gamma\right)=\frac{\log N}{N}, A ζ ( N ) := − T → ∞ lim T π 0 < γ ≤ T ∑ C 2 ( N , 2 1 , γ ) = N log N , A L ( N ) : = − lim T → ∞ π T ∑ 0 < γ χ ≤ T C 2 ( N , 1 2 , γ χ ) = 1 N ∑ d ∣ N χ − 3 ( d ) Λ ( d ) . A_L(N):=-\lim_{T\to\infty}\frac{\pi}{T}\sum_{0<\gamma_\chi\le T}C_2\left(N,\frac{1}{2},\gamma_\chi\right)=\frac{1}{N}\sum_{d\mid N}\chi_{-3}(d)\Lambda(d). A L ( N ) := − T → ∞ lim T π 0 < γ χ ≤ T ∑ C 2 ( N , 2 1 , γ χ ) = N 1 d ∣ N ∑ χ − 3 ( d ) Λ ( d ) . Consequently, for every N N N ,
Λ ( N ) 1 + χ − 3 ( N ) 2 = ∑ d ∣ N μ ( N d ) A ζ ( d ) + A L ( d ) 2 . \Lambda(N)\frac{1+\chi_{-3}(N)}{2}=\sum_{d\mid N}\mu\left(\frac{N}{d}\right)\frac{A_\zeta(d)+A_L(d)}{2}. Λ ( N ) 2 1 + χ − 3 ( N ) = d ∣ N ∑ μ ( d N ) 2 A ζ ( d ) + A L ( d ) . Proof. For fixed x > 1 x>1 x > 1 , Landau’s formula [9 ] and its analogue for L ( s , χ ) L(s,\chi) L ( s , χ ) with χ \chi χ real give
∑ 0 < γ ≤ T x ρ = − T 2 π Λ ( x ) + O x ( log T ) , ∑ 0 < γ χ ≤ T x ρ χ = − T 2 π χ ( x ) Λ ( x ) + O x ( log T ) , \sum_{0<\gamma\le T}x^\rho=-\frac{T}{2\pi}\Lambda(x)+O_x(\log T),\qquad\sum_{0<\gamma_\chi\le T}x^{\rho_\chi}=-\frac{T}{2\pi}\chi(x)\Lambda(x)+O_x(\log T), 0 < γ ≤ T ∑ x ρ = − 2 π T Λ ( x ) + O x ( log T ) , 0 < γ χ ≤ T ∑ x ρ χ = − 2 π T χ ( x ) Λ ( x ) + O x ( log T ) , with Λ ( x ) = 0 \Lambda(x)=0 Λ ( x ) = 0 unless x x x is a prime power. Under RH and GRH, x ρ = x x i γ x^\rho=\sqrt{x}x^{i\gamma} x ρ = x x iγ , and taking real parts,
∑ 0 < γ ≤ T cos ( γ log x ) = − T 2 π Λ ( x ) x + O x ( log T ) . \sum_{0<\gamma\le T}\cos(\gamma\log x)=-\frac{T}{2\pi}\frac{\Lambda(x)}{\sqrt{x}}+O_x(\log T). 0 < γ ≤ T ∑ cos ( γ log x ) = − 2 π T x Λ ( x ) + O x ( log T ) . Insert x = N / j x=N/j x = N / j for each j < N j<N j < N . Only the j j j dividing N N N survive. With d = N / j d=N/j d = N / j ,
∑ 0 < γ ≤ T C 2 ( N , 1 2 , γ ) = 2 N ∑ d ∣ N d > 1 d N ( − T 2 π Λ ( d ) d ) + O N ( log T ) = − T π N ∑ d ∣ N Λ ( d ) + O N ( log T ) , \sum_{0<\gamma\le T}C_2\left(N,\frac{1}{2},\gamma\right)=\frac{2}{\sqrt{N}}\sum_{\substack{d\mid N\\d>1}}\sqrt{\frac{d}{N}}\left(-\frac{T}{2\pi}\frac{\Lambda(d)}{\sqrt{d}}\right)+O_N(\log T)=-\frac{T}{\pi N}\sum_{d\mid N}\Lambda(d)+O_N(\log T), 0 < γ ≤ T ∑ C 2 ( N , 2 1 , γ ) = N 2 d ∣ N d > 1 ∑ N d ( − 2 π T d Λ ( d ) ) + O N ( log T ) = − π N T d ∣ N ∑ Λ ( d ) + O N ( log T ) , and ∑ d ∣ N Λ ( d ) = log N \sum_{d\mid N}\Lambda(d)=\log N ∑ d ∣ N Λ ( d ) = log N . The same computation with χ ( d ) Λ ( d ) \chi(d)\Lambda(d) χ ( d ) Λ ( d ) gives A L A_L A L . For the last identity, N ( A ζ ± A L ) / 2 = ∑ d ∣ N Λ ( d ) 1 ± χ ( d ) 2 N(A_\zeta\pm A_L)/2=\sum_{d\mid N}\Lambda(d)\frac{1\pm\chi(d)}{2} N ( A ζ ± A L ) /2 = ∑ d ∣ N Λ ( d ) 2 1 ± χ ( d ) is the Dirichlet convolution of Λ 1 ± χ 2 \Lambda\frac{1\pm\chi}{2} Λ 2 1 ± χ with 1 1 1 , and Möbius inversion undoes it. □
Status: proved under RH and GRH. Without them, the same proof gives the identity with C 2 ( N , 1 2 , γ ) C_2\left(N,\frac{1}{2},\gamma\right) C 2 ( N , 2 1 , γ ) replaced by 2 N ∑ j j − 1 / 2 Re ( N / j ) ρ − 1 / 2 \frac{2}{\sqrt{N}}\sum_j j^{-1/2}\operatorname{Re}(N/j)^{\rho-1/2} N 2 ∑ j j − 1/2 Re ( N / j ) ρ − 1/2 . The two versions differ only through zeros off the line. The theorem is Landau’s formula read through C 2 C_2 C 2 . What it adds is the reading: the same function C 2 C_2 C 2 detects zeros as N N N runs over the integers (Part 1), and returns log N \log N log N as γ \gamma γ runs over the zeros. The lane of a prime is decided only by which family of zeros is used.
Numerical check. We computed the zeros directly (Euler–Maclaurin and Hardy’s Z Z Z -function). The counts below 2000 close against the Riemann–von Mangoldt formulas, and the first zero of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) is at 8.0397. For N = 2 , 10 , 30 , 60 N=2,10,30,60 N = 2 , 10 , 30 , 60 , A ζ ( N ) = 0.3472 , 0.2290 , 0.1116 , 0.0660 A_\zeta(N)=0.3472, 0.2290, 0.1116, 0.0660 A ζ ( N ) = 0.3472 , 0.2290 , 0.1116 , 0.0660 , against log N / N = 0.3466 , 0.2303 , 0.1134 , 0.0682 \log N/N=0.3466, 0.2303, 0.1134, 0.0682 log N / N = 0.3466 , 0.2303 , 0.1134 , 0.0682 . Table 6 shows the two detectors. Every prime 5 ≤ p ≤ 79 5\le p\le79 5 ≤ p ≤ 79 appears in its lane and not in the other. The composites 35, 55, 77 give values near 0. The squares 25 = 5 2 25=5^2 25 = 5 2 and 49 = 7 2 49=7^2 49 = 7 2 give log 5 \log5 log 5 and log 7 \log7 log 7 in the lane 6 k + 1 6k+1 6 k + 1 , as they must, since Λ ( p 2 ) = log p \Lambda(p^2)=\log p Λ ( p 2 ) = log p . These are the diagonal terms x = y x=y x = y of Proposition 11.1, the same squares that cause the bias. The largest error up to N = 79 N=79 N = 79 is 0.57 (at N = 67 N=67 N = 67 ). The error term is O N ( log T ) / T O_N(\log T)/T O N ( log T ) / T with a constant that grows with N N N , so the table degrades slowly with N N N at fixed T T T .
Table 6. The two detectors of Theorem 11.2 with the 1517 zeros of ζ \zeta ζ and the 1865 zeros of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) below T = 2000 T=2000 T = 2000 ; the last column is the value of Λ ( N ) \Lambda(N) Λ ( N ) in its lane.
The densities as waves. Differentiating the explicit formula gives, for the density of each lane,
d d x ψ ( x ; 6 , ± 1 ) = 1 2 [ 1 − 2 x ∑ γ > 0 cos ( γ log x ) ∓ 2 x ∑ γ χ > 0 cos ( γ χ log x ) ] + ⋯ \frac{d}{dx}\psi(x;6,\pm1)=\frac{1}{2}\left[1-\frac{2}{\sqrt{x}}\sum_{\gamma>0}\cos(\gamma\log x)\mp\frac{2}{\sqrt{x}}\sum_{\gamma_\chi>0}\cos(\gamma_\chi\log x)\right]+\cdots d x d ψ ( x ; 6 , ± 1 ) = 2 1 1 − x 2 γ > 0 ∑ cos ( γ log x ) ∓ x 2 γ χ > 0 ∑ cos ( γ χ log x ) + ⋯
in the sense of distributions, where the dots are the contributions of the trivial zeros and of the powers of 2 and 3. Figure 9 shows the truncation at height 400 with Fejér weights 1 − γ / 400 1-\gamma/400 1 − γ /400 . In the lane 6 k − 1 6k-1 6 k − 1 every prime up to 200 has a peak, and no composite does. In the lane 6 k + 1 6k+1 6 k + 1 the only peaks at composites are at 25, 49, 121 and 169, the squares of primes. The zeros of ζ \zeta ζ contribute equally to both lanes. Only the zeros of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) separate them, with opposite signs.
Figure 9. (a), (b) The prime densities of the two lanes rebuilt from the 201 zeros of ζ \zeta ζ and the 271 zeros of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) below 400, with Fejér weights; vertical lines at the integers of each lane (solid: primes, dotted: composites). (c) The two families of waves: the zeros of ζ \zeta ζ (common to both lanes) and the zeros of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) (opposite signs in the two lanes).
The duality at finite height: an exact explicit formula for the cross-energy
This subsection is new in version 3 (2 November 2026). Theorem 11.2 needs two things: a limit T → ∞ T\to\infty T → ∞ , and RH and GRH to turn x ρ x^\rho x ρ into a cosine. Here we remove both. A Gaussian weight on the zeros gives an exact identity at every N N N and every resolution. Its four terms (zeros, pole, Gamma factor and primes) can be computed separately, and each has a meaning in terms of C 2 C_2 C 2 . We first state the identity, then explain how the cross-energy hears the primes through the zeros.
On the line, C 2 C_2 C 2 is the restriction of the reflected cross-energy of Part 3 [25 ] ,
C 2 F R ( N , s ) = N − s X N − 1 ( 1 − s ) + N s − 1 X N − 1 ( s ) , C 2 F R ( N , 1 2 + i t ) = C 2 ( N , 1 2 , t ) , C_2^{\mathrm{FR}}(N,s)=N^{-s}X_{N-1}(1-s)+N^{s-1}X_{N-1}(s),\qquad C_2^{\mathrm{FR}}\left(N,\frac{1}{2}+it\right)=C_2\left(N,\frac{1}{2},t\right), C 2 FR ( N , s ) = N − s X N − 1 ( 1 − s ) + N s − 1 X N − 1 ( s ) , C 2 FR ( N , 2 1 + i t ) = C 2 ( N , 2 1 , t ) ,
an entire function of s s s , symmetric under s ↔ 1 − s s\leftrightarrow1-s s ↔ 1 − s . For a zero ρ \rho ρ write t ρ = ( ρ − 1 2 ) / i t_\rho=(\rho-\frac{1}{2})/i t ρ = ( ρ − 2 1 ) / i . In this subsection ∑ ρ \sum_\rho ∑ ρ runs over all nontrivial zeros, of both signs of the ordinate; under RH, t ρ = γ ρ t_\rho=\gamma_\rho t ρ = γ ρ is real and C 2 F R ( N , ρ ) = C 2 ( N , 1 2 , γ ρ ) C_2^{\mathrm{FR}}(N,\rho)=C_2(N,\frac{1}{2},\gamma_\rho) C 2 FR ( N , ρ ) = C 2 ( N , 2 1 , γ ρ ) .
Proposition 11.3 (the explicit formula for the cross-energy). For every integer N ≥ 2 N \ge2 N ≥ 2 and every ε > 0 \varepsilon> 0 ε > 0 , unconditionally,
∑ ρ e − ε 2 t ρ 2 C 2 F R ( N , ρ ) = 2 e ε 2 / 4 ( H N − 1 + 1 − 1 N ) ⏟ pole + 1 2 π ∫ R e − ε 2 r 2 C 2 ( N , 1 2 , r ) ( ℜ Γ ′ ( 1 4 + i r 2 ) Γ ( 1 4 + i r 2 ) − log π ) d r − 1 π ε N ∑ n ≥ 2 ∑ j < N Λ ( n ) n j ( e − log 2 ( n j / N ) / 4 ε 2 + e − log 2 ( n N / j ) / 4 ε 2 ) , \sum_{\rho} e^{-\varepsilon^{2}t_{\rho}^{2}} C_{2}^{\mathrm{FR}}(N,\rho)
=2e^{\varepsilon^{2}/4}\underbrace{\left(H_{N-1}+1-\frac{1}{N}\right)}_{\text{pole}}
+\frac{1}{2\pi}\int_{\mathbb{R}} e^{-\varepsilon^{2}r^{2}} C_{2}\left(N,\frac{1}{2},r\right)\left(\Re\frac{\Gamma'\left(\frac{1}{4}+\frac{ir}{2}\right)}{\Gamma\left(\frac{1}{4}+\frac{ir}{2}\right)}-\log\pi\right)\,dr
-\frac{1}{\sqrt{\pi}\varepsilon\sqrt{N}}\sum_{n\ge2}\sum_{j<N}\frac{\Lambda(n)}{\sqrt{nj}}\left(e^{-\log^{2}(nj/N)/4\varepsilon^{2}}+e^{-\log^{2}(nN/j)/4\varepsilon^{2}}\right), ρ ∑ e − ε 2 t ρ 2 C 2 FR ( N , ρ ) = 2 e ε 2 /4 pole ( H N − 1 + 1 − N 1 ) + 2 π 1 ∫ R e − ε 2 r 2 C 2 ( N , 2 1 , r ) ( ℜ Γ ( 4 1 + 2 i r ) Γ ′ ( 4 1 + 2 i r ) − log π ) d r − π ε N 1 n ≥ 2 ∑ j < N ∑ nj Λ ( n ) ( e − l o g 2 ( nj / N ) /4 ε 2 + e − l o g 2 ( n N / j ) /4 ε 2 ) ,
where H N − 1 = ∑ k < N 1 / k H_{N-1}=\sum_{k<N}1/k H N − 1 = ∑ k < N 1/ k . Consequently,
A ε ( N ) : = π ε N [ p o l e + G a m m a − z e r o s ] = log N + R ε ( N ) , A_\varepsilon(N):=\sqrt{\pi}\,\varepsilon N\left[\mathit{pole}+\mathit{Gamma}-\mathit{zeros}\right]=\log N+R_\varepsilon(N), A ε ( N ) := π εN [ pole + Gamma − zeros ] = log N + R ε ( N ) ,
with
0 ≤ R ε ( N ) ≤ N ∑ m ≥ 2 m ≠ N log m m e − log 2 ( m / N ) / 4 ε 2 + 2 N ∑ n ≥ 2 Λ ( n ) n e − log 2 n / 4 ε 2 ⟶ 0 ( ε → 0 ) , 0\le R_\varepsilon(N)\le\sqrt{N}\sum_{\substack{m\ge2\\m\ne N}}\frac{\log m}{\sqrt{m}}e^{-\log^2(m/N)/4\varepsilon^2}+2N\sum_{n\ge2}\frac{\Lambda(n)}{\sqrt{n}}e^{-\log^2 n/4\varepsilon^2}\longrightarrow0\qquad(\varepsilon\to0), 0 ≤ R ε ( N ) ≤ N m ≥ 2 m = N ∑ m log m e − l o g 2 ( m / N ) /4 ε 2 + 2 N n ≥ 2 ∑ n Λ ( n ) e − l o g 2 n /4 ε 2 ⟶ 0 ( ε → 0 ) ,
and ∑ d ∣ N μ ( N / d ) A ε ( d ) = Λ ( N ) + ∑ d ∣ N μ ( N / d ) R ε ( d ) \sum_{d\mid N}\mu(N/d)A_\varepsilon(d)=\Lambda(N)+\sum_{d\mid N}\mu(N/d)R_\varepsilon(d) ∑ d ∣ N μ ( N / d ) A ε ( d ) = Λ ( N ) + ∑ d ∣ N μ ( N / d ) R ε ( d ) .
Proof. Put h ( r ) = e − ε 2 r 2 C 2 F R ( N , 1 2 + i r ) h(r)=e^{-\varepsilon^2r^2}C^{\mathrm{FR}}_2(N,\frac{1}{2}+ir) h ( r ) = e − ε 2 r 2 C 2 FR ( N , 2 1 + i r ) . It is entire and even, and it has Gaussian decay in every horizontal strip, because C 2 F R ( N , ⋅ ) C^{\mathrm{FR}}_2(N,\cdot) C 2 FR ( N , ⋅ ) is a finite exponential sum. So Weil’s explicit formula applies [25 ] :
∑ ρ h ( t ρ ) = h ( i 2 ) + h ( − i 2 ) + 1 2 π ∫ h ( r ) ( Re Γ ′ Γ ( 1 4 + i r 2 ) − log π ) d r − 2 ∑ n ≥ 2 Λ ( n ) n g ( log n ) , \sum_\rho h(t_\rho)=h\left(\frac{i}{2}\right)+h\left(-\frac{i}{2}\right)+\frac{1}{2\pi}\int h(r)\left(\operatorname{Re}\frac{\Gamma'}{\Gamma}\left(\frac{1}{4}+\frac{ir}{2}\right)-\log\pi\right)\,dr-2\sum_{n\ge2}\frac{\Lambda(n)}{\sqrt{n}}g(\log n), ρ ∑ h ( t ρ ) = h ( 2 i ) + h ( − 2 i ) + 2 π 1 ∫ h ( r ) ( Re Γ Γ ′ ( 4 1 + 2 i r ) − log π ) d r − 2 n ≥ 2 ∑ n Λ ( n ) g ( log n ) ,
with g ( x ) = 1 2 π ∫ h ( r ) e − i r x d r g(x)=\frac{1}{2\pi}\int h(r)e^{-irx}\,dr g ( x ) = 2 π 1 ∫ h ( r ) e − i r x d r . We compute the three terms on the right.
Pole. h ( ± i 2 ) = e ε 2 / 4 C 2 F R ( N , 0 ) h(\pm\frac{i}{2})=e^{\varepsilon^2/4}C^{\mathrm{FR}}_2(N,0) h ( ± 2 i ) = e ε 2 /4 C 2 FR ( N , 0 ) by the symmetry s ↔ 1 − s s\leftrightarrow1-s s ↔ 1 − s , and C 2 F R ( N , 0 ) = X N − 1 ( 1 ) + N − 1 X N − 1 ( 0 ) = H N − 1 + 1 N C^{\mathrm{FR}}_2(N,0)=X_{N-1}(1)+N^{-1}X_{N-1}(0)=H_{N-1}+\frac{1}{N} C 2 FR ( N , 0 ) = X N − 1 ( 1 ) + N − 1 X N − 1 ( 0 ) = H N − 1 + N 1 .
Gamma. On the line C 2 F R = C 2 C^{\mathrm{FR}}_2=C_2 C 2 FR = C 2 , which gives the integral as stated.
Primes. On the line, C 2 ( N , 1 2 , r ) = 2 N ∑ j < N j − 1 / 2 cos ( r ℓ j ) C_2(N,\frac{1}{2},r)=\frac{2}{\sqrt{N}}\sum_{j<N}j^{-1/2}\cos(r\ell_j) C 2 ( N , 2 1 , r ) = N 2 ∑ j < N j − 1/2 cos ( r ℓ j ) , with ℓ j = log ( N / j ) \ell_j=\log(N/j) ℓ j = log ( N / j ) . Since
1 2 π ∫ e − ε 2 r 2 e i r s d r = 1 2 π ε e − s 2 / 4 ε 2 , \frac{1}{2\pi}\int e^{-\varepsilon^2r^2}e^{ir s}\,dr=\frac{1}{2\sqrt{\pi}\,\varepsilon}e^{-s^2/4\varepsilon^2}, 2 π 1 ∫ e − ε 2 r 2 e i r s d r = 2 π ε 1 e − s 2 /4 ε 2 ,
we get
g ( x ) = 1 2 π ε N ∑ j < N e − ( x − ℓ j ) 2 / 4 ε 2 + e − ( x + ℓ j ) 2 / 4 ε 2 j . g(x)=\frac{1}{2\sqrt{\pi}\,\varepsilon\sqrt{N}}\sum_{j<N}\frac{e^{-(x-\ell_j)^2/4\varepsilon^2}+e^{-(x+\ell_j)^2/4\varepsilon^2}}{\sqrt{j}}. g ( x ) = 2 π ε N 1 j < N ∑ j e − ( x − ℓ j ) 2 /4 ε 2 + e − ( x + ℓ j ) 2 /4 ε 2 .
At x = log n x=\log n x = log n we have x − ℓ j = log ( n j / N ) x-\ell_j=\log(nj/N) x − ℓ j = log ( nj / N ) and x + ℓ j = log ( n N / j ) x+\ell_j=\log(nN/j) x + ℓ j = log ( n N / j ) ; multiplying by 2 Λ ( n ) / n 2\Lambda(n)/\sqrt{n} 2Λ ( n ) / n and summing over n n n gives the prime term.
The consequence. Multiply by π ε N \sqrt{\pi}\,\varepsilon N π εN . In the prime term, the exact coincidences n j = N nj=N nj = N (so n = d n=d n = d is a divisor of N N N , d > 1 d>1 d > 1 , j = N / d j=N/d j = N / d ) have n j = N \sqrt{nj}=\sqrt{N} nj = N , and together they give exactly ∑ d ∣ N Λ ( d ) = log N \sum_{d\mid N}\Lambda(d)=\log N ∑ d ∣ N Λ ( d ) = log N . All other terms are nonnegative, so R ε ( N ) ≥ 0 R_\varepsilon(N)\ge0 R ε ( N ) ≥ 0 . For the upper bound, note that π ε N \sqrt{\pi}\,\varepsilon N π εN times the prime term is N ∑ n , j Λ ( n ) ( n j ) − 1 / 2 ( … ) \sqrt{N}\sum_{n,j}\Lambda(n)(nj)^{-1/2}(\ldots) N ∑ n , j Λ ( n ) ( nj ) − 1/2 ( … ) . In the first family, group the terms with n j ≠ N nj\ne N nj = N by m = n j m=nj m = nj and use ∑ n j = m Λ ( n ) ≤ ∑ d ∣ m Λ ( d ) = log m \sum_{nj=m}\Lambda(n)\le\sum_{d\mid m}\Lambda(d)=\log m ∑ nj = m Λ ( n ) ≤ ∑ d ∣ m Λ ( d ) = log m . In the second family, j < N j<N j < N gives log ( n N / j ) > log n \log(nN/j)>\log n log ( n N / j ) > log n , and ∑ j < N j − 1 / 2 ≤ 2 N \sum_{j<N}j^{-1/2}\le2\sqrt{N} ∑ j < N j − 1/2 ≤ 2 N . Both sums tend to 0 0 0 as ε → 0 \varepsilon\to0 ε → 0 by dominated convergence, since every exponent is bounded away from 0 0 0 (by log 2 ( 1 + 1 N ) \log^2(1+\frac{1}{N}) log 2 ( 1 + N 1 ) in the first family and by log 2 2 \log^2 2 log 2 2 in the second). Möbius inversion of log = Λ ∗ 1 \log=\Lambda*1 log = Λ ∗ 1 gives the last statement. □
Status: proved, unconditionally. The pole term is the cross-energy itself at s = 0 s=0 s = 0 , and the main term log N \log N log N is exact and positive: the error R ε ( N ) R_\varepsilon(N) R ε ( N ) only adds. Under RH the left side is ∑ ρ e − ε 2 γ 2 C 2 ( N , 1 2 , γ ) \sum_\rho e^{-\varepsilon^2\gamma^2}C_2(N,\frac{1}{2},\gamma) ∑ ρ e − ε 2 γ 2 C 2 ( N , 2 1 , γ ) , a sum of real numbers. The same proof with the explicit formula of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) (Gamma factor Γ ( s + 1 2 ) \Gamma(\frac{s+1}{2}) Γ ( 2 s + 1 ) , conductor 3, no pole) gives the lane version, with χ − 3 ( n ) Λ ( n ) \chi_{-3}(n)\Lambda(n) χ − 3 ( n ) Λ ( n ) in the prime term and ∑ d ∣ N χ − 3 ( d ) Λ ( d ) \sum_{d\mid N}\chi_{-3}(d)\Lambda(d) ∑ d ∣ N χ − 3 ( d ) Λ ( d ) in place of log N \log N log N .
How the cross-energy hears the primes through the zeros. We now read Proposition 11.3 term by term, with the numbers of Figure 11 , and use N = 12 N = 12 N = 12 as a running example.
Figure 11. The four terms of Proposition 11.3 for 2 ≤ N ≤ 100 2 \le N \le100 2 ≤ N ≤ 100 , ε = 0.003 \varepsilon= 0.003 ε = 0.003 , computed independently (zeros: the 1517 zeros below 2000; Gamma: quadrature; primes: the double sum). (a) The four terms, symmetric logarithmic axis. (b) The balance pole + Gamma = primes + zeros; inset: the residual, below 7.3 ⋅ 10 − 7 7.3 \cdot10^{-7} 7.3 ⋅ 1 0 − 7 . (c) The prime term split into exact coincidences n j = N n_j = N n j = N , which give log N \log N log N , and near coincidences n j ≈ N n_j \approx N n j ≈ N , n j ≠ N n_j \ne N n j = N , which give R ε ( N ) R_\varepsilon(N) R ε ( N ) . (d) A ε ( N ) A_\varepsilon(N) A ε ( N ) against log N \log N log N .
1. A chord of N − 1 N - 1 N − 1 intervals. On the line,
C 2 ( N , 1 2 , t ) = 2 N ∑ j < N cos ( t log N j ) j C_2(N,\tfrac{1}{2},t)=\frac{2}{\sqrt{N}}\sum_{j<N}\frac{\cos\left(t\log\frac{N}{j}\right)}{\sqrt{j}} C 2 ( N , 2 1 , t ) = N 2 j < N ∑ j cos ( t log j N )
is the interaction energy of the newest term N − s N^{-s} N − s of the partial sum with all the previous ones. Each earlier integer j j j enters through the interval N / j N/j N / j , with frequency log ( N / j ) \log(N/j) log ( N / j ) and volume j − 1 / 2 j^{-1/2} j − 1/2 .
For N = 12 N = 12 N = 12 the intervals are 12 / 1 , 12 / 2 , … , 12 / 11 12/1, 12/2, \ldots, 12/11 12/1 , 12/2 , … , 12/11 . Five of them are integers ( 12 , 6 , 4 , 3 , 2 ) (12, 6, 4, 3, 2) ( 12 , 6 , 4 , 3 , 2 ) ; the others ( 12 / 5 , 12 / 7 , … ) (12/5, 12/7, \ldots) ( 12/5 , 12/7 , … ) are not. 2. Two faces. With t t t fixed and N N N running, C 2 C_2 C 2 is the zero detector of Part 1: by Theorem A of [27 ] , it is a smooth part plus the wave 2 Re ( ζ ( s ) N − s ˉ ) 2\operatorname{Re}(\zeta(s)N^{-\bar{s}}) 2 Re ( ζ ( s ) N − s ˉ ) , which carries the factor ζ ( s ) \zeta(s) ζ ( s ) and vanishes exactly at the zeros. With N N N fixed and t t t running, it is a chord, and Proposition 11.3 plays that chord at every zero.
3. Silence below, music above. At a zero the wave is absent, and Part 3 [25 ] gives C 2 F R ( N , ρ ) = G N ∗ ( λ ρ ) C_2^{\mathrm{FR}}(N,\rho) = G_N^*(\lambda_\rho) C 2 FR ( N , ρ ) = G N ∗ ( λ ρ ) , λ ρ = ρ ( 1 − ρ ) \lambda_\rho= \rho(1-\rho) λ ρ = ρ ( 1 − ρ ) . As long as N N N is large compared with the height, this is the smooth value 1 λ ρ − 1 N + O ( N − 2 ) \frac{1}{\lambda_\rho} - \frac{1}{N} + O(N^{-2}) λ ρ 1 − N 1 + O ( N − 2 ) , and nothing oscillates. When the height passes the threshold of the approximate functional equation, γ ≈ 2 π N \gamma\approx2\pi N γ ≈ 2 π N , the value oscillates with amplitude of order N − 1 / 2 N^{-1/2} N − 1/2 (Table 7 ). For N = 12 N = 12 N = 12 , at the first zero C 2 ( 12 , 1 2 , γ 1 ) = − 0.079 C_2(12,\frac{1}{2},\gamma_1) = -0.079 C 2 ( 12 , 2 1 , γ 1 ) = − 0.079 , equal to 1 λ 1 − 1 12 \frac{1}{\lambda_1} - \frac{1}{12} λ 1 1 − 12 1 to 7 ⋅ 10 − 4 7 \cdot10^{-4} 7 ⋅ 1 0 − 4 . At the 1499 zeros between 75 and 2000 its root mean square is 0.52. The low zeros contribute only their smooth value; the arithmetic is carried by the oscillation at the high ones.
Table 7. The cross-energy at the zeros of ζ \zeta ζ below 2000, in three ranges of height: the largest deviation from the smooth value 1 λ − 1 N \frac{1}{\lambda}-\frac{1}{N} λ 1 − N 1 and the root mean square of C 2 ( N , 1 2 , γ ) C_2(N,\frac{1}{2},\gamma) C 2 ( N , 2 1 , γ ) .
Why the zeros pick the divisors
Summed over many zeros, cos ( γ log x ) \cos(\gamma\log x) cos ( γ log x ) cancels for almost every x x x . The exception is a prime power x = p m x=p^m x = p m , where the zeros add up to − Λ ( x ) / x -\Lambda(x)/\sqrt{x} − Λ ( x ) / x per unit of density: this is Landau’s formula, and it is how the zeros together know the primes. In C 2 C_2 C 2 the frequencies are x = N / j x=N/j x = N / j , and N / j N/j N / j is an integer exactly when d = N / j d=N/j d = N / j divides N N N . Of the divisors, only the prime powers resonate. For N = 12 N=12 N = 12 these are 2, 3 and 4 = 2 2 4=2^2 4 = 2 2 ; the intervals 6 and 12 are integers but not prime powers, and the fractional intervals resonate with nothing. Then the weights fit: the divisor d d d resonates with amplitude Λ ( d ) / d \Lambda(d)/\sqrt{d} Λ ( d ) / d , and C 2 C_2 C 2 gives it the volume j − 1 / 2 = d / N j^{-1/2}=\sqrt{d/N} j − 1/2 = d / N , so
Λ ( d ) d ⋅ d N = Λ ( d ) N . \frac{\Lambda(d)}{\sqrt{d}}\cdot\sqrt{\frac{d}{N}}=\frac{\Lambda(d)}{\sqrt{N}}. d Λ ( d ) ⋅ N d = N Λ ( d ) .
The factor d \sqrt{d} d cancels exactly, so every divisor counts by its Λ \Lambda Λ alone. The weights j − 1 / 2 j^{-1/2} j − 1/2 in the definition of C 2 C_2 C 2 are the ones that make this happen. Summing, Λ ( 2 ) + Λ ( 3 ) + Λ ( 4 ) = log 2 + log 3 + log 2 = log 12 \Lambda(2)+\Lambda(3)+\Lambda(4)=\log2+\log3+\log2=\log12 Λ ( 2 ) + Λ ( 3 ) + Λ ( 4 ) = log 2 + log 3 + log 2 = log 12 , and in general ∑ d ∣ N Λ ( d ) = log N \sum_{d\mid N}\Lambda(d)=\log N ∑ d ∣ N Λ ( d ) = log N : Chebyshev’s identity log = Λ ∗ 1 \log=\Lambda*1 log = Λ ∗ 1 is built into the cross-energy.
The four terms at $N=12
With ε = 0.003 \varepsilon=0.003 ε = 0.003 ,
− 34.724 = 7.873 ⏟ zeros − 3.654 ⏟ pole − 38.943 ⏟ Gamma − 38.943 ⏟ primes , -34.724=\underbrace{7.873}_{\text{zeros}}-\underbrace{3.654}_{\text{pole}}-\underbrace{38.943}_{\text{Gamma}}-\underbrace{38.943}_{\text{primes}}, − 34.724 = zeros 7.873 − pole 3.654 − Gamma 38.943 − primes 38.943 ,
with a residual of 10 − 7 10^{-7} 1 0 − 7 .
Pole. 2 e ε 2 / 4 ( H 11 + 1 − 1 12 ) = 2 ( 3.0199 + 0.9167 ) 2e^{\varepsilon^2/4}(H_{11}+1-\frac{1}{12})=2(3.0199+0.9167) 2 e ε 2 /4 ( H 11 + 1 − 12 1 ) = 2 ( 3.0199 + 0.9167 ) . It comes from the pole of ζ \zeta ζ at s = 1 s=1 s = 1 , the source of the main term x x x in ψ ( x ) = x − … \psi(x)=x-\ldots ψ ( x ) = x − … . In terms of the cross-energy it is C 2 F R ( 12 , 0 ) = X 11 ( 1 ) + 1 12 X 11 ( 0 ) C_2^{\mathrm{FR}}(12,0)=X_{11}(1)+\frac{1}{12}X_{11}(0) C 2 FR ( 12 , 0 ) = X 11 ( 1 ) + 12 1 X 11 ( 0 ) : the integers below 12 seen from 12 with all phases removed. It is the average harmony of the integers and contains no arithmetic.
Gamma. It comes from the factor π − s / 2 Γ ( s / 2 ) \pi^{-s/2}\Gamma(s/2) π − s /2 Γ ( s /2 ) of the functional equation, the place at infinity in Weil’s language. It is a smooth integral, with no arithmetic, and it corrects for the growth 1 2 π log γ 2 π \frac{1}{2\pi}\log\frac{\gamma}{2\pi} 2 π 1 log 2 π γ of the mean density of zeros. Over 2 ≤ N ≤ 100 2\le N\le100 2 ≤ N ≤ 100 it behaves like − ( log N + 1 ) -(\log N+1) − ( log N + 1 ) , while the pole behaves like 2 log N + 3 2\log N+3 2 log N + 3 .
Primes. Exactly log 12 / ( π ε ⋅ 12 ) = 2.4849 / 0.06381 = 38.94 \log12/(\sqrt{\pi}\,\varepsilon\cdot12)=2.4849/0.06381=38.94 log 12/ ( π ε ⋅ 12 ) = 2.4849/0.06381 = 38.94 : the three resonant divisors. The factor 1 / ( π ε ) 1/(\sqrt{\pi}\,\varepsilon) 1/ ( π ε ) is the height of a Gaussian peak; the finer the resolution, the taller and narrower the peak.
Zeros. What is left: the chord of 12 played at the 1517 zeros. It is large and negative because it mirrors the prime term. The zeros carry the information of the primes with the opposite sign, over the common background of pole and Gamma.
The resolution and its cost
The parameter ε \varepsilon ε does two things at once. On the zeros, e − ε 2 γ 2 e^{-\varepsilon^2\gamma^2} e − ε 2 γ 2 switches off the zeros above about 6 / ε 6/\varepsilon 6/ ε (here 2000, which is why 1517 zeros suffice). On the primes, it turns each resonance into a peak of width about ε \varepsilon ε on the logarithmic scale. The weight must be Gaussian, or at least analytic: Cramér’s weight e − ∣ γ ∣ y e^{-|\gamma|y} e − ∣ γ ∣ y is not, and with it the pole and Gamma terms do not separate cleanly. To tell log N \log N log N from log ( N + 1 ) \log(N+1) log ( N + 1 ) one needs ε ≲ 1 / ( 4 N ) \varepsilon\lesssim1/(4N) ε ≲ 1/ ( 4 N ) , hence zeros up to height about 24 N 24N 24 N . Seeing the primes up to x x x through the zeros costs of the order of x x x zeros. The duality is exact, but it is not cheap.
7. From log N \log N log N to Λ ( N ) \Lambda(N) Λ ( N ) . A ε ( N ) A_\varepsilon(N) A ε ( N ) returns the sum over all divisors, and Möbius inversion keeps N N N alone: for N = 12 N=12 N = 12 , log 12 − log 6 − log 4 + log 2 = 0 \log12-\log6-\log4+\log2=0 log 12 − log 6 − log 4 + log 2 = 0 ; for N = 8 N=8 N = 8 , log 8 − log 4 = log 2 \log8-\log4=\log2 log 8 − log 4 = log 2 ; for N = 7 N=7 N = 7 , log 7 \log7 log 7 . With ε = 0.003 \varepsilon=0.003 ε = 0.003 and N ≤ 60 N\le60 N ≤ 60 every prime power appears with its value and every other integer gives 0, to 3.7 ⋅ 10 − 3 3.7\cdot10^{-3} 3.7 ⋅ 1 0 − 3 (Figure 10 ).
Figure 10. The primes from the 1517 zeros of ζ \zeta ζ below 2000, ε = 0.003 \varepsilon= 0.003 ε = 0.003 . (a) The single-frequency form of Proposition 11.3, pole + Gamma − zeros at u = log x u = \log x u = log x , scaled by 2 π ε x 2\sqrt{\pi\varepsilon}\sqrt{x} 2 π ε x : a peak of height Λ ( n ) \Lambda(n) Λ ( n ) (red bars) at every prime power n ≤ 61 n \le61 n ≤ 61 and nothing elsewhere. This is Cramér’s function [26 ] with a Gaussian in place of Abel’s weight. (b) A ε ( N ) A_\varepsilon(N) A ε ( N ) against log N \log N log N , 2 ≤ N ≤ 60 2 \le N \le60 2 ≤ N ≤ 60 . (c) Möbius inversion of A ε A_\varepsilon A ε against Λ ( N ) \Lambda(N) Λ ( N ) .
8. Near coincidences: where the difficulty lives. Up to N ≈ 70 N\approx70 N ≈ 70 the fractional intervals N / j N/j N / j fall far from every prime, and their peaks touch nothing: R ε ( N ) R_\varepsilon(N) R ε ( N ) is negligible. Beyond that, some N / j N/j N / j comes close to a prime n n n without equalling it (n j ≈ N nj\approx N nj ≈ N , n j ≠ N nj\ne N nj = N ), and the Gaussian fires a little. This is the upward drift of A ε A_\varepsilon A ε in Figure 11 (d), 0.58 at N = 100 N=100 N = 100 . These near coincidences carry the fine-scale information of the primes: how they sit against the fractions of integers. Part 3 [CE3] shows that the positivity of Weil’s form at the windows of the zeros lives in exactly these terms. Controlling them requires information of the strength of pair correlation.
9. What is classical and what is the cross-energy’s. The explicit formula, Cramér’s function, Landau’s formula, Chebyshev’s identity and Möbius inversion are classical. What C 2 C_2 C 2 contributes is the double reading. The same object detects the zeros as N N N runs over the integers, because its wave vanishes there, and returns log N \log N log N as it runs over the zeros. The weights j − 1 / 2 j^{-1/2} j − 1/2 of its definition are exactly those that make the divisor sum come out, and its pole term is the cross-energy itself at s = 0 s=0 s = 0 . The sum is linear and holomorphic in the zeros, so an off-line zero does not break it, and it does not see β \beta β . Seeing β \beta β requires the sign at the filter or the growth of a mean square (Part 3, § 8 ).
What is proved, what is conditional, what is open
Proved:
Lemma 2.1 and Proposition 2.2 (the sieve structure);
Proposition 2.3 (Legendre’s main term is off by the factor 2 e − γ E 2e^{-\gamma_E} 2 e − γ E );
Propositions 4.2 and 4.3 (the race and its variance);
Proposition 5.1 and Theorem 5.2 (the margin of χ − 3 \chi_{-3} χ − 3 and its criterion);
Theorem 6.1 (the exact weighted race) and Corollary 6.2;
Theorem 10.1;
Proposition 11.1 (the three forms as a Dirichlet series);
Proposition 11.3 (the explicit formula for the cross-energy; unconditional).
Proved by citation: Theorem 7.1 (Shiu). Computed: the four terms of Proposition 11.3 for $2\le N\le 100 (Figure 10 and Figure 11 , Table 7 ); Proposition 5.4, the transition statistics, the zeros of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) below 400, the densities, and the twin-prime and Goldbach statistics.
Conditional: Theorem 11.2 (RH and GRH; the version with x ρ − 1 / 2 x\rho^{-1/2} x ρ − 1/2 is unconditional); the conclusions of Theorem 6.1 under GRH; Theorem 4.4 (GRH and LI); the energy statements of Proposition 5.5 (GRH).
Open: GRH for L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) , which is as hard as RH; the twin prime and Goldbach conjectures; Conjectures 8.1 and 9.2.
The 6 k ± 1 6k\pm1 6 k ± 1 structure organizes these questions clearly: the two series are the two characters modulo 3. It does not make any of them easier.
Data and code
All numbers and figures are produced by the Python scripts in the ancillary archive:
lfun.py: L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) via the Hurwitz zeta function, derivatives by Cauchy’s formula, and Z χ Z_{\chi} Z χ ;
zeros.py: the zeros of L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) ;
margin_chi.py: M χ M_{\chi} M χ at all prime powers up to 2 27 2^{27} 2 27 ;
bias.py: V χ V_{\chi} V χ and the density;
consec.py: transitions, runs and the limiting density;
race_data.py: the characterization check, Mertens’ factor, the counts, twins, Goldbach and g n g_n g n ; fix_hl_10nov.py recomputes the two Hardy–Littlewood integrals by Gauss–Legendre quadrature (the first version used a uniform trapezoid rule, which was 0.15% too high at 10 8 10^8 1 0 8 for twins and 0.5% too high for Goldbach) and redraws Figure 7 and Figure 8 ;
figures.py: the figures;
(version 2, folder v2_dual) ceros.py: zeros of ζ \zeta ζ and L ( s , χ − 3 ) L(s,\chi_{-3}) L ( s , χ − 3 ) below 2000; dual.py, dualidad_C2.py: Theorem 11.2 and Table 6 ; reconstruir.py: Figure 9 ;
(version 3, folder v3_explicit) cramer_C2.py: Figure 10 ; c2_explicit_terms.py: Figure 11 and the numbers of § 11.3 ; c2_regimes.py: Table 7 .
Figure 7. Twin primes ( 6 k − 1 , 6 k + 1 ) (6k-1,6k+1) ( 6 k − 1 , 6 k + 1 ) up to 2 27 2^{27} 2 27 against the Hardy–Littlewood prediction.
Figure 8. Goldbach representations for even N ≤ 2 ⋅ 10 5 N \le2 \cdot10^{5} N ≤ 2 ⋅ 1 0 5 . (a) r ( N ) log 2 N / N r(N)\log^{2}N/N r ( N ) log 2 N / N by N N N mod 6: the multiples of 6 form a band at twice the height. (b) r ( N ) r(N) r ( N ) divided by the Hardy–Littlewood prediction, by class.
All the scripts listed are in the archive; c2_regimes.py was rewritten on 10 November 2026 and reproduces Table 7 to the digits printed.
Use of AI assistance
The 6 k ± 1 6k\pm1 6 k ± 1 framework and the questions are the author’s [11 ] . Claude (Anthropic) was used as a research and writing aid: to derive and check proofs, to write and run the computations, to search the literature, and to draft text and figures. The author checked the results and is responsible for the content. UNIVERSIDAD EUROPEA DE VALENCIA, VALENCIA, SPAIN
Email address: pedrojesus.caceres@universidadeuropea.es