No square gaps?
Three preprints claim that sets of numbers with no two elements a square apart are smaller by a power of N, with extensions to polynomial differences and to values at primes
Covers result 182 in OpenAI’s catalog: all 3 papers. See its connections to other results and the work it cites.
7:01. English captions available. The video loads from YouTube when you press play.
Chapters
The claim, in plain words
Pick as many numbers from 1 to N as you can, so that no two differ by a perfect square (1, 4, 9, 16, …). For N = 10 the set {2, 4, 7, 9} works, and by our exact search no five numbers do. Repeating patterns fail: the numbers leaving remainder 1 or 3 on division by 5 have no square differences up to 25, but 1 and 26 differ by 5². Any pattern with period q meets the square q², since q² is a multiple of q. As the papers recount, the problem goes back to a question of Lovász, and Furstenberg and Sárközy proved independently in the late 1970s that the best fraction tends to zero. By our exact computations the best is 4 of 10, 10 of 30 and 24 of 100.
Upper bounds since then, by Sárközy, by Pintz, Steiger and Szemerédi, by Bloom and Maynard, and by Green and Sawhney (N·e−c√log N), all saved factors that grow more slowly than any power of N, and Green and Sawhney asked whether a fixed power saving holds. In the other direction, Ruzsa built such sets of size about N0.733, using residues modulo 65 with no square differences to restrict selected digits, and a later construction cited in the first paper passes the exponent 3/4. Our check of a digit construction of that kind (seven residues modulo 65 on every other base-65 digit; our reconstruction) gives 455 numbers below 65², against 308 for the greedy choice.
Result 182 is three OpenAI preprints. A power saving for square-difference-free sets (48 pages, dated September 24, 2026), Theorem 1.1: “There are absolute constants c > 0 and C < ∞ such that, for every integer N ≥ 1 and every square-difference-free set A ⊆ [N], |A| ≤ CN1−c.” A power saving for intersective polynomial differences with an exponent depending only on the degree (47 pages, October 5, 2026) extends this to every intersective polynomial h of degree at least two, one with a root modulo every positive integer (such as n² − 1): |A| ≤ ChN1−ck for N ≥ Nh, with ck depending only on the degree. The condition is needed: n² + 1 is never a multiple of 3, so the multiples of 3 avoid all its values. A Power Saving for Polynomial Differences at Prime Arguments (42 pages, October 5, 2026) forbids only the values h(p) at primes, such as (p − 1)², for polynomials of degree at least two with a root coprime to every modulus; it uses result 003’s claimed zero-free half-plane for Dirichlet L-functions (no zeros with real part above 7/8) as an input.
What it doesn’t claim
A value of the exponent. The first paper calls it “positive and absolute, but extremely small”. Its finite model has d = (24!)161 labels, a number with 3,831 digits, and c = a0/d; by our arithmetic on its formulas, c is below 10−7600, and far smaller once the prime threshold is included. Nothing about the true exponent, which lies somewhere between about 3/4 and 1 − c. The prime version is only as sound as result 003, a separate, unrefereed claim. The papers build no extremal sets and give no algorithm.
Where it stands
- Posted as preprints
- OpenAI: 48 pages (September 24, 2026), 47 and 42 pages (October 5, 2026)
- Peer reviewed
- Not yet
- Checked in Lean
- The square-difference theorem only, formalized by OpenAI; not run by us
Last checked October 19, 2026. None of the preprints has been revised since it was added to the repository in its initial commit on October 6, 2026. OpenAI published a Lean formalization whose comparator statement is the first paper’s Theorem 1.1 exactly. By our count the proof takes 81 files and 24,221 lines, excluding Mathlib, about 2,000 of them near-copies of other files (source); like the paper, it shows that the exponent exists without computing it. The polynomial and prime papers are not formalized. Result 003’s zero-free half-plane is formalized in Lean according to OpenAI’s files; we did not run that check either. We found no unproved steps by search; we have not rebuilt the proofs. None of these papers is among those OSVerify reviewed, and we have seen no expert review.
How the proof goes
- A signed lift. Keep the Fourier coefficients of the set at fractions whose denominators are squarefree products of chosen primes, up to a small power of N, and rebuild a function on a product of finite fields. Its average is exactly the density, but it can be negative.
- A huge reflection-positive model. For each large prime, a probability law on (24!)161 labels in which a designated cycle of 24 labels has nonzero square differences, apart from a part of mass at most p−4. Mirror cuts give positive semidefinite matrices (the chessboard method from mathematical physics), and repeated Cauchy–Schwarz gives (|A|/N)d ≤ Y(N, A).
- Zoom out. Restricting to a residue class and splitting it into progressions with square step D² keeps the rule, since D²x² = (Dx)². So Y at length N is controlled by Y at length about N/D².
- Cancel. For a fixed positive proportion of residue choices, cut the interval into pieces; unless all 24 cycle labels land in one piece, some cycle edge goes from an earlier piece to a later one, and there a signed kernel on actual squares, which matches the model up to a small error and which the set avoids, makes the contribution small.
- Contract. The two estimates give a recurrence that contracts, so Y decays like a power of N, and so does the density.
The polynomial paper runs the same argument along Lucier’s family of auxiliary polynomials, since passing to a progression changes the polynomial; the prime paper adds a count of primes in progressions with a power-saving error, where result 003 enters. The papers credit the chessboard method to Fröhlich, Lieb and their coauthors, and cite Bloom and Maynard and Green and Sawhney as precedents for the arithmetic side.
The numbers in the video
- Our exact maxima: 4 for N = 10, 10 for N = 30, 24 for N = 100 (an integer program, checked by branch and bound up to N = 40).
- The residues 1 and 3 mod 5: no square difference through 25; 1 and 26 clash.
- Seven residues modulo 65 with no square difference (the most possible) on every other base-65 digit: 455 numbers below 4,225, checked; the greedy set has 308.
- The first paper’s Remark 5.1 example, with our numbers (residues 1 mod 2 and 2 mod 3; denominators 1, 2 and 3 kept, 6 dropped): values from −1/6 to 2/3, mean 1/6.
- The exponent bound: our arithmetic on the first paper’s parameters (pp. 8, 35, 46).
- The Lean count: our count of the import closure.
Read the source
- A power saving for square-difference-free sets (PDF), 48 pages.
- A power saving for intersective polynomial differences with an exponent depending only on the degree (PDF), 47 pages.
- A Power Saving for Polynomial Differences at Prime Arguments (PDF), 42 pages.
- The Lean scope note.
- The collection’s catalog, where this is result 182.
The 3 papers in this result
OpenAI groups related papers, such as alternative proofs, supporting results and consequences, into one result; we label the first paper it lists the main paper and the others companions.
Transcript
Read the full script
0:00The question
Pick as many whole numbers from 1 to N as you can, so that no two of them differ by a perfect square: 1, 4, 9, 16, and so on. For N = 10, the set 2, 4, 7, 9 works, and in our exact search no 5 numbers do. A natural trick is a repeating pattern: take every number that leaves remainder 1 or 3 on division by 5. Their differences are never 1, 4, 9 or 16, and the pattern survives up to 25. But 1 and 26 differ by 25, which is 5 squared. Every repeating pattern dies this way, since the square of its period is a multiple of the period. As the paper recounts, the problem goes back to a question of Lovász, and in the late 1970s, Furstenberg and Sárközy proved independently that the best fraction you can take shrinks to zero. In our exact computations, the best is 4 out of 10, 10 out of 30, and 24 out of 100. How fast does the fraction shrink? Sárközy’s bound saved a small power of log N. Pintz, Steiger and Szemerédi, and then Bloom and Maynard, made that power of log N grow, slowly, with N, and Green and Sawhney saved a factor of e to the c times the square root of log N. Each of these saves less than any power of N, and Green and Sawhney asked whether a fixed power saving holds: at most a constant times N to the one minus c. In the other direction, Ruzsa built sets of size about N to the 0.733, using 7 remainders modulo 65 with no square differences to restrict selected digits. In our check of that construction, restricting every other digit in base 65, it gives 455 numbers below 65 squared, against 308 for the greedy choice. A later construction, cited in the paper, passes an exponent of three quarters.
1:51The claim
Result 182 consists of three OpenAI preprints. The earliest, 48 pages long and dated September 24, 2026, claims exactly that: there are absolute constants c and C such that every square-difference-free set of numbers up to N has at most C times N to the one minus c elements. That would answer Green and Sawhney’s question. The second, dated October 5, 47 pages long, extends this to every intersective polynomial of degree at least two: one with a root modulo every positive whole number, like n squared minus one. Its exponent depends only on the degree. The condition is needed: n squared plus one is never a multiple of three, so the multiples of three avoid all its values. The third, also dated October 5, 42 pages long, forbids only the values at primes, such as p minus one, squared, for polynomials of degree at least two with a root coprime to every modulus. It uses, as an input, another claim from this release: result 3’s zero-free half-plane for Dirichlet L-functions. Not claimed: a value of the exponent. The first paper calls it positive and absolute, but extremely small. Its finite model has 24 factorial to the power 161 labels, a number with 3,831 digits, and by our arithmetic on the paper’s formulas, c is below 10 to the minus 7,600, and in fact far smaller. Nothing about the true exponent, which lies somewhere between about three quarters and one minus c. And the prime version is only as sound as result 3, a separate, unrefereed claim.
3:36How the proof goes
The first paper’s proof, in outline. Keep only the Fourier coefficients of the set at fractions whose denominators are small products of distinct primes from a chosen range, and rebuild a function on a product of finite fields, one coordinate per prime. Its average is exactly the density of the set, but it can take negative values, which rules out the usual positivity arguments. Then comes a huge finite model. For each large prime, there is a probability law on 24 factorial to the 161st power labels, in which a designated cycle of 24 labels has consecutive differences that are nonzero squares modulo the prime, apart from a part of mass at most one over p to the fourth. The law is reflection positive, an idea from mathematical physics: mirror cuts give positive semidefinite matrices. Repeated Cauchy-Schwarz across the mirrors then shows that the density, raised to the number of labels, is at most a single quantity Y. The goal is to show that Y shrinks like a power of N. Two estimates do it. First, zooming out: restricting to a residue class and splitting it into progressions whose step is a square, D squared, keeps the rule, because D squared times x squared is the square of D x. So Y at length N is controlled by Y at length about N over D squared. Second, cancellation: for a fixed positive proportion of residue choices, cut the interval into many pieces. Unless all 24 cycle labels land in the same piece, some edge of the cycle goes from an earlier piece to a later one, and on that edge the model matches, up to a small error, a signed kernel supported on actual square differences, which the set does not have. Together these give a recurrence that contracts, so Y decays like a power of N, and so does the density. The polynomial paper runs the same machine along Lucier’s family of auxiliary polynomials, since passing to a progression changes the polynomial. The prime paper adds a count of primes in progressions with a power-saving error, which is where result 3 enters. The papers credit the chessboard method to Fröhlich, Lieb and their coauthors, and cite Bloom and Maynard and Green and Sawhney as precedents for the arithmetic side.
5:55Where it stands
None of the three preprints is peer reviewed or has been revised. Only the first is formalized: OpenAI’s Lean files state its theorem exactly and prove it in 81 files and about 24,000 lines, roughly 2,000 of them near-copies, with no gaps we could find by search; we did not run the check. Like the paper, the proof shows that the exponent exists without computing it. The polynomial and prime papers have no Lean. Result 3’s zero-free half-plane is formalized in Lean according to OpenAI’s files; we did not run that check either. None of these papers is among those OSVerify reviewed, and we have seen no expert review. If it holds, a set with no square differences is smaller than N by a fixed power of N, the first such saving, as the papers present it, after nearly 50 years of savings smaller than any power of N. The same holds for every intersective polynomial of degree two or more, and, given result 3, at primes.
Spot a mistake?
This episode simplifies on purpose, but it shouldn’t be wrong. If something is, open an issue on GitHub or leave a comment on YouTube. Corrections are noted here with a date.