Independent largest prime factors of consecutive integers

The largest prime factors of n and n + 1 act like independent dice, so each wins half the time.

1 paper September 24, 2026 Explained by AI

Every whole number has a largest prime factor, and its size follows a known curve called the Dickman law. Erdős and Pomerance asked in 1978 whether neighbours n and n + 1 have independent sizes. This paper proves they do in ordinary counting, with no exceptional ranges (Lean proof listed). So in the limit, n + 1 has the bigger largest prime factor for exactly half of all n.

First step
1978
Erdős and Pomerance, positive lower density 0.0099 for each ordering
Significance
Major
It settles a 1978 Erdős–Pomerance conjecture without the averaging or exceptional ranges earlier results needed.
Trust
Formal proof listed
Field
Number theory
1 paper
Proven guaranteed share of n with P⁺(n) < P⁺(n+1)
Year Who Value
1978 Erdős and Pomerance 0.0099
2005 de la Bretèche, Pomerance and Tenenbaum 0.05544
2025 Lü and Wang 0.2017
2026 Yang 0.28
2026 This paper 0.5

Earlier values are lower bounds on lower density. The paper's 1/2 is an exact limit.

The explanation

Take the number 14. Its largest prime factor is 7. A prime is a whole number above 1 with no divisors except 1 and itself. The next number, 15, has largest prime factor 5. So here the first number has the bigger one. Now try 20 and 21. Their largest prime factors are 5 and 7, so the second number wins.

Run this contest for every whole number n from 2 up to one million, against its neighbour n + 1. The neighbour wins 500,148 times out of 999,999. That is about 50.01 percent. It looks like a fair coin. Yet a computer count cannot show that the share settles at exactly one half. Only a proof about all numbers can.

Start with one number at a time. Mathematicians measure the largest prime factor on a logarithmic scale, as a power of the number. A power of 1/2 means the largest prime factor is about the square root. Work beginning with Karl Dickman in 1930 found the long-run share for each power. The answer is given by the Dickman function, a fixed curve. For the square root, the share tends to 1 − ln 2, about 30.7 percent. Up to one million it is still only 26.8 percent. These shares settle slowly.

In 1978, Paul Erdős and Carl Pomerance asked about two neighbours together. Do n and n + 1 behave like two separate dice? If so, a simple prediction follows. Both would have largest prime factor below their square root for about 9.4 percent of numbers. That is 30.7 percent times 30.7 percent. Erdős and Pomerance proved that each winner in the contest has a guaranteed positive share. Their explicit floor was 0.0099. Later work raised it to 0.05544, then 0.1356, then 0.2017. Yang's 2026 preprint gives 0.280 for both orderings. These are only floors. None shows that the share actually settles.

Closer work came from Joni Teräväinen in 2018. He proved the predicted independence for a weighted count. In that count, each number n counts as 1/n, so small numbers weigh more. Terence Tao and Teräväinen then got ordinary counts, but with an exception. Some rare ranges of numbers were left uncovered. Zhiwei Wang got the full ordinary result, but only by assuming an unproved conjecture about primes.

So the one obstacle was ordinary counting at every large range, with no rare bad ranges and no extra assumption. That is the gap this paper closes. It argues by contradiction. Suppose the link between neighbours failed along some sequence of ranges. The paper rewrites n and n + 1 through chosen factors. That turns the link into one between numbers a short distance apart. A known theorem on short stretches of numbers, due to Kaisa Matomäki and Maksym Radziwiłł, then rules it out.

The result is the joint Dickman law. Pick any two powers a and b between 0 and 1. Count the n whose largest prime factor is at most n to the power a. Also require n + 1 to have largest prime factor at most n to the power b. The share of such n tends to the product of the two single shares. In plain terms, the two sizes behave like independent dice. The paper proves this (Lean proof listed).

Now return to the contest. Two independent draws from the same smooth curve almost never tie. Each is equally likely to come first. So the share of n where the neighbour wins tends to exactly one half. The reverse ordering also tends to one half. The theorem guarantees a limit, not a speed. It gives no error term, so it does not say how close one million should be.

How sure is this? A computer proof checker called Lean has checked a formal version of the joint law in ordinary counting. Lean has also checked that each ordering has share one half. The paper's other consequences, such as the upper-tail statement of Erdős and Pomerance, are not in the Lean scope note. No specialist review has been published.

What it doesn't show. This does not say how fast the shares approach their limits, and it gives no error term.

Where it came from

This result comes from an unreleased OpenAI model, published in the openai/math release on 6 October 2026.

Hype check

Major if it holds. Lean checks formal versions of the joint law and the one-half orderings. The paper gives no rate of convergence, and no specialist review is published.

Words used

Prime factor
A prime number that divides a given whole number exactly.
Largest prime factor
The biggest prime dividing a number, written P⁺(n); P⁺(15) = 5.
Dickman function
A fixed curve giving the long-run share of numbers whose largest prime factor is below a given power.
Natural density
The long-run share of whole numbers with a property, counting every number equally.
Logarithmic density
A weighted long-run share where each number n counts as 1/n.
Lower density
A floor the share stays above at every large range, even if the share never settles.
Independent
Two quantities are independent when knowing one tells you nothing about the other.

The original paper

All quoted lines (11)

  1. Relative to the results just described, the distinction is therefore the unconditional ordinary limit at every sufficiently large scale, not a new marginal distribution or a logarithmically averaged independence statement.
    The joint Dickman law for consecutive integers Back to text
  2. Suppose, then, that the mixed correlation stays nonzero along a sequence of scales.
    The joint Dickman law for consecutive integers Back to text
  3. For an integer nn, the amplifier defines DB(n)D_B(n) as a nonnegative weighted count of factorizations n=amn=am and n+1=clan+1=cl_a, restricted by eB<c<e2Be^B<c<e^{2B} and Tc<a<2TcTc<a<2Tc.
    The joint Dickman law for consecutive integers Back to text
  4. After resolving the residue condition by Dirichlet characters, the real short-interval theorem of Matom\"aki and Radziwi\l\l compares the principal components with long means whose centered combination vanishes.
    The joint Dickman law for consecutive integers Back to text
  5. Thus log⁡\Pplus(n)/log⁡n\log\Pplus(n)/\log n and log⁡\Pplus(n+1)/log⁡n\log\Pplus(n+1)/\log n have, in natural density, independent limiting distributions with distribution function a↦ρ(1/a)a\mapsto\rho(1/a), continuously extended to [0,1][0,1].
    The joint Dickman law for consecutive integers Back to text
  6. Here the limit is taken over all real XX, with ordinary, unweighted counting.
    The joint Dickman law for consecutive integers Back to text
  7. The limiting marginal is continuous, so its product measure gives zero mass to the diagonal; symmetry then gives the corollary.
    The joint Dickman law for consecutive integers Back to text
  8. The comparison conjecture usually attributed to Erd\Hos and Tur\'an is a consequence, rather than a separate main theorem.
    The joint Dickman law for consecutive integers Back to text
  9. The reverse ordering has the same natural density.
    The joint Dickman law for consecutive integers Back to text
  10. Theorem … concerns fixed parameters and has no exceptional scales; it does not assert their quantitative error term or their uniformity for growing parameters.
    The joint Dickman law for consecutive integers Back to text
  11. Inclusion–exclusion using the fixed-threshold law and its marginals gives the upper-tail independence conjecture of Erd\Hos and Pomerance.
    The joint Dickman law for consecutive integers Back to text

Other sources

  1. P. Erdős and C. Pomerance, “On the largest prime factors of n and n+1”, Aequationes Mathematicae 17 (1978), 311–321
  2. R. de la Bretèche, C. Pomerance and G. Tenenbaum, “Products of ratios of consecutive integers”, The Ramanujan Journal 9 (2005), 131–138
  3. X. Lü and Z. Wang, “On the largest prime factors of consecutive integers”, Monatshefte für Mathematik 206 (2025), 403–418
  4. Z. Yang, “An improvement on the largest prime factors of consecutive integers”, arXiv:2607.16032 (2026)
  5. J. Teräväinen, “On binary correlations of multiplicative functions”, Forum of Mathematics, Sigma 6 (2018), e10
  6. T. Tao and J. Teräväinen, “The structure of correlations of multiplicative functions at almost all scales, with applications to the Chowla and Elliott conjectures”, Algebra & Number Theory 13 (2019), 2103–2150
  7. Z. Wang, “Three conjectures on P⁺(n) and P⁺(n+1) hold under the Elliott–Halberstam conjecture for friable integers”, Journal of Number Theory 223 (2021), 1–11
  8. Z. Wang, “Sur les plus grands facteurs premiers d'entiers consécutifs”, Mathematika 64 (2018), 343–379
  9. openai/math release notes (2026): model provenance and review status manuscripts and supporting proof artifacts produced by an internal OpenAI model