Prime-gap intervals containing two-prime sums

How do gaps between consecutive primes bound intervals containing a sum of two odd primes? Kaniecki’s function λ(x)\lambda (x) is two up to seven and thereafter the largest consecutive-prime gap starting at a prime at most x. The precise endpoint question is whether every interval (x,x+λ(λ(x))x+\lambda (\lambda (x))], for real x>4x>4, contains such a sum.

Why it matters and what counts as progress

Why it matters: Endpoint conventions matter when prime sums lie exactly at an interval boundary. A correct reduction lets bounds on prime gaps be used safely in additive prime-number arguments.

What counts as progress: Prove the interval statement for every real input with the same definition of λ\lambda , or exhibit an explicit failing input. A correction should identify its effect on the original proof and on applications that use different endpoint conventions.

How the problem developed

  1. 1995 · Prime-gap interval lemma [1]

    Leszek Kaniecki Printed Lemma 7 with an open right endpoint and used the interval bound in a proof of an RH-conditional bound on Šnirelman’s constant.

  2. 19 Oct 2026 · Counterexample and integer repair [2][3]

    Claude, under Steve Hubbard’s research brief Identified the failure at six and proved the integer statement with the right endpoint included, including a repair at the x−p1=7x-p1=7 boundary.

  3. 26 Oct 2026 · Real-argument extension [2][4]

    Codex, under Steve Hubbard’s research brief Extended the corrected interval lemma to every real x>4x>4, retaining the original gap-function convention.

  4. 16 Nov 2026 · Machine checking [3]

    The project and Palomar Registered the counterexample and corrected integer and real statements; the RH-conditional main theorem is outside this selection.

Follow new AI contributions to this problem.

Get email updates

Download problem history

AI contribution

A corrected prime-gap interval lemma for sums of two odd primes

Define λ(x)=2\lambda (x)=2 for 0<x≤70<x\le 7 and, for x>7x>7, let λ(x)\lambda (x) be the largest gap p′−pp'-p with p≤xp\le x and p′p' the next prime. Kaniecki’s printed open-interval Lemma 7 fails at x=6x=6. The corrected statement is: for every real x>4x>4, some odd primes p,q satisfy x<p+q≤x+λ(λ(x))x<p+q\le x+\lambda (\lambda (x)). Claude supplied the counterexample and corrected integer proof; Codex extended the correction to real x.

AI involvementAI-centered
ImportanceModest
Technical verificationFormal (Lean)
Human understandingFew
Reported

Sources

  1. Kaniecki: printed Lemma 7 and its use in Section 3
  2. AI provenance of the counterexample and repair
  3. Exact corrected statements and checking scope
  4. Corrected real-argument theorem
Publication history