{
  "api": "isitsolved",
  "version": "1.0",
  "license": "CC BY 4.0",
  "retrieved": "2026-11-25T00:59:35.854Z",
  "data": {
    "id": "IIS-P-0028",
    "slug": "legendre",
    "name": "Legendre's conjecture",
    "question": "Is Legendre's conjecture solved?",
    "area": "Number theory",
    "posed": {
      "year": null,
      "by": "Adrien-Marie Legendre; listed by Edmund Landau in 1912"
    },
    "status": "open",
    "answer": "NO",
    "note": "Open. Checked for squares up to 2×10^19; even the Riemann hypothesis is not enough.",
    "statement": "Between any two consecutive perfect squares, n² and (n+1)², there is at least one prime.",
    "formal": {
      "system": null,
      "state": null,
      "url": null,
      "note": ""
    },
    "prize": null,
    "checked": "2026-11-24",
    "url": "https://isitsolved.com/legendre",
    "json": "https://isitsolved.com/api/v1/problems/IIS-P-0028",
    "claims": [],
    "why": "It says gaps between primes near x are below about 2√x, much smaller than what anyone can prove, even using the Riemann hypothesis.",
    "frontier": [
      {
        "text": "For large x there is always a prime between x − x^0.525 and x.",
        "year": 2001,
        "who": "Roger Baker; Glyn Harman; János Pintz",
        "source": "https://en.wikipedia.org/wiki/Legendre%27s_conjecture"
      },
      {
        "text": "With the Riemann hypothesis (formally verified in 2026), every interval [x, x + (22/25)√x log x] with x ≥ 4 contains a prime. This misses Legendre by a factor of about log x.",
        "year": 2019,
        "who": "Emanuel Carneiro; Micah Milinovich; Kannan Soundararajan",
        "source": "https://arxiv.org/abs/1708.04122"
      },
      {
        "text": "Checked by computer for all n² up to about 2×10^19, using tables of maximal prime gaps.",
        "year": 2014,
        "who": "Prime-gap computations",
        "source": "https://en.wikipedia.org/wiki/Legendre%27s_conjecture"
      }
    ],
    "events": [
      {
        "id": "IIS-E-1912-0A6F65",
        "date": "1912",
        "text": "Landau lists it among four problems about primes.",
        "source": "https://en.wikipedia.org/wiki/Landau%27s_problems"
      },
      {
        "id": "IIS-E-1937-B3609D",
        "date": "1937",
        "text": "Ingham: there is a prime between large consecutive cubes.",
        "source": "https://en.wikipedia.org/wiki/Legendre%27s_conjecture"
      },
      {
        "id": "IIS-E-2001-A60AE4",
        "date": "2001",
        "text": "Baker, Harman and Pintz prove the x^0.525 result.",
        "source": "https://en.wikipedia.org/wiki/Legendre%27s_conjecture"
      },
      {
        "id": "IIS-E-2019-6BB6A3",
        "date": "2019",
        "text": "Carneiro, Milinovich and Soundararajan sharpen the RH-based gap bound.",
        "source": "https://arxiv.org/abs/1708.04122"
      },
      {
        "id": "IIS-E-2026-DCF1BE",
        "date": "2026-11-20",
        "text": "RH is formally verified, so the RH-based bound now holds outright.",
        "source": "https://math.mit.edu/~drew/grh/"
      }
    ],
    "efforts": [],
    "sources": [
      {
        "title": "Wikipedia: Legendre's conjecture",
        "url": "https://en.wikipedia.org/wiki/Legendre%27s_conjecture"
      },
      {
        "title": "Wikipedia: Landau's problems",
        "url": "https://en.wikipedia.org/wiki/Landau%27s_problems"
      }
    ]
  }
}