pith. sign in

arxiv: 2507.13504 · v2 · submitted 2025-07-17 · 🧮 math.NT

Correlations of error terms for weighted prime counting functions

Pith reviewed 2026-05-19 03:43 UTC · model grok-4.3

classification 🧮 math.NT MSC 11M2611N05
keywords Riemann hypothesisprime counting functionserror termslogarithmic densitiesweighted sumsMertens functionszeta zerossign correlations
0
0 comments X

The pith

Persistent inequalities between normalized error terms of prime counting functions are equivalent to the Riemann hypothesis.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper establishes that certain persistent inequalities between pairs of normalized error terms for prime counting functions and their weighted versions are equivalent to the Riemann hypothesis. It further computes the logarithmic densities of the sets where these error terms take prescribed signs, under the assumptions of the Riemann hypothesis and the linear independence of the imaginary parts of the zeros. This reveals correlations between the error terms that are not visible in their individual limiting distributions. A sympathetic reader would care because these results link explicit sign patterns in prime counting to the location of zeta zeros, offering potential new approaches to verifying or understanding the hypothesis.

Core claim

The paper shows that for certain pairs of normalized error terms, such as those associated with ψ(x) and the weighted sum involving Λ(n)/n, the inequality between them holds for all sufficiently large x if and only if the Riemann hypothesis is true. Assuming both the Riemann hypothesis and the linear independence of the positive imaginary parts of the zeta zeros, the authors calculate that the logarithmic density of the set where two specific error terms have the same sign is approximately 0.9865.

What carries the argument

The normalized error terms of the prime counting functions ψ(x), θ(x), π(x) and the Mertens weighted versions π_r(x), π_ℓ(x), together with their joint logarithmic distributions derived from the explicit formulae involving the zeros of the zeta function.

If this is right

  • If the Riemann hypothesis holds, then specific pairs of these error terms satisfy one always exceeding the other for large x.
  • The logarithmic densities for sign combinations of the error terms can be computed to high precision under the linear independence assumption.
  • These correlations supply finer information about the joint behavior than the separate limiting distributions of each error term.
  • The approach applies to other pairs among the standard and weighted prime counting functions.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • Numerical checks of the inequalities at extremely large x values could serve as an independent test for the Riemann hypothesis distinct from direct zero-finding methods.
  • The same correlation techniques might extend to error terms arising from other L-functions and their associated hypotheses.
  • The reported density near 0.9865 indicates strong but incomplete sign agreement, which could be compared against predictions from random matrix models of zeta zeros.

Load-bearing premise

The equivalence between the persistent inequalities and the Riemann hypothesis relies on the explicit formulae expressing the error terms as sums over the zeros of the zeta function.

What would settle it

A sufficiently large x at which one error term in a claimed pair exceeds the other would either falsify the equivalence or show that the Riemann hypothesis is false.

Figures

Figures reproduced from arXiv: 2507.13504 by Greg Martin, Reginald M. Simpson, Shubhrajit Bhattacharya.

Figure 1
Figure 1. Figure 1: Two manifestations of µ2. The left-hand graph shows the joint distribution of E ψ (x) and E πr (x), whose centre is (βψ, βπr ) = (0, 1); certain regions in the support of µ2 + (0, 1) are labeled with their densities from The￾orem 1.12(b). The right-hand graph shows the joint distribution of E ψ (x) and E ψr (x), whose centre is (βψ, βψr ) = (0, 0); certain regions in the support of µ2 are labeled with thei… view at source ↗
Figure 2
Figure 2. Figure 2: Two pairs of standard functions with equal bias factors within each pair. Each joint distribution is singular with support equal to the line y = x (perfect correlation) [PITH_FULL_IMAGE:figures/full_fig_p053_2.png] view at source ↗
Figure 3
Figure 3. Figure 3: Two pairs of reciprocal functions with equal bias factors within each pair. Each joint distribution is singular with support equal to the line y = x (perfect correlation). 53 [PITH_FULL_IMAGE:figures/full_fig_p053_3.png] view at source ↗
Figure 4
Figure 4. Figure 4: A pair of standard functions and a pair of reciprocal functions, with unequal bias factors within each pair. Each joint distribution is singular with support equal to a line y = x ± 1 (perfect correlation up to the bias factors) [PITH_FULL_IMAGE:figures/full_fig_p054_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: Two pairs consisting of one standard function and one reciprocal function, with unequal bias factors within each pair. Each joint distribution is absolutely continuous supported on a thin diagonal strip of (horizontal or vertical) width 2w. 54 [PITH_FULL_IMAGE:figures/full_fig_p054_5.png] view at source ↗
Figure 6
Figure 6. Figure 6: Two pairs consisting of one standard function and one reciprocal function. Each joint distribution is absolutely continuous supported on a thin diagonal strip of width 2w. In the left-hand graph, both bias factors equal 0; in the right-hand graph, the bias factors are nonzero with opposite signs. 55 [PITH_FULL_IMAGE:figures/full_fig_p055_6.png] view at source ↗
read the original abstract

Standard prime-number counting functions, such as $\psi(x)$, $\theta(x)$, and $\pi(x)$, have error terms with limiting logarithmic distributions once suitably normalized. The same is true of weighted versions of those sums, like $\pi_r(x) = \sum_{p\le x} \frac1p$ and $\pi_\ell(x) = \sum_{p\le x} \log(1-\frac1p)^{-1}$, that were studied by Mertens. These limiting distributions are all identical, but passing to the limit loses information about how these error terms are correlated with one another. In this paper, we examine these correlations, showing, for example, that persistent inequalities between certain pairs of normalized error terms are equivalent to the Riemann hypothesis (RH). Assuming both RH and LI, the linear independence of the positive imaginary parts of the zeros of $\zeta(s)$, we calculate the logarithmic densities of the set of real numbers for which two different error terms have prescribed signs. For example, we conditionally show that $\psi(x) - x$ and $\sum_{n\le x} \frac{\Lambda(n)}n - (\log x - C_0)$ have the same sign on a set of logarithmic density $\approx 0.9865$.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

1 major / 2 minor

Summary. The paper examines correlations between normalized error terms of standard prime-counting functions (e.g., ψ(x) − x) and weighted versions (e.g., ∑_{n≤x} Λ(n)/n − (log x − C_0)). It claims that persistent inequalities between certain pairs of these normalized errors are equivalent to the Riemann hypothesis. Assuming both RH and the linear independence of positive imaginary parts of ζ-zeros (LI), it computes logarithmic densities of sets where the errors have prescribed signs, including a conditional density ≈0.9865 for same-sign agreement on the cited pair.

Significance. If the equivalence holds, the work supplies a new structural characterization of RH via sign persistence of correlated error terms, extending known limiting logarithmic distributions to joint behavior. The conditional density calculations provide quantitative, falsifiable predictions under RH+LI that could be tested numerically or via further analytic work. Credit is due for focusing on correlations lost in the marginal limits and for the explicit numerical example.

major comments (1)
  1. [Abstract / equivalence claim] Abstract and equivalence theorem: the claim that persistent inequality (e.g., E_1(x) > E_2(x) for all sufficiently large x) is equivalent to RH requires showing that any zero ρ with Re(ρ) > 1/2 produces a sign violation along a sequence x → ∞. The explicit formulae differ—the first error receives a leading term ∼ x^ρ/ρ while the second (arising from the Dirichlet series −ζ′/ζ(s+1)) receives ∼ x^{ρ−1}/(ρ−1). After any normalization that equalizes the RH-scale amplitudes (division by x^{1/2} or rms factor), the off-line contribution to the second term is smaller by a factor ∼ x^{-1}. The manuscript must verify explicitly that this scaling difference, together with the chosen definition of persistence, still forces a sign change; otherwise the contradiction step fails.
minor comments (2)
  1. [Numerical results] The numerical density is stated as ≈0.9865; supplying additional digits, the precise truncation of the zero sum, and the integration method used to obtain the density would aid reproducibility.
  2. [Notation and definitions] Define the precise normalizations (including any rms or logarithmic factors) for the error terms E_1(x) and E_2(x) at the first appearance, before the equivalence statements.

Simulated Author's Rebuttal

1 responses · 0 unresolved

We thank the referee for the careful reading and for highlighting the need to make the contradiction argument fully explicit in the equivalence theorem. We address the concern directly below.

read point-by-point responses
  1. Referee: Abstract and equivalence theorem: the claim that persistent inequality (e.g., E_1(x) > E_2(x) for all sufficiently large x) is equivalent to RH requires showing that any zero ρ with Re(ρ) > 1/2 produces a sign violation along a sequence x → ∞. The explicit formulae differ—the first error receives a leading term ∼ x^ρ/ρ while the second (arising from the Dirichlet series −ζ′/ζ(s+1)) receives ∼ x^{ρ−1}/(ρ−1). After any normalization that equalizes the RH-scale amplitudes (division by x^{1/2} or rms factor), the off-line contribution to the second term is smaller by a factor ∼ x^{-1}. The manuscript must verify explicitly that this scaling difference, together with the chosen definition of persistence, still forces a sign change; otherwise the contradiction step fails.

    Authors: The normalizations are chosen individually for each error term so that both have comparable (O(1)) amplitudes under RH. Specifically, the normalized first error is (ψ(x) − x)/x^{1/2}, while the normalized second error is x^{1/2} ⋅ (∑_{n≤x} Λ(n)/n − (log x − C_0)). Under this choice the contribution of an off-line zero ρ with Re(ρ) = σ > 1/2 is of order x^{σ−1/2} in both normalized quantities: the second receives the extra factor x^{1/2} ⋅ x^{ρ−1} = x^{ρ−1/2}. The leading coefficients 1/ρ and 1/(ρ−1) are nonzero and linearly independent over the reals for any such ρ, so their combination in the difference does not vanish. Consequently the dominant oscillatory term grows without bound and changes sign along a suitable sequence x_n → ∞ (chosen so that the argument t log x aligns with the phase that drives the difference negative). This forces infinitely many violations of the persistent inequality. We will revise the manuscript to include an explicit verification of these coefficients and the choice of sequence in the proof of the equivalence. revision: yes

Circularity Check

0 steps flagged

No circularity: equivalence and densities derived from explicit formulae under external assumptions

full rationale

The paper's central claims rest on explicit formulae for the weighted prime-counting error terms, followed by analysis of their correlations and sign patterns. The equivalence of persistent inequalities to RH is obtained by showing that an off-line zero would violate the inequality for a sequence of x tending to infinity, using the differing contributions in the explicit formulae; this is a direct analytic argument rather than a reduction to fitted parameters or self-referential definitions. The logarithmic densities (e.g., ≈0.9865) are computed conditionally on the external conjectures RH and LI, which are stated as assumptions and not derived inside the paper. No self-citation is load-bearing for the main results, no ansatz is smuggled via prior work, and no known empirical pattern is merely renamed. The derivation chain is therefore self-contained against external benchmarks and does not collapse by construction.

Axiom & Free-Parameter Ledger

0 free parameters · 2 axioms · 0 invented entities

The central results rest on two standard but unproved conjectures in analytic number theory; no new free parameters or invented entities are introduced.

axioms (2)
  • domain assumption Riemann hypothesis
    Invoked to obtain the logarithmic densities of sets where error terms have prescribed signs.
  • domain assumption Linear independence of the positive imaginary parts of the zeros of ζ(s) (LI)
    Assumed together with RH to compute the explicit densities such as ≈0.9865.

pith-pipeline@v0.9.0 · 5757 in / 1349 out tokens · 47574 ms · 2026-05-19T03:43:26.028587+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

18 extracted references · 18 canonical work pages · 1 internal anchor

  1. [1]

    Abramowitz and I

    M. Abramowitz and I. A. Stegun. Handbook of mathematical functions with formulas, graphs, and mathematical tables, volume No. 55 of National Bureau of Standards Applied Mathematics Series . U. S. Government Printing Office, Washington, DC, 1964

  2. [2]

    Akbary, N

    A. Akbary, N. Ng, and M. Shahabi. Limiting distributions of the classical error terms of prime number theory. Q. J. Math. , 65(3):743–780, 2014

  3. [3]

    Bays and R

    C. Bays and R. H. Hudson. A new bound for the smallest x with π(x) > li(x). Math. Comp. , 69(231):1285–1296, 2000

  4. [4]

    J. B¨ uthe. On the first sign change in Mertens’ theorem. Acta Arith., 171(2):183–195, 2015

  5. [5]

    P. Dusart. In´ egalit´ es explicites pourψ(X), θ(X), π(X) et les nombres premiers. C. R. Math. Acad. Sci. Soc. R. Can. , 21(2):53–59, 1999

  6. [6]

    Feuerverger and G

    A. Feuerverger and G. Martin. Biases in the Shanks–R´ enyi prime number race. Experimental Mathe- matics, 9(4):535–570, 2000

  7. [7]

    Lamzouri

    Y. Lamzouri. A bias in Mertens’ product formula. Int. J. Number Theory , 12(1):97–109, 2016. 51

  8. [8]

    J. P. S. Lay. Sign changes in Mertens’ first and second theorems, 2015. arXiv URL: https://arxiv. org/abs/1505.03589

  9. [9]

    J. E. Littlewood. Sur la distribution des nombres premiers. Comptes Rendus de l’Acad. Sci. Paris , 158:1869–1872, 1914

  10. [10]

    Martin and N

    G. Martin and N. Ng. Inclusive prime number races. Trans. Amer. Math. Soc. , 373(5):3561–3607, 2020

  11. [11]

    H. L. Montgomery and R. C. Vaughan. Multiplicative Number Theory I: Classical Theory . Cambridge Studies in Advanced Mathematics. Cambridge University Press, 2006

  12. [12]

    D. J. Platt and T. S. Trudgian. On the first sign change of θ(x) − x. Math. Comp. , 85(299):1539–1547, 2016

  13. [13]

    G. Robin. Sur l’ordre maximum de la fonction somme des diviseurs. In Seminar on number theory, Paris 1981–82 (Paris, 1981/1982) , volume 38 of Progr. Math., pages 233–244. Birkh¨ auser Boston, Boston, MA, 1983

  14. [14]

    M. O. Rubinstein and P. Sarnak. Chebyshev’s bias. Exp. Math. , 3:173–197, 1994

  15. [15]

    Szeg˝ o.Orthogonal polynomials

    G. Szeg˝ o.Orthogonal polynomials . American Mathematical Society, Providence, R.I., fourth edition,

  16. [16]

    American Mathematical Society, Colloquium Publications, Vol. XXIII

  17. [17]

    Bordeaux

    The PARI Group, Univ. Bordeaux. PARI/GP version 2.17.2, 2025. available from http://pari.math. u-bordeaux.fr/

  18. [18]

    A. Wintner. On the asymptotic distribution of the remainder term of the prime-number theorem. Amer. J. Math. , 57(3):534–538, 1935. Department of Mathematics, University of Chicago, Chicago, IL, 60637, USA Email address : shbhatta100@gmail.com Department of Mathematics, University of British Columbia, V ancouver, BC, V6T 1Z2, Canada Email address : gerg@m...