# 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. Plain-English explainer, Lean status and sources.

Canonical: https://closedform.nishachay.tech/e/openai-math-2026-012/
Last updated: 2026-10-11

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

**Trust:** Formal proof listed · **Papers:** 1 · **First paper:** September 24, 2026 · **Field:** Number theory · **Entry:** 012

*Explained by AI.* Drafted by one AI model and checked sentence by sentence against the paper by a different one. Spot a mistake? Report an error.

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.

## At a glance

- **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 (this result) |

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[1]. It argues by contradiction. Suppose the link between neighbours failed along some sequence of ranges[2]. The paper rewrites n and n + 1 through chosen factors[3]. 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[4].

The result is the joint Dickman law[5]. 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[6]. 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[7]. Each is equally likely to come first. So the share of n where the neighbour wins tends to exactly one half[8]. The reverse ordering also tends to one half[9]. The theorem guarantees a limit, not a speed. It gives no error term, so it does not say how close one million should be[10].

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[11]. 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

- [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf) - September 24, 2026

- [Lean notes](https://github.com/openai/math/blob/main/lean/docs/012.md)

## Quoted lines from the paper (11)

[1] From [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf):

> 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.

[2] From [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf):

> Suppose, then, that the mixed correlation stays nonzero along a sequence of scales.

[3] From [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf):

> For an integer $n$, the amplifier defines $D_B(n)$ as a nonnegative weighted count of factorizations $n=am$ and $n+1=cl_a$, restricted by $e^B<c<e^{2B}$ and $Tc<a<2Tc$.

[4] From [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf):

> 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.

[5] From [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf):

> Thus $\log\Pplus(n)/\log n$ and $\log\Pplus(n+1)/\log n$ have, in natural density, independent limiting distributions with distribution function $a\mapsto\rho(1/a)$, continuously extended to $[0,1]$.

[6] From [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf):

> Here the limit is taken over all real $X$, with ordinary, unweighted counting.

[7] From [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf):

> The limiting marginal is continuous, so its product measure gives zero mass to the diagonal; symmetry then gives the corollary.

[8] From [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf):

> The comparison conjecture usually attributed to Erd\H{o}s and Tur\'an is a consequence, rather than a separate main theorem.

[9] From [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf):

> The reverse ordering has the same natural density.

[10] From [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf):

> Theorem … concerns fixed parameters and has no exceptional scales; it does not assert their quantitative error term or their uniformity for growing parameters.

[11] From [The joint Dickman law for consecutive integers](https://github.com/openai/math/blob/main/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf):

> Inclusion--exclusion using the fixed-threshold law and its marginals gives the upper-tail independence conjecture of Erd\H{o}s and Pomerance.

## Other sources

- [P. Erdős and C. Pomerance, “On the largest prime factors of n and n+1”, Aequationes Mathematicae 17 (1978), 311–321](https://www.renyi.hu/~p_erdos/1978-29.pdf)
- [R. de la Bretèche, C. Pomerance and G. Tenenbaum, “Products of ratios of consecutive integers”, The Ramanujan Journal 9 (2005), 131–138](https://tenenb.perso.math.cnrs.fr/PPP/AB.pdf)
- [X. Lü and Z. Wang, “On the largest prime factors of consecutive integers”, Monatshefte für Mathematik 206 (2025), 403–418](https://hal.science/hal-01797939)
- [Z. Yang, “An improvement on the largest prime factors of consecutive integers”, arXiv:2607.16032 (2026)](https://arxiv.org/abs/2607.16032v1)
- [J. Teräväinen, “On binary correlations of multiplicative functions”, Forum of Mathematics, Sigma 6 (2018), e10](https://doi.org/10.1017/fms.2018.10)
- [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](https://doi.org/10.2140/ant.2019.13.2103)
- [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](https://doi.org/10.1016/j.jnt.2020.12.013)
- [Z. Wang, “Sur les plus grands facteurs premiers d'entiers consécutifs”, Mathematika 64 (2018), 343–379](https://doi.org/10.1112/S0025579317000547)
- [openai/math release notes (2026): model provenance and review status](https://github.com/openai/math/blob/main/README.md): “manuscripts and supporting proof artifacts produced by an internal OpenAI model”

## Related

- [An asymptotic formula for the number of totients](https://closedform.nishachay.tech/e/openai-math-2026-024/) - Number theory
- [Positive lower density of large prime gaps](https://closedform.nishachay.tech/e/openai-math-2026-026/) - Number theory
- [Patterson's first moment for cubic Gauss sums](https://closedform.nishachay.tech/e/openai-math-2026-023/) - Number theory
- [Prime-factor statistics of p-1](https://closedform.nishachay.tech/e/openai-math-2026-011/) - Number theory
- [Ostmann’s inverse Goldbach conjecture](https://closedform.nishachay.tech/e/openai-math-2026-013/) - Number theory
- [Number theory](https://closedform.nishachay.tech/science/mathematics/number-theory/) - Field · 31 results
- [Erdős problems](https://closedform.nishachay.tech/topic/erdos-problems/) - Topic · 13 results
- [Prime numbers](https://closedform.nishachay.tech/topic/prime-numbers/) - Topic · 12 results
- [Open since the 1970s](https://closedform.nishachay.tech/open-since/1970s/) - Era · 63 results
- [Lean-checked results](https://closedform.nishachay.tech/trust/lean-checked/) - Trust · 242 results
- [Report an error](https://github.com/nishachay/closed-form/issues/new?template=report-error.yml&labels=entry-error&title=%5Bentry%20012%5D%20)
