WorksMathematics
Cross-Energy of Dirichlet Partial Sums. Part 38: The energy of the Chebyshev race: an explicit unconditional floor for the prime race between the lanes
Abstract
Let be the Chebyshev race between the two prime lanes (the prime counted, by the congruence mod , in the lane). We study the race as an energy and establish three things (the energy law uses two estimates imported from the case; see Proposition~\ref{prop:cramer}). First, an elementary ledger identity: the entire bias of the race is the bookkeeping of prime squares, which all land in the lane ; subtracting the ledger turns a walk with zero sign changes up to into one with ( if every passage between and at a prime is counted). Second, the mean energy of the normalized race signal admits an explicit unconditional lower bound for its upper limit, which we call the floor, the sum running over the nontrivial zeros of with multiplicity, and the limit exists and attains the floor if and only if the Riemann hypothesis holds for with all zeros simple. The constant is known: under GRH it is the variance of the limiting distribution of Rubinstein and Sarnak for (four times smaller than in their normalization ), and its closed form is that of Fiorilli and Martin (there under GRH); it is also the variance of Part~37, on the race, where the prime-square mechanism of the bias is identified; what is added here is the unconditional floor with its equality case and exponential-growth law, the ledger correction of the counting race, and the exact measurement. The constant is the exact analogue, for the prime race, of the Báez-Duarte constant of the Nyman–Beurling criterion. Third, we measure: from all prime powers up to , by exact piecewise integration, the cumulative mean energy is at and lies to above for . This is consistent with the theorem and does not test it: the floor is a statement about an upper limit, obtained from the dichotomy between GRH and its failure, and means over single decades fall below ( on , on ). The second-order term is (between and ), the race analogue of the second-order constant of the prime energy. The proofs of the energy law transplant the energy law for to , where the absence of a pole simplifies every step.
Part 38 of the book-series Cross-Energy of Dirichlet Partial Sums (forty-seven parts, Parts 0–46; block VII: Möbius cancellation and prime races). Part 0 is the guide. In book version 1 (2 November 2026) this was Part 35; the present numbering is that of book version 2 (10 November 2026).
Introduction: the race, the ledger, and the constant
Among the primes other than 3, every one lies in one of the two residue lanes mod 3 — for these are the familiar lanes and , and the prime 2 joins the first by . The two lanes are not symmetric in the data: writing
where is the nontrivial character mod 3, the lane leads almost always. This is Chebyshev’s bias [4] in its modulus-three form — exactly the race of Bays and Hudson [3]. The lead is overwhelming in any computable range: in our data throughout — zero sign changes — and the first reversal is known to occur only at [3]. Yet the lead changes sign infinitely often [9], and under the Riemann hypothesis for together with linear independence of the zeros, the logarithmic density of the set is [11].
This note looks at the race through two elementary moves and one constant.
The ledger. The bias is not a mystery about primes; it is bookkeeping about their powers. The square of every prime lands in the lane , because . In the Chebyshev–von Mangoldt accounting, where the natural object is , the lane therefore carries the full weight of the prime squares, and the prime race inherits the debt with the opposite sign. Subtracting the ledger — the explicit term — removes the entire first-order bias: the corrected race
changes sign 15,329 times up to (§ 2, Figure 1, left). The operation “subtract the primes, add their powers” is exactly the operation that makes the race fair.

Figure 1. Left: the race , the ledger , and the fair race , to . Centre: the normalized signal , the superposition of the modes of the zeros of . Right: the running mean energy against the floor of Theorem 1.1.
The energy. Once the drift is understood, the fluctuation remains, and the right way to measure a fluctuation driven by zeros is its mean energy. Let
Because has no pole, is pure oscillation: a superposition of the modes , one per nontrivial zero. Its mean energy obeys an exact law with an explicit, unconditional lower bound for its upper limit.
The constant. Define
the sum over the nontrivial zeros of , counted with multiplicity; the series converges absolutely, with no hypothesis. In § 3 we evaluate it in closed form,
using and . The constant plays, for the race, precisely the role that the Báez-Duarte constant (zeros of ) plays in the Nyman–Beurling criterion and in Cramér’s mean square of the prime-counting error [1, 2, 5]: it is an unconditional lower bound for the upper limit of a mean energy, attained as a limit exactly at “RH and simple zeros”. The constant is not new: under GRH it is the variance of the limiting distribution of the race [11], and the closed form (1) is the case of the formula of Fiorilli and Martin for that variance [7 Sect. 3].
Theorem 1.1 (race energy law; proved in Section 4). With as above and :
Remark 1.2 (what the floor is). Part (i) is proved by a dichotomy. If GRH holds for , the limit exists and is at least (Proposition 4.1); if it fails, the energy grows exponentially (Proposition 4.2). So (i) is a statement about the upper limit only. It gives no inequality at any finite , and no finite computation can confirm or refute it. Under GRH with simple zeros the mean tends to , and nothing keeps means over windows above ; in the data they fall below it (§ 5).
The proof transplants the energy law of the author’s cross-energy series—the growth-rate theorem and the energy law for , [12 Theorem 2.2, Theorem B and Corollary 2.3], consolidated in [CP, §3]—from to . The transplant is a simplification, not a generalization: the pole of , which there had to be subtracted, is absent here, and every step shortens.
Finally we measure. From all prime powers up to , with the integral computed exactly between consecutive prime-power jumps, the mean energy is
against : above it by 6–11% (nothing forces this at finite ; see Remark 1.2), and with the excess times hovering between 0.09 and 0.13—the race analogue of the second-order constant determined for in [13 Theorem 5 and Corollary 9] (closed form without zeros, certified under RH; see also [CP, §3]) (§ 5).
Relation to the author’s earlier work. This part continues two earlier parts of the series, and repeats part of each. Part 37, on the race [14], already identifies the prime squares as the cause of the bias (in the normalized -race they shift the side by exactly 1, [14 Prop. 4.2]), evaluates the constant of this part in closed form—there it is the variance , [14 Prop. 4.3], with the same Hadamard proof as our Proposition 3.1—states that under GRH with simple zeros it is the mean square of , and measures that mean square on . The energy law that we transplant, with its unconditional growth-rate part, is the author’s law for [CE5, Theorem 2.2, Theorem B, Corollary 2.3], and the second-order constant we compare with is that of [13 Theorem 5, Corollary 9]. The -row of the same instrument is the energy gauge, now a section of Part 6 [13].
What is new, and what is not. The bias mechanism (the prime squares) is classical, implicit in every treatment since Chebyshev and explicit in the framework of Rubinstein and Sarnak [11]; the first-order debiasing is folklore, and the mechanism is already in Part 37 [14]. The distribution theory of races under GRH and linear independence is [11]; we assume neither. The constant and its closed form (1) are known [11, 7]; they are also [14 Prop. 4.3]. What we believe is new here is: the unconditional floor with the equality characterisation and the exponential-growth law (Theorem 1.1), which in Part 37 [14] appear only under GRH and for a different signal; the ledger correction of the counting race, , with its sign-change count; and the exact piecewise measurement of the cumulative race energy from against the floor, with the measured second-order constant. Unconditional lower bounds of comparable strength for related mean values go back to the comparative theory of Knapowski and Turán and to Pintz’s mean-value theorems; we have not found the floor-with-equality characterization stated outside the author’s series. Theorem 1.1 is a reformulation that locates GRH for as a statement about one number attached to one signal.
Place in the book. This is Part 38 of the series, in block VII (Möbius cancellation and prime races). It builds on Part 5 (the growth-rate theorem and the energy law, transplanted here from to ), Part 6 (the second-order constant and the energy gauge, which is the -row of the same instrument) and Part 37 (the prime squares as the mechanism of the bias, and the constant ). It is used by Part 6, whose energy-gauge section is its -analogue.
The ledger identity and the fair race
Everything in this section is elementary and unconditional. Write
with all characters mod 3, so that for .
Lemma 2.1 (the ledger). For ,
the sum having at most terms, the even-index terms carrying the principal-character weight ( for ) and the odd-index terms the character weight. Consequently
and, by partial summation, with ,
Proof. by grouping prime powers, and is principal for even , equal to for odd ; the principal-character differs from by the single prime 3. The second display keeps the term and absorbs into the error. The third is partial summation against , each prime power receiving the weight , which is the definition of ; replacing by its term costs . □
The content is the sign pattern: is driftless (it is the pure zero oscillation; see (3) below), while the race carries the drift inherited from the squares. The data agree with the accounting to the hilt:
| up to | sign changes | size at |
| raw race | 0 | +420 |
| ledger | — | 614.5 |
| fair race | 15,329 | −194.5 |
Table 1.
The raw race never trails in a hundred million integers — consistent with the first known reversal at [3] — and the corrected race changes sign fifteen thousand times (Figure 1, left). The count depends on the convention. jumps at the primes and at the squares of primes and takes the value 0 often (at 10,820 primes). Counting the changes of sign of over all its jump points, with the zeros skipped, gives 15,329. Counting every passage between and at the primes, so that a touch of zero counts twice, gives 21,329, the number printed in the first version of this part. One subtraction, dictated by Lemma 2.1, is the difference between a loaded coin and a fair one.
The constant 3 in closed form
Proposition 3.1. Let , over the nontrivial zeros of with multiplicity. The series converges absolutely, and
where is the completed -function.
This is [14], Prop. 4.3; we repeat the proof, adding the absolute convergence and the absence of real zeros in .
Proof. Absolute convergence: and the zero-counting function of grows like , so the sum over converges; there are no zeros with since on (indeed is a sum of positive terms). is odd and primitive, so is entire of order one, its zeros are exactly the nontrivial zeros of , and Hadamard’s factorization gives
the sum absolutely and locally uniformly convergent in the paired sense. At the summands vanish termwise, so . At ,
The functional equation with and gives, on taking logarithmic derivatives at , . Hence and . Finally
since , which is the stated formula.
For the numerical value: is classical (Dirichlet). We computed by pairing consecutive terms —after pairing the series converges absolutely, the general term being —summing pairs and correcting with the integral tail; the same scheme reproduces to 16 digits, and gives
whence , reliable to the printed digits (paired tails of first order at pairs). □
Remark 3.2. A closed form for in terms of follows from the Lerch–Kronecker limit formulas; we do not need it. We record one curiosity with a warning: while the Báez-Duarte constant for is ; the near-coincidence of digits is numerical accident, not identity — the two differ in the fourth decimal.
The race energy law
We now prove Theorem 1.1, following the energy law of [CP, §3] step by step; we keep the proofs short where the transplant is verbatim and spell out what changes. Throughout, runs over the nontrivial zeros of with multiplicity , and .
The explicit formula for has no main term, because has no pole [6 §19–20]: for ,
and in the limit in the symmetric sense. On the critical line each zero contributes a unimodular mode of energy .
Proposition 4.1. If all nontrivial zeros of lie on the critical line, then
and the value equals if and only if all zeros are simple.
Proof. This is Cramér’s argument [5] in the form of [12 Prop. 2.1] and [CP, Prop. 3.1(a)] (for and simple zeros the statement is in [14 Prop. 4.3]), with one simplification: no pole term has to be removed from . Group the zeros by height: in mean square, where for each distinct ordinate the coefficient collects the multiplicity, . The system is orthogonal in mean on growing intervals and converges or diverges with ; the standard almost-periodic mean-value theorem gives the limit . Two quantitative inputs are imported from [CP, §3], where they are established for using only , and — all three available for : the mean-square truncation of the explicit formula, and the off-diagonal bound of Montgomery–Vaughan [10]. The sum is finite, because and . On the line, , so
by , with equality precisely when every . Status. The proof is by import: the two quantitative inputs are proved in [CP, §3] for , and we assert, without rewriting those proofs, that they use only the three properties listed. A reader who wants a self-contained proof must check that transfer.
Proposition 4.2. Unconditionally, with and :
(a) If for every , then has no zeros in .
(b) If , then ; in particular .
Proof. (a) For ,
with no pole term on the right — this is the transplant’s one structural simplification. Writing , the left side is the Laplace transform . If , Cauchy–Schwarz bounds the transform for by , locally uniformly, so the left side is analytic there; hence continues analytically to and has no zeros there. Letting gives (a).
(b) is the Laplace–Stieltjes abscissa argument of [12 Theorem 2.2] ([CP, Thm. 3.2]), unchanged: the abscissa of satisfies ; the bound gives , and would continue past a zero by the argument of (a).
:::
Proof of Theorem 1.1. (iii) is Proposition 4.2(b). For (i) and (ii): if , the energy grows exponentially, so the lim sup in (i) is and the limit in (ii) does not exist finitely — and on the right side of (ii) a zero off the line exists, so both sides of the equivalence fail. If , all zeros are on the line (the zeros are symmetric under ), and Proposition 4.1 applies: the limit exists, equals , with equality iff all zeros are simple. This proves (ii), and (i) in the remaining case.
Remark 4.3. As with the C energy law for , the theorem is a reformulation: proving that the race energy is bounded is proving the Riemann hypothesis for . Its value is the same as there — it converts a sign problem into a size problem with an explicit constant, and the constant can be measured against data (§ 5).
Remark 4.4 (general modulus). Nothing is special to except the tidiness of the lanes. For a primitive character mod with parity (), the same Hadamard argument gives, for the energy of , , the floor
with in the even case, and Theorem 1.1 holds verbatim with and GRH for . The ledger generalizes too: is the square character, so the biased lanes are the squares modulo , which is Chebyshev’s bias in the generality of [11]. For itself, with the pole subtracted, the same instrument is the energy gauge of Part 6 [13], whose slope constant is .
The measurement
We computed every prime power with its weight (5,762,859 events), the running , and the energy integral exactly between events: on a maximal interval where is constant,
so is a finite exact sum (in double precision) with no quadrature error; the integral starts at , and on . The results:
| mean energy | 0.12553 | 0.12080 | 0.12086 | 0.12121 | 0.12015 |
| excess : | 0.113 | 0.087 | 0.105 | 0.129 | 0.127 |
Table 5.
Three remarks, in the spirit of strict bookkeeping. First, the cumulative mean lies above for every , between 0.1181 and 0.1273. This is consistent with Theorem 1.1 and is not a test of it: part (i) concerns the upper limit and holds whatever the data to are (Remark 1.2). Means over windows are not bounded below by : is 0.1019, 0.1211, 0.1233, 0.1127 on the four decades from to , and 0.1148 on . What the data can test is the closed form (1) in the conditional sense: under GRH with simple zeros the mean tends to , and the window is within 1.4% of it. (The table uses and includes the last interval up to ; the first version stopped at the last prime power below , which gave 0.12544 at .) Second, the excess times is roughly stable, between 0.09 and 0.13 over four decades: this is the signature of a finite- expansion with a second-order constant and an almost-periodic interference term , exactly parallel to the expansion
, established for under RH, simple zeros and a spacing condition in [13 Theorem 5] (closed form without zeros and certified value in [13 Prop. 8, Cor. 9]; see also [CP, §3]); we record as measured, with the conditional derivation deferred. Third, is much smaller than ; we have no explanation for this.
For comparison, [14 §4] measures the variance of the normalized -race, sampled uniformly in on , as 0.1124; the present measurement is a different functional (the cumulative energy from , computed exactly), and both place the race energy within about 10% of .
The sign-change counts of § 2 (0 raw, 15,329 debiased, to ) and Figure 1 complete the picture: drift explained by the ledger, fluctuation measured by the energy, energy measured against .
What this does and does not do
The theorem converts “GRH for with simple zeros” into the statement that one number attached to the prime race equals one computable constant. It does not make the number easier to bound: as in the case [CP, §3], proving is the Riemann hypothesis for this -function, and nothing in our measurement to — four decades within 12% of — constitutes evidence that can distinguish GRH from a zero of real part 0.500001. The distributional theory of races (densities, comparisons between moduli) remains that of Rubinstein–Sarnak [11] and its descendants [8], which assume GRH and linear independence; our floor assumes nothing, and characterises rather than estimates. We do not prove the Riemann hypothesis for .
Data and code
All computations are reproducible from the ancillary scripts: race.py (sieve to , the race, the ledger, the sign-change counts in both conventions, the exact piecewise energy and the window means; revised 10 November 2026), kappa3.py (the paired series for , and ), racefig.py (Figure 1); recheck_10nov.py (the sign-change counts in the two conventions, the energy with exact end points, the window means). Sums are accumulated in double precision over exact integer event positions; the series for and are validated against the closed form to 16 digits.
Use of AI assistance
The research programme and the choice of objects are the author’s. Claude (Anthropic) was used as a research and writing aid: to derive and check the lemmas, to write and run the computations, and to draft text and figures. The author checked all results and is responsible for the content.
References
Universidad Europea de Valencia, Valencia, Spain
Email address: [email protected]
References
- [1]L. Báez-Duarte, A strengthening of the Nyman–Beurling criterion for the Riemann hypothesis, Atti Accad. Naz. Lincei Rend. Lincei Mat. Appl. 14 (2003), 5–11.
- [2]L. Báez-Duarte, M. Balazard, B. Landreau, E. Saias, Notes sur la fonction ζ de Riemann, 3. Adv. Math. 149 (2000), 130–144.
- [3]C. Bays, R. H. Hudson, Details of the first region of integers x with π₃,₂(x) < π₃,₁(x), Math. Comp. 32 (1978), 571–576.
- [4]P. L. Chebyshev, Lettre de M. le professeur Tchébychev à M. Fuss, sur un nouveau théorème relatif aux nombres premiers contenus dans les formes 4n+1 et 4n+3, Bull. Cl. Phys.-Math. Acad. Imp. Sci. St.-Pétersbourg 11 (1853), 208.
- [5]H. Cramér, Ein Mittelwertsatz in der Primzahltheorie, Math. Z. 12 (1922), 147–153.
- [6]H. Davenport, Multiplicative Number Theory, 3rd ed., Springer, 2000.
- [7]D. Fiorilli, G. Martin, Inequities in the Shanks–Rényi prime number race: an asymptotic formula for the densities, J. reine angew. Math. 676 (2013), 121–212.arxiv.org/abs/0912.4908
- [8]A. Granville, G. Martin, Prime number races, Amer. Math. Monthly 113 (2006), 1–33.
- [9]J. E. Littlewood, Sur la distribution des nombres premiers, C. R. Acad. Sci. Paris 158 (1914), 1869–1872.
- [10]H. L. Montgomery, R. C. Vaughan, Hilbert’s inequality, J. London Math. Soc. (2) 8 (1974), 73–82.DOI
- [11]M. Rubinstein, P. Sarnak, Chebyshev’s bias, Experiment. Math. 3 (1994), 173–197.
- [12]P. Caceres, Cross-Energy of Dirichlet Partial Sums. Part 5: The energy of the primes, preprint, 2026.
- [13]P. Caceres, Cross-Energy of Dirichlet Partial Sums. Part 6: Second-order asymptotics and limiting fluctuations of the prime energy, preprint, 2026.
- [14]P. Caceres, Cross-Energy of Dirichlet Partial Sums. Part 37: The 6k ± 1 race: sieve structure, Chebyshev’s bias and a GRH-equivalent inequality, preprint, 2026.