A Wasserstein metric approach to generalized Skewes' numbers. I. Prime number races
Pith reviewed 2026-05-15 08:07 UTC · model grok-4.3
The pith
Sequences of highly composite moduli make generalized Skewes numbers grow rapidly enough to disprove Fiorilli's conjecture unconditionally.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
We study generalized Skewes numbers as the first locations where two comparable prime counting functions change sign. For the race between quadratic residues and quadratic nonresidues modulo q, we construct sequences of highly composite moduli q such that these Skewes numbers grow very rapidly, disproving unconditionally a conjecture of Fiorilli. Assuming the Generalized Riemann Hypothesis and an effective linear independence hypothesis, we establish conditional upper bounds for generalized Skewes numbers. Our method uses a quantitative Kronecker-Weyl theorem in the 1-Wasserstein metric to obtain explicit rates for convergence to the limiting distributions.
What carries the argument
A quantitative Kronecker-Weyl theorem formulated in terms of the 1-Wasserstein metric, used to derive explicit rates of convergence to limiting distributions in prime number races.
If this is right
- The first sign changes in quadratic residue races can occur at arbitrarily large scales for certain sequences of q.
- Fiorilli's conjecture on the bounded growth of generalized Skewes numbers is false.
- Explicit convergence rates via the Wasserstein distance allow precise control over the distribution of prime counting discrepancies.
- Conditional upper bounds on Skewes numbers hold when the generalized Riemann hypothesis and linear independence of zeros are assumed.
Where Pith is reading between the lines
- The Wasserstein approach may extend to other prime number races involving different arithmetic progressions or characters.
- Rapid growth for highly composite q suggests that prime distribution discrepancies can persist over longer intervals for specially chosen moduli.
- The method could be tested numerically on small highly composite q to observe the predicted sign change locations directly.
Load-bearing premise
The existence of explicit sequences of highly composite moduli q making the first sign-change locations grow rapidly enough to contradict Fiorilli's conjecture.
What would settle it
A concrete computation of the first sign change for the smallest terms in one such sequence of q, showing whether the location exceeds the rapid growth required to contradict the conjecture.
read the original abstract
We study generalized Skewes' numbers, which are the locations of the first sign change between two comparable prime counting functions. In the context of the race between quadratic residues and quadratic nonresidues, we construct sequences of highly composite moduli $q$ such that those Skewes' numbers grow very rapidly in some sense. This disproves unconditionally a conjecture of Fiorilli. In the other direction, assuming the Generalized Riemann Hypothesis and an effective linear independence hypothesis, we establish conditional upper bounds for generalized Skewes' numbers. Our approach relies on a quantitative Kronecker-Weyl theorem formulated in terms of the $1$-Wasserstein metric to obtain explicit rates for the convergence to the limiting distributions in these races.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper constructs sequences of highly composite moduli q such that the generalized Skewes numbers (first sign-change locations) in the quadratic residue/non-residue prime race grow rapidly enough to disprove Fiorilli's conjecture unconditionally. It also derives conditional upper bounds on these numbers assuming GRH together with an effective linear independence hypothesis on the zeros. The proofs rely on a quantitative Kronecker-Weyl theorem formulated in the 1-Wasserstein metric to obtain explicit convergence rates of the empirical measures on the torus to their limiting distributions.
Significance. If the explicit construction yields a concrete lower bound on the first crossing that exceeds the growth forbidden by Fiorilli's conjecture, the unconditional disproof would be a notable advance in the study of prime number races. The introduction of Wasserstein distances to control the speed of equidistribution offers a fresh quantitative tool that could extend to other Chebyshev-type biases. The conditional upper bounds supply effective rates under standard hypotheses and are of independent interest for explicit estimates in analytic number theory.
major comments (2)
- [§3] §3 (construction of the sequence q_n): the argument that the 1-Wasserstein convergence rate produces an explicit lower bound on the first sign change of the race function E(x;q,a) needs a precise translation step. The integrated deviation controlled by W_1 does not automatically guarantee that the deterministic orbit remains strictly positive (or negative) up to the claimed X; an additional uniform or tail estimate on the discrepancy appears necessary to convert the distributional rate into the required deterministic lower bound on the Skewes number.
- [§4.1] §4.1 (conditional upper bounds): the effective linear independence hypothesis is invoked to control the linear forms in the logarithms of the zeros, but the dependence of the resulting bound on the height of the zeros and on the compositeness of q should be made fully explicit so that the comparison with the unconditional lower bounds is quantitative.
minor comments (2)
- [Abstract] The abstract's phrase 'grow very rapidly in some sense' should be replaced by a concrete statement of the growth rate relative to Fiorilli's conjecture (e.g., log log X or exp(c sqrt(log X))).
- [§2] Notation for the residue/non-residue race function should be introduced once and used consistently; the transition from the torus measure to the prime-counting difference is not always clearly sign-posted.
Simulated Author's Rebuttal
We thank the referee for the careful reading of our manuscript and for the constructive comments. We address each of the major comments below and will revise the paper accordingly to incorporate the suggested improvements.
read point-by-point responses
-
Referee: §3 (construction of the sequence q_n): the argument that the 1-Wasserstein convergence rate produces an explicit lower bound on the first sign change of the race function E(x;q,a) needs a precise translation step. The integrated deviation controlled by W_1 does not automatically guarantee that the deterministic orbit remains strictly positive (or negative) up to the claimed X; an additional uniform or tail estimate on the discrepancy appears necessary to convert the distributional rate into the required deterministic lower bound on the Skewes number.
Authors: We agree with the referee that a precise translation from the Wasserstein metric bound to a deterministic lower bound on the sign change is required. In the revised version, we will add a detailed explanation and an auxiliary estimate showing how the W_1 convergence, combined with the specific arithmetic properties of the chosen moduli sequence q_n, implies that the partial sums of the race function remain positive (or negative) up to the desired point. This will involve bounding the tail of the distribution using the effective equidistribution rate. revision: yes
-
Referee: §4.1 (conditional upper bounds): the effective linear independence hypothesis is invoked to control the linear forms in the logarithms of the zeros, but the dependence of the resulting bound on the height of the zeros and on the compositeness of q should be made fully explicit so that the comparison with the unconditional lower bounds is quantitative.
Authors: We thank the referee for this observation. We will revise §4.1 to state the effective linear independence hypothesis with explicit dependence on the height of the zeros and on the number of distinct prime factors of q. The resulting upper bounds will then be expressed with full explicit dependence on these quantities, enabling a direct and quantitative comparison with the unconditional lower bounds from the construction in §3. revision: yes
Circularity Check
No significant circularity; derivation self-contained via explicit construction and external theorem
full rationale
The paper's main unconditional result is an explicit construction of sequences of highly composite moduli q yielding rapidly growing generalized Skewes numbers, which directly contradicts Fiorilli's conjecture. This rests on a quantitative Kronecker-Weyl theorem in the 1-Wasserstein metric for convergence rates to limiting distributions on the torus; the theorem is classical and invoked as an external tool rather than derived internally or via self-citation. Conditional upper bounds invoke standard external hypotheses (GRH plus effective linear independence of zeros). No equation reduces a claimed prediction to a fitted input by construction, no ansatz is smuggled via self-citation, and no uniqueness theorem is imported from the authors' prior work. The derivation chain therefore contains independent mathematical content and does not collapse to its inputs.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption Generalized Riemann Hypothesis
- domain assumption effective linear independence hypothesis on zeros of L-functions
Reference graph
Works this paper leans on
-
[1]
N. C. Ankeny,The least quadratic non residue, Ann. of Math. (2)55(1952), 65–72
work page 1952
-
[2]
Bailleul,Explicit Kronecker-Weyl theorems and applications to prime number races, Res
A. Bailleul,Explicit Kronecker-Weyl theorems and applications to prime number races, Res. Number Theory8(2022), no. 3
work page 2022
-
[3]
A. Bailleul, M. Hayani, and T. Untrau,A Wasserstein metric approach to generalized Skewes numbers. II. Irreducible polynomial races, In preparation
-
[4]
C. Bays and R. H. Hudson,A new bound for the smallestxwithπ(x)>li(x), Math. Comp.69(2000), no. 231, 1285–1296
work page 2000
-
[5]
S. G. Bobkov and M. Ledoux,Transport inequalities on Euclidean spaces for non-Euclidean metrics, J. Fourier Anal. Appl.26(2020), no. 4
work page 2020
-
[6]
Borda,Equidistribution of random walks on compact groups
B. Borda,Equidistribution of random walks on compact groups. II: The Wasserstein metric, Bernoulli 27(2021), no. 4, 2598–2623
work page 2021
-
[7]
B. Borda and J-C. Cuenin,Smoothing inequalities for transport metrics in compact spaces(2025). https://arxiv.org/abs/2510.21380
-
[8]
C. A. Bruni,Least quadratic non-residue and least primitive root, Notes from Analytic Number The- ory II, University of British Columbia (2011).https://personal.math.ubc.ca/ ~gerg/teaching/ 613-Winter2011/LeastQuadraticNonResidue.pdf
work page 2011
-
[9]
Y. Bugeaud,Exponents of diophantine approximation, Dynamics and analytic number theory437 (2016), 96–135
work page 2016
-
[10]
D. A. Burgess,The distribution of quadratic residues and non-residues, Mathematika4(1957), 106–112
work page 1957
-
[11]
Jan B¨ uthe,An analytic method for boundingψ(x), Math. Comput.87(2018), no. 312, 1991–2009
work page 2018
-
[12]
Fiorilli,Highly biased prime number races, Algebra Number Theory8(2014), no
D. Fiorilli,Highly biased prime number races, Algebra Number Theory8(2014), no. 7, 1733–1767
work page 2014
-
[13]
D. Fiorilli and F. Jouve,Distribution of Frobenius elements in families of Galois extensions, J. Inst. Math. Jussieu23(2024), no. 3, 1169–1258
work page 2024
-
[14]
D. Fiorilli and G. Martin,Inequities in the Shanks–R´ enyi prime number race: an asymptotic formula for the densities, J. Reine Angew. Math.676(2013), 121–212
work page 2013
-
[15]
V. R. Fridlender,On the leastnth-power non-residue, Doklady Akad. Nauk SSSR (N.S.)66(1949), 351–352
work page 1949
-
[16]
Graham,Irregularity of distribution in Wasserstein distance, J
C. Graham,Irregularity of distribution in Wasserstein distance, J. Fourier Anal. Appl.26(2020), no. 5
work page 2020
-
[17]
S. W. Graham and C. J. Ringrose,Lower bounds for least quadratic nonresidues, Analytic number theory (Allerton Park, IL, 1989), 1990, pp. 269–309
work page 1989
-
[18]
Hooley,On the Barban-Davenport-Halberstam theorem
C. Hooley,On the Barban-Davenport-Halberstam theorem. VII, J. London Math. Soc. (2)16(1977), no. 1, 1–8. 31
work page 1977
-
[19]
A. E. Ingham,On two conjectures in the theory of numbers, Amer. J. Math.64(1942), 313–319
work page 1942
-
[20]
E. Kowalski and T. Untrau,Wasserstein metrics and quantitative equidistribution of exponential sums over finite fields(2025).https://arxiv.org/abs/2505.22059
-
[21]
Y. Lamzouri,An effective linear independence conjecture for the zeros of the riemann zeta function and applications(2025).https://arxiv.org/abs/2311.04860
-
[22]
Lang,Elliptic curves: Diophantine analysis, Grundlehren der Mathematischen Wissenschaften, vol
S. Lang,Elliptic curves: Diophantine analysis, Grundlehren der Mathematischen Wissenschaften, vol. 231, Springer-Verlag, Berlin-New York, 1978
work page 1978
-
[23]
R. S. Lehman,On the differenceπ(x)−li(x), Acta Arith.11(1966), 397–410
work page 1966
-
[24]
Sun-Kai Leung,Joint distribution of primes in multiple short intervals, Adv. Math.490(2026), Paper No. 110847
work page 2026
- [25]
-
[26]
J. E. Littlewood,Sur la distribution des nombres premiers, Comptes Rendus158(1914), 1869–1872
work page 1914
-
[27]
H. L. Montgomery and A. M. Odlyzko,Large deviations of sums of independent random variables, Acta Arith.49(1988), no. 4, 427–434
work page 1988
-
[28]
H. L. Montgomery and R. C. Vaughan,Multiplicative number theory. I. Classical theory, Cambridge Studies in Advanced Mathematics, vol. 97, Cambridge University Press, Cambridge
-
[29]
Montgomery,Topics in multiplicative number theory, Lecture Notes in Mathematics, vol
Hugh L. Montgomery,Topics in multiplicative number theory, Lecture Notes in Mathematics, vol. Vol. 227, Springer-Verlag, Berlin-New York, 1971
work page 1971
-
[30]
Ng,Prime Number Error Terms(2025).https://arxiv.org/abs/2505.11295v1
N. Ng,Prime Number Error Terms(2025).https://arxiv.org/abs/2505.11295v1
-
[31]
A. M. Odlyzko and H. J. J. te Riele,Disproof of the Mertens conjecture, J. Reine Angew. Math.357 (1985), 138–160
work page 1985
-
[32]
M. Rubinstein and P. Sarnak,Chebyshev’s bias, Experiment. Math.3(1994), no. 3, 173–197
work page 1994
-
[33]
Hans Sali´ e,¨Uber den kleinsten positiven quadratischen Nichtrest nach einer Primzahl, Math. Nachr.3 (1949), 7–8
work page 1949
-
[34]
Schlage-Puchta,Sign changes ofπ(x, q,1)−π(x, q, a), Acta Math
J.-C. Schlage-Puchta,Sign changes ofπ(x, q,1)−π(x, q, a), Acta Math. Hung.102(2004), no. 4, 305– 320
work page 2004
-
[35]
Skewes,On the differenceπ(x)−li (x)(I), J
S. Skewes,On the differenceπ(x)−li (x)(I), J. London Math. Soc.8(1933), no. 4, 277–283
work page 1933
- [36]
-
[37]
H. J. J. te Riele,On the sign of the differenceπ(x)−li(x), Math. Comp.48(1987), no. 177, 323–328
work page 1987
-
[38]
Villani,Topics in optimal transportation, Graduate Studies in Mathematics, vol
C. Villani,Topics in optimal transportation, Graduate Studies in Mathematics, vol. 58, American Math- ematical Society, Providence, RI, 2003
work page 2003
-
[39]
,Optimal transport. Old and new, Grundlehren Math. Wiss., vol. 338, Berlin: Springer, 2009
work page 2009
-
[40]
Wintner,On the Asymptotic Distribution of the Remainder Term of the Prime-Number Theorem, Amer
A. Wintner,On the Asymptotic Distribution of the Remainder Term of the Prime-Number Theorem, Amer. J. Math.57(1935), no. 3, 534–538. ENS Paris-Saclay, Centre Borelli, UMR 9010, 91190 Gif-sur-Yvette, France Email address:alexandre.bailleul@ens-paris-saclay.fr Max Planck Institute for Mathematics Vivatsgasse 7 53111, Bonn, Germany Email address:hayani@mpim-...
work page 1935
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.