AI proof resolves Erdős Problem 1141 prime pattern

Boris Alexeev, Moe Putterman, Mehtaab Sawhney, Mark Sellke, Gregory Valiant

Only finitely many integers n have n−k2n-k^{2} prime for every integer k≥1k\ge 1 with gcd⁡(k,n)=1\gcd (k,n)=1 and k2<nk^{2}<n. This is the original a=1a=1 Erdős Problem 1141 statement.

For n nineteen and a one, eligible k values one, two, and four give eighteen, fifteen, and three, all multiples of three. Only the last is prime.
The example shows the proof’s divisibility obstruction: the same prime divides n−ak2n-ak^2 at several eligible kk, but the strictly decreasing values can equal that prime at most once. For each fixed integer a≥1a\ge1, Theorem 6.1 proves only finitely many nn have prime values at every coprime positive kk with ak2<nak^2<n. The finiteness proof is ineffective and gives no explicit final cutoff.

What was already known

The a=1a=1 problem was open. Pollack’s theorem on small prime quadratic residues supplies a pre-existing input; an earlier a=2a=2 result omitted the coprimality condition.

How the result developed

  1. 8 Apr 2026 · Manuscript date [1]

    Boris Alexeev and colleagues reported the AI-assisted result in this manuscript.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-led
ImportanceNotable
Technical verificationFormal (human)
Human understandingExplained

AI involvement

The authors write, The proofs in this manuscript are due to an internal model at OpenAI. The human-directed generalization to other coefficients followed the initial proof for coefficient one.

Importance

The deduction settles the original Erdős prime-pattern question.

Technical verification

The coauthors report verifying each model solution, including this one; no machine check is documented. The maximal-n=1722 observation is only computational evidence and is not part of the finiteness theorem's check.

Human review

human verification of the solution before the independent ChatGPT attempts

Checker
Alexeev, Putterman, Sawhney, Sellke and Valiant
Scope
Model's a=1a=1 finiteness proof for Problem 1141
Basis
Source-reported

Human understanding

The authors identified and explained the Pollack-based mechanism and recognized its fixed-a extension.

Human work and later research

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

The deduction settles the original Erdős prime-pattern question.

One divisor can spoil the pattern

Open SVG

For n nineteen and a one, eligible k values one, two, and four give eighteen, fifteen, and three, all multiples of three. Only the last is prime.
The example shows the proof’s divisibility obstruction: the same prime divides n−ak2n-ak^2 at several eligible kk, but the strictly decreasing values can equal that prime at most once. For each fixed integer a≥1a\ge1, Theorem 6.1 proves only finitely many nn have prime values at every coprime positive kk with ak2<nak^2<n. The finiteness proof is ineffective and gives no explicit final cutoff.Alexeev, Putterman, Sawhney, Sellke and Valiant credit an internal OpenAI model with the proof.