Squarefree Polynomial Values: How OpenAI Broke the 73-Year Quartic Barrier

Evaluate n4+2n^4+2 at n=2n=2 and you get 18, which is divisible by 9. At n=3n=3 you get 83, a prime. How often does this quartic produce a number with no repeated prime factor? Paul Erdős’s 1953 paper asked whether it happens infinitely often. OpenAI’s manuscript, dated September 24, 2026, proves a stronger statement. Every integer quartic irreducible over the rationals has a positive density of squarefree polynomial values if no prime square divides all its values. The proof gives the exact density as a product of proportions computed one prime at a time. The hard part was showing that squares of primes larger than the interval length spoil a vanishing fraction of inputs. OpenAI bounds that fraction by factoring in a number field and counting integer points on algebraic sets.

1. What Are Squarefree Polynomial Values?

A squarefree integer, sometimes written “square free integer,” has no prime divisor with exponent two or higher. More generally, a kk-power-free integer has no prime divisor with exponent at least kk. Use absolute values for negative integers and exclude zero. A squarefree polynomial has no repeated irreducible factor over the rationals. Its evaluated integers can still have repeated prime factors, as the value 18 shows.

Key facts for the quartic theorem
ConceptMeaning
Quartic polynomialA polynomial of degree four
Irreducible over the rationalsNo factorization into two positive-degree rational polynomials
Fixed prime-square divisorA prime square dividing f(n)f(n) at every integer input nn
Squarefree densityThe limiting fraction of positive inputs that give squarefree values

Eisenstein’s criterion at 2 gives irreducibility of x4+2x^4+2. The value 2 at zero already rules out every fixed prime-square divisor, because the value of a polynomial modulo a prime square depends only on the input’s residue class.

2. Erdős’s Quartic Problem and the 73-Year Barrier

Erdős problem 978 includes the question of infinitely many squarefree values of n4+2n^4+2. For degree dd, Hooley’s asymptotic at exponent d−1d-1 reaches squares when d=3d=3. For a quartic it reaches cubes, so squares may still divide the values counted by his theorem.

Milestones in power-free values of polynomials
WorkRelevant result
RicciDensity at k≥dk\ge d
Erdős and HooleyInfinitude and then density at k=d−1k=d-1, under the applicable local conditions
Heath-BrownGeneral density range reaching k=d−2k=d-2 for d≥10d\ge10
BrowningImproved range reaching k=d−2k=d-2 for d≥9d\ge9
OpenAIDensity at k=d−2k=d-2 for degrees four through eight

Special polynomial shapes can admit stronger estimates, but Heath-Brown’s binomial bound at exponent d−2d-2 starts at degree six. A result averaged over coefficients can leave an individual quartic uncontrolled. A two-variable binary-form density can also miss the single line that corresponds to a fixed univariate polynomial. Granville obtained a broader squarefree density theorem conditional on the abc conjecture. The argument here is unconditional.

3. What Exactly Does the OpenAI Proof Establish?

Theorem 1.1 fixes an integer polynomial ff of degree 4≤d≤84\le d\le8, irreducible over the rationals, and sets k=d−2k=d-2. Write Sf,k(X)S_{f,k}(X) for the number of positive integers up to XX whose values are kk-power-free. Let ρf(q)\rho_f(q) count the residue classes modulo qq on which ff is zero. Local admissibility means ρf(pk)<pk\rho_f(p^k)<p^k for each prime pp. Under that condition the theorem gives

𝑺𝒇,𝒌(𝑿)=𝒄𝒇,𝒌𝑿+𝒐𝒇(𝑿),𝒄𝒇,𝒌=∏𝒑(1−𝝆𝒇(𝒑𝒌)𝒑𝒌)>0.\boldsymbol{\begin{gathered}S_{f,k}(X)=c_{f,k}X+o_f(X),\\ c_{f,k}=\prod_p\left(1-\frac{\rho_f(p^k)}{p^k}\right)>0.\end{gathered}}

The factor for pp is the fraction of residue classes that survive the test at pkp^k. The term of(X)o_f(X), divided by XX, tends to zero for the fixed polynomial. Infinitude alone would allow the good inputs to become arbitrarily sparse. Here their fraction tends to a positive constant. The theorem allows either leading sign and a common divisor among the coefficients. At primes dividing that common divisor, the local factors must still be computed for the original polynomial.

4. The Complete Proof Strategy in Six Stages

Two counting routes bound the same exceptional set.

  1. Isolate the large-prime obstruction. Use congruences for the smaller primes. At the upper end, count directly on a surface with a small cofactor.
  2. Factor inside a number field. In the harder range, turn a large prime power into an algebraic factor and balance its sizes across the field embeddings. This puts both factors in coordinated boxes.
  3. Construct determinant cuts. Nearby directions make evaluation determinants vanish. The resulting polynomial equations constrain the candidate points to sets of lower dimension.
  4. Count with adaptive auxiliary primes. Use lattice coordinates to shrink the boxes. Use the supply of low-weight polynomial functions and carefully chosen congruences to keep cutting the resulting sets.
  5. Resolve exceptional quartic geometry. Handle surfaces and curves where the general point count is too weak. Remove a single sparse family of possible inputs shared across the boxes.
  6. Recover the exact density. Check that the counting exponents stay below one, sum the large-prime bounds, and pass from the finite sieve to the full Euler product.
Counting large prime divisors The upper prime range takes the direct surface route. The harder range passes through field factors, determinant cuts and point counting. The bounds combine to control exceptional inputs. Large prime-power divisors Upper prime range Direct surface count Harder prime range Field factors, cuts and point counting Exceptional inputs bounded
Schematic of the two routes to the large-prime bound.

5. The Large-Prime Obstruction: Why Ordinary Sieves Fail

	A modulo 9 sieve and a large-prime interval illustrate the challenge of counting squarefree polynomial values.
A modulo 9 sieve and a large-prime interval illustrate the challenge of counting squarefree polynomial values.

Fix a prime cutoff YY. The Chinese remainder theorem combines the conditions for p≤Yp\le Y into one periodic set, giving a product of surviving proportions. Outside finitely many primes, roots modulo pp are simple. Hensel lifting gives each exactly one lift to a root modulo pkp^k, so at most dd classes are lost for each prime. For sufficiently large YY and Y<p≤XY<p\le X, summing the class counts on (X,2X](X,2X] costs Of(XY1−k+π(X))O_f(XY^{1-k}+\pi(X)), where π(X)\pi(X) counts primes up to XX.

For p>Xp>X, summing the cost of rounding each class count up to an integer can overwhelm the interval. Proposition 1.4 instead counts the exceptional inputs together. For the primitive, positive-leading polynomial in the stated degree range, it proves that some δ=δf>0\delta=\delta_f>0 satisfies

#{𝒏∈ℤ:𝑿<𝒏≤2𝑿,∃prime 𝒑>𝑿, 𝒑𝒌|𝒇(𝒏)}≪𝒇𝑿1−𝜹.\boldsymbol{\begin{gathered}\#\{n\in\mathbb Z:X<n\le 2X,\\ \exists\,\text{prime }p>X,\ p^k\mid f(n)\}\ll_f X^{1-\delta}.\end{gathered}}

The symbol ≪f\ll_f allows a constant depending on ff. Group primes into intervals [P,2P][P,2P] and choose one qualifying prime per input per interval. The integer equation f(n)=ypkf(n)=yp^k gives a surface in three coordinates. When PP is large enough, the cofactor yy has a sufficiently small range for weighted point counting to work directly. In the harder range the proof changes coordinates. Summing the dyadic bounds and letting XX tend to infinity before YY yields the exact density.

6. Number-Field Factorization and Balanced Coordinate Boxes

The three integer coordinates conceal which factor of f(n)f(n) carries the large power. Adjoin a root θ\theta to obtain the number field K=ℚ(θ)K=\mathbb Q(\theta). Away from finitely many primes, the root class of nn selects a single prime ideal above pp in the factorization of a leading-coefficient multiple of n−θn-\theta. That ideal has norm pp and occurs to at least the kkth power. Finiteness of the ideal class group means that one of finitely many fixed correction ideals makes it principal, so it has a generator α\alpha. With a fixed positive integer μ\mu clearing denominators, the manuscript obtains integral elements satisfying

𝜶𝒌𝜷=𝝁(𝒏−𝜽).\boldsymbol{\alpha^k\beta=\mu(n-\theta).}

Dirichlet’s unit theorem lets the proof multiply the generator by a unit to balance its conjugates, the images under the embeddings of KK into the complex numbers. In a band P≤p≤2PP\le p\le 2P, each α\alpha conjugate has size comparable to P1/dP^{1/d}, and each β\beta conjugate has size comparable to X/Pk/dX/P^{k/d}. In an integral basis these bounds give boxes. Dividing by a largest coordinate gives bounded projective directions. For fixed 1/n1/n and a local branch, either factor’s direction determines the other analytically. This pairs the small direction boxes and limits the number of partners for each box.

7. Bihomogeneous Determinant Cuts: Turning Arithmetic Into Geometry

	A zero determinant reveals that three points lie on a line, illustrating a proof step for squarefree polynomial values.
A zero determinant reveals that three points lie on a line, illustrating a proof step for squarefree polynomial values.

The determinant method in number theory exploits the gap between zero and the smallest possible nonzero integer. Here the proof evaluates monomials of fixed degree in each coordinate group at the selected integer points. After dividing each evaluation row by the appropriate powers of its largest coordinates, the entries are analytic functions of nearby directions and 1/n1/n. In their Taylor expansions, repeated monomials contribute zero to the determinant. The remaining terms carry enough small factors to beat the lower bound that would follow from a nonzero integer determinant.

Rank deficiency gives a polynomial relation on all selected points in the box. A bihomogeneous relation has fixed degree in each group. Mixed components involve both groups. A pure component restricts just one group and leaves more freedom in the other. On it, the first equation also reduces the number of independent Taylor monomials. The proof uses that reduction to force a second cut. A reduced integral lattice basis then shrinks the point coordinates. If a box admits an unusually short lattice vector, fewer boxes can occur in the corresponding group, offsetting the larger counting cost allowed in those coordinates.

8. Adaptive Auxiliary Primes and Weighted Hilbert Bounds

In the new coordinates, a variable bounded by a constant times XUX^U gets weight UU. A monomial’s weight adds the coordinate weights with their exponents. The weighted Hilbert bound measures how many independent polynomial functions on a component fit within a given weight. The paper obtains this supply by selecting conjugate-coordinate pairs and analyzing their algebraic relations. More independent functions of low weight mean a smaller upper bound for their evaluation determinant.

On a smooth local patch, a nonzero Jacobian minor identifies coordinates that can be used as parameters. At auxiliary primes that avoid the minor, points in the same residue class make the determinant divisible by high prime powers. Once the product of those powers exceeds the absolute upper bound, the determinant vanishes. The new polynomial relation cuts the dimension, changing the patch and potentially changing which primes are usable.

The deletion argument compares a randomly chosen prime block with the block after removing one prime. It tracks the ranks of the full spaces of constraints. If the ranks stay fixed, the subsequent patches and minors agree. Conditional on the smaller block, its minors have few possible prime divisors in the pool. A bounded rank record also limits the chance that deletion changes the path. This gives enough good primes at each stage to repeat the cuts and count through successive dimensions.

9. Exceptional Quartic Geometry and the Final Counting Barrier

In degree four, the general Hilbert bounds can leave too little room in the counting exponents. The proof first removes a controlled set of first-factor coordinates over which the input could vary in a positive-dimensional fiber. For a remaining surface with a quadric projection, a suitable coordinate pair yields a degree-two field extension, supplying twice as many independent functions in the deficient case. On a plane, a deficient estimate would force four distinct critical values for either a polynomial of degree at most four on a general line or a degree-two rational map on the line of directions. Both maps have too few critical points.

On curves, a nonpolynomial rational coordinate has very few integral values in the relevant boxes. In the limiting polynomial case, the input is a quintic with four prescribed critical values, one for each root of ff. Fixing two critical points at 0 and 1 reduces these quintics to a finite family depending only on ff. Their field arguments giving integer values lie on a one-dimensional locus in a lattice box of radius Of(X1/5)O_f(X^{1/5}). Thus the exceptional input set has size Of(X1/5)O_f(X^{1/5}) globally and is removed once.

An exact rational parameter certificate covers the remaining prime ranges without gaps. For example, it bounds the combined number-field box and counting exponent by less than 24979/2500024979/25000 before the arbitrarily small counting loss. A common saving survives summation over prime intervals.

10. Calculating the Squarefree Density of n4+1n^4+1

Four roots lift modulo 289, and squarefree polynomial values of n⁴ + 1 have limiting density above 75%.
Four roots lift modulo 289, and squarefree polynomial values of n⁴ + 1 have limiting density above 75%.

The eighth cyclotomic polynomial is locally admissible since its value at zero is 1. At even inputs the value is 1 modulo 4, and at odd inputs it is 2, so the prime 2 contributes no exclusion. For an odd prime pp, a modular root has multiplicative order eight, since its fourth power is −1-1. The nonzero classes modulo pp form a cyclic group of order p−1p-1. There are exactly four elements of order eight when p≡1(mod8)p\equiv1\pmod8, and none otherwise.

Each root is simple because the derivative 4n34n^3 is nonzero modulo pp at a root. Each therefore lifts uniquely to a root modulo p2p^2. At 17, the root 2 lifts to 155. The four lifted classes give the exclusions at that prime.

𝒄8=∏𝒑≡1(mod8)(1−4𝒑2)>34.\boldsymbol{c_8=\prod_{p\equiv1\pmod 8}\left(1-\frac{4}{p^2}\right)>\frac34.}
Roots of n to the fourth plus one at 17 and 289 The unique lifts from modulus 17 to modulus 289 are 2 to 155, 8 to 110, 9 to 179, and 15 to 134. Modulo 17 Modulo 289 2155 8110 9179 15134
Exact lifts for the first prime in the Euler product.

The first eligible prime is 17. The product is at least one minus the sum of the excluded proportions. That sum is less than four times the integral of t−2t^{-2} from 16 to infinity, which equals 1/41/4. The limiting fraction of positive inputs with squarefree values is therefore strictly greater than 75%.

11. From Quartics to Power-Free Values of Higher-Degree Polynomials

Positive density for irreducible, locally admissible polynomials
DegreeGuaranteed Power-Free DensitySource
4SquarefreeOpenAI
5CubefreeOpenAI
6Fourth-power-freeOpenAI
7Fifth-power-freeOpenAI
8Sixth-power-freeOpenAI
9 and above(d−2)(d-2)-power-freeBrowning

Browning’s threshold k≥(3d+1)/4k\ge(3d+1)/4 already reaches k=d−2k=d-2 from degree nine onward. The manuscript combines them in Corollary 1.2.

Corollary 1.3 also treats fixed separable products whose irreducible factors have degree at most k+2k+2. Away from primes dividing their pairwise resultants or the content, at most one factor vanishes modulo a given prime, so the large-prime estimates apply factor by factor. For simultaneous power-free values of several polynomials, the condition is that each value is power-free. The local exclusions are the union of the individual bad residue classes, which may overlap. Both conclusions require that at least one class survive at each prime.

12. Lean Verification, Mathematical Significance and Remaining Limitations

OpenAI attributes the research to an internal frontier model. The roadmap reconstructs the written proof. The Lean documentation for family 020 covers k=d−2k=d-2 for all d≥4d\ge4 under irreducibility and local admissibility. The Lean theorem allDegrees proves the density statement. Its comparator gives the convergence, positivity and asymptotic claims for independent checking of the proof and its dependencies.

The result counts all positive integer inputs. The theorem leaves squarefree density on prime inputs and for general polynomials of degree five or higher open. The power saving controls the large-prime exceptional set, while the full density asymptotic has a little-o error. For squarefree polynomial values of admissible quartics, the advance is knowing that the locally predicted fraction survives the large primes. Follow Binary Verse AI for more research explainers that trace results back to their proofs.

What are squarefree polynomial values?

Squarefree polynomial values are integers with no prime-square divisor obtained by evaluating a polynomial at integer inputs. For example, 34+2=833^4+2=83 is squarefree. The value 24+2=182^4+2=18 has the prime-square divisor 323^2.

What did OpenAI prove about squarefree values of quartic polynomials?

OpenAI proved that for each integer quartic irreducible over the rationals with no fixed prime-square divisor, the fraction of positive integer inputs giving squarefree values tends to a positive constant. An Euler product over prime squares gives that constant.

Why was Erdős’s squarefree quartic problem so difficult?

Congruences handle any fixed set of small prime-square divisors. The difficult part is bounding the inputs whose values are divisible by the square of a prime larger than the input interval. A direct sum of residue class counts gives too weak a bound in that range.

How does the determinant method solve the squarefree polynomial values problem?

It forces the exceptional integer points to satisfy extra polynomial equations, reducing the dimension of the sets to be counted. The proof combines these cuts with number-field factorization, reduced lattice coordinates, adaptive auxiliary primes and separate bounds for difficult quartic surfaces and curves.

Does the OpenAI proof depend on the ABC conjecture?

The quartic theorem is unconditional. The abc conjecture would imply a broader squarefree density theorem for separable integer polynomials satisfying the local condition.

How often is n4+1n^4+1 squarefree?

Its limiting squarefree density is greater than 75%. The exact density is ∏p≡1(mod8)(1−4/p2)\prod_{p\equiv1\pmod 8}(1-4/p^2), with the product over primes. Each eligible prime contributes four excluded residue classes modulo p2p^2.

Does the proof apply to polynomials of every degree?

The new proof gives (d−2)(d-2)-power-free density in degrees four through eight. Browning’s earlier theorem supplies the same conclusion from degree nine onward. These statements apply to irreducible, locally admissible integer polynomials. The exponent equals two in degree four and increases with the degree.

Leave a Comment