ChatGPT sieve helps resolve Erdős problem 848

Mehtaab Sawhney

For sufficiently large N, Sawhney bounds the size of A⊂[N]A\subset [N] with ab+1ab+1 nonsquarefree for every a,b∈Ab\in A by the size of the residue class 7 mod 25, and identifies the extremal 7 and possibly 18 mod 25 classes. The model-origin part is a squarefree-density sieve with prime exclusions depending on b and the progression difference.

Seven paired with seven gives fifty. Eighteen paired with eighteen gives 325. Both are divisible by 25, while mixing seven with eighteen gives the prime 127.
If both factors are 7 modulo 25, or both are 18 modulo 25, then their product plus 1 is divisible by 25. The exact mixed pair (7,18)(7,18) gives the prime 127. For all sufficiently large NN, Sawhney proves that a set A⊆[1,N]A\subseteq[1,N] with every ab+1ab+1 nonsquarefree has size at most that of the residue class 7 modulo 25. The 18 class attains equality when it has the same size.

What was already known

Van Doorn, Weisenberg and Cambie had made substantial progress and supplied a preliminary sieve lemma. Their result did not reach Sawhney’s exact extremal density and structure.

How the result developed

  1. 19 Oct 2025 · Public announcement [1]

    Boris Alexeev announced Mehtaab Sawhney’s resolution of the squarefree problem for all sufficiently large N.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

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

AI involvement

Mehtaab Sawhney credits ChatGPT with the retained sieve lemma. He corrected later model arguments and completed the proof, building on earlier work by van Doorn, Weisenberg and Cambie. The main additional lemma Lemma 2.2 […] was suggested by ChatGPT 5 Pro.

Importance

The result settles the asymptotic extremal size and structure in this named number-theory problem.

Technical verification

Sawhney gives a complete human proof of Lemma 2.2 and Proposition 1.1, explicitly tests and rejects the model's false branches, and records the numerical constants used in the final bound. This is source-reported author checking of the assessed AI lemma and its role, not an independent AIProofWatch reproduction.

Checking evidence

Written proof, correction of model counterarguments using a modulo-169 example, and explicit numerical inequality review

Checker
Mehtaab Sawhney, author
Scope
The retained Lemma 2.2 sieve and the resulting extremal bound in Proposition 1.1
Basis
Source-reported

Human understanding

Sawhney explains why b-dependent exclusions make the sieve work and how a point in the alternate class bounds both residue classes, including why the model's stronger claim failed.

Human work and later research

Research Opportunities 1

Browse all opportunities

Research directions discussed by researchers in connection with this discovery.

Reducing the explicit threshold for the squarefree-pair bound

Sharper bounds · Analytic number theory · Additive combinatorics

Mehtaab Sawhney suggests investigating a large-sieve estimate to lower the threshold beyond which his extremal residue-class bound holds. He expects that large-sieve inequalities could improve on bounds based on explicit prime counts.

Nat Sothanaphan reports an explicit threshold of 2.64×10172.64\times10^{17}. Discussion · Status update on Reducing the explicit threshold for the squarefree-pair bound

Other useful sources

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

The result settles the asymptotic extremal size and structure in this named number-theory problem.

A square factor in each class

Open SVG

Seven paired with seven gives fifty. Eighteen paired with eighteen gives 325. Both are divisible by 25, while mixing seven with eighteen gives the prime 127.
If both factors are 7 modulo 25, or both are 18 modulo 25, then their product plus 1 is divisible by 25. The exact mixed pair (7,18)(7,18) gives the prime 127. For all sufficiently large NN, Sawhney proves that a set A⊆[1,N]A\subseteq[1,N] with every ab+1ab+1 nonsquarefree has size at most that of the residue class 7 modulo 25. The 18 class attains equality when it has the same size.ChatGPT 5 Pro suggested the sieve lemma with excluded primes. Mehtaab Sawhney checked the lemma and completed the extremal proof.