{
  "api": "isitsolved",
  "version": "1.0",
  "license": "CC BY 4.0",
  "retrieved": "2026-11-25T00:59:36.219Z",
  "data": {
    "id": "IIS-P-0037",
    "slug": "least-quadratic-nonresidue",
    "name": "The least quadratic nonresidue",
    "question": "Is the least quadratic nonresidue smaller than p^ε for large p?",
    "area": "Number theory",
    "posed": {
      "year": 1918,
      "by": "Ivan Vinogradov"
    },
    "status": "proved",
    "answer": "YES",
    "note": "Yes, given the verified proof of GRH for Dirichlet L-functions: Bach's bound n_p < 2(log p)² then holds for every prime, and 2(log p)² < p^ε once p is large. Sharper questions stay open.",
    "statement": "For a prime p, a quadratic nonresidue is a number that is not a perfect square modulo p. Let n_p be the smallest one. Vinogradov conjectured that n_p is smaller than p^ε for every ε > 0 once p is large enough. Each claim below carries its own status: the conjecture itself now follows from GRH, while the best constant in front of (log p)² and whether (log p)² is the right order are open.",
    "formal": {
      "system": null,
      "state": null,
      "url": null,
      "note": "The deductions from GRH to these bounds are on paper. Lopin's repository has Lean checks of numerical witness bounds only."
    },
    "prize": null,
    "checked": "2026-11-24",
    "url": "https://isitsolved.com/least-quadratic-nonresidue",
    "json": "https://isitsolved.com/api/v1/problems/IIS-P-0037",
    "claims": [
      {
        "id": "IIS-P-0037.1",
        "text": "Vinogradov's conjecture: for every ε > 0, n_p < p^ε for all sufficiently large primes p.",
        "status": "proved",
        "basis": "Follows from claim .2, since 2(log p)² < p^ε for large p. GRH for Dirichlet L-functions was verified in Lean on 2026-11-20; the deduction from GRH is on paper.",
        "implied_by": [
          "IIS-P-0037.2"
        ],
        "source": "https://math.mit.edu/~drew/grh/"
      },
      {
        "id": "IIS-P-0037.2",
        "text": "n_p < 2(log p)² for every prime p (Bach's explicit form of Ankeny's bound).",
        "status": "proved",
        "basis": "Bach (Math. Comp. 1990) under GRH for Dirichlet L-functions; that hypothesis is now verified.",
        "implied_by": [
          "IIS-P-0002"
        ],
        "source": "https://doi.org/10.1090/S0025-5718-1990-1023756-8"
      },
      {
        "id": "IIS-P-0037.3",
        "text": "n_p < (log p)² for every prime p ≥ 5, and lim sup n_p/(log p)² ≤ 0.794.",
        "status": "proved",
        "basis": "Lamzouri, Li and Soundararajan (Math. Comp. 2015, corrigendum 2017) under GRH, now verified.",
        "implied_by": [
          "IIS-P-0002"
        ],
        "source": "https://arxiv.org/abs/1309.3595"
      },
      {
        "id": "IIS-P-0037.4",
        "text": "lim sup n_p/(log p)² ≤ 0.7615.",
        "status": "proved",
        "basis": "Carneiro, Milinovich, Quesada-Herrera and Ramos (Math. Comp. 2025), Fourier optimization under GRH, now verified.",
        "implied_by": [
          "IIS-P-0002"
        ],
        "source": "https://doi.org/10.1090/mcom/4154"
      },
      {
        "id": "IIS-P-0037.5",
        "text": "lim sup n_p/(log p)² ≤ 0.760777412.",
        "status": "partial",
        "basis": "Certified test function (Arb interval arithmetic, checked), same argument as .4. Self-published, not peer reviewed. Open record: the 𝒞(1) ladder.",
        "source": "https://doi.org/10.5281/zenodo.24408857",
        "ladder": "c1"
      },
      {
        "id": "IIS-P-0037.6",
        "text": "n_p = o((log p)²): the order (log p)² is not the truth.",
        "status": "open",
        "basis": "Expected (Montgomery conjectured order log p · log log p) but unproved. Tracked as its own entry.",
        "entry": "least-nonresidue-little-o",
        "source": "https://campus.lakeforest.edu/trevino/SurveyLeastNonResidue.pdf"
      },
      {
        "id": "IIS-P-0037.7",
        "text": "Unconditional bounds that do not use GRH: n_p ≪ p^(1/(4√e)+ε).",
        "status": "proved",
        "basis": "Burgess (1957), not improved since.",
        "source": "https://campus.lakeforest.edu/trevino/SurveyLeastNonResidue.pdf"
      }
    ],
    "why": "Finding a nonresidue fast is a step in algorithms such as computing square roots modulo p. The question is a test of how well we understand characters and primes.",
    "frontier": [
      {
        "text": "Unconditional: n_p is at most p^(1/(4√e) + ε) for large p, where 1/(4√e) ≈ 0.1516. Not improved since 1957.",
        "year": 1957,
        "who": "David Burgess",
        "source": "https://campus.lakeforest.edu/trevino/SurveyLeastNonResidue.pdf"
      },
      {
        "text": "Under GRH for Dirichlet L-functions, now formally verified: n_p = O((log p)²) (Ankeny 1952); n_p < 2(log p)² (Bach 1990); n_p < (log p)² for p ≥ 5, and (0.794 + o(1))(log p)² asymptotically (Lamzouri, Li, Soundararajan 2015).",
        "year": 2015,
        "who": "Nesmith Ankeny; Eric Bach; Youness Lamzouri; Xiannan Li; Kannan Soundararajan",
        "source": "https://arxiv.org/abs/1309.3595"
      },
      {
        "text": "Fourier optimization gives lim sup n_p/(log p)² ≤ 0.7615, also from GRH. Published in Mathematics of Computation, 2 December 2025.",
        "year": 2025,
        "who": "Emanuel Carneiro; Micah Milinovich; Emily Quesada-Herrera; Antonio Pedro Ramos",
        "source": "https://doi.org/10.1090/mcom/4154"
      },
      {
        "text": "Certified test functions lower the same constant to below 0.760777412. Self-published note, not peer reviewed.",
        "year": 2026,
        "who": "Lennart Lopin",
        "source": "https://doi.org/10.5281/zenodo.24408857"
      }
    ],
    "events": [
      {
        "id": "IIS-E-1918-387563",
        "date": "1918",
        "text": "Vinogradov proves n_p is at most about p^(1/(2√e)) and conjectures p^ε.",
        "source": "https://campus.lakeforest.edu/trevino/SurveyLeastNonResidue.pdf"
      },
      {
        "id": "IIS-E-1952-3E5735",
        "date": "1952",
        "text": "Ankeny: n_p = O((log p)²) under GRH.",
        "source": "https://campus.lakeforest.edu/trevino/SurveyLeastNonResidue.pdf"
      },
      {
        "id": "IIS-E-1957-953914",
        "date": "1957",
        "text": "Burgess proves the p^(1/(4√e)+ε) bound.",
        "source": "https://campus.lakeforest.edu/trevino/SurveyLeastNonResidue.pdf"
      },
      {
        "id": "IIS-E-2015-F126E4",
        "date": "2015",
        "text": "Lamzouri, Li and Soundararajan give explicit and asymptotic GRH bounds.",
        "source": "https://arxiv.org/abs/1309.3595"
      },
      {
        "id": "IIS-E-2025-1F3224",
        "date": "2025-12-02",
        "text": "Carneiro, Milinovich, Quesada-Herrera and Ramos publish the 0.7615 constant.",
        "source": "https://doi.org/10.1090/mcom/4154"
      },
      {
        "id": "IIS-E-2026-1A4080",
        "date": "2026-11-20",
        "text": "GRH for Dirichlet L-functions is formally verified, removing the hypothesis from these bounds.",
        "source": "https://math.mit.edu/~drew/grh/"
      },
      {
        "id": "IIS-E-2026-CCD138",
        "date": "2026-11-24",
        "text": "Status corrected. With GRH for Dirichlet L-functions verified, Bach's bound already implies Vinogradov's conjecture, so the entry no longer calls it open. Each claim now has its own status. Flagged by an agent reviewing the page.",
        "source": "https://isitsolved.com/least-quadratic-nonresidue"
      }
    ],
    "efforts": [
      {
        "name": "Certified Fourier witnesses for the CMQR constant",
        "url": "https://github.com/novalis78/least-nonresidue-two-shift",
        "kind": "formalization"
      }
    ],
    "sources": [
      {
        "title": "McGown and Treviño: The least quadratic non-residue (survey)",
        "url": "https://campus.lakeforest.edu/trevino/SurveyLeastNonResidue.pdf"
      },
      {
        "title": "Carneiro, Milinovich, Quesada-Herrera, Ramos: Fourier optimization, the least quadratic non-residue, and the least prime in an arithmetic progression",
        "url": "https://arxiv.org/abs/2404.08380"
      }
    ]
  }
}