Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Best known explicit constructions of large prime gaps

Number theoryCombinatoricsTheoretical computer science

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

X-posted from MSE

The classical construction showing that prime gaps can be unbounded is considering the numbers n!+2,⋯ ,n!+nn!+2,\cdots,n!+nn!+2,⋯,n!+n, this outputs n−1n-1n−1 consecutive composite numbers, and so, prime gaps can be arbitrarily large. Letting

G(x)=max⁡pn≤x(pn−pn−1)G(x)=\max_{p_n\leq x} (p_{n}-p_{n-1})G(x)=maxpn​≤x​(pn​−pn−1​)

this proof gives a lower bound of the type

G(x)≳log⁡xlog⁡log⁡x.G(x)\gtrsim\frac{\log x}{\log\log x}.G(x)≳loglogxlogx​.

This bound has been improved many times, the best known one as I'm writing this post is

G(x)≳log⁡22xlog⁡4xlog⁡3xlog⁡xG(x)\gtrsim\frac{\log _2^2x\log_4 x}{\log_3 x}\log xG(x)≳log3​xlog22​xlog4​x​logx

where log⁡tx\log_txlogt​x denotes the ttt-th iterated logarithm. As far as I understand, this latter bound, and the couple best known before it, were probabilistic arguments, and therefore non-explicit. My question is what's the best known explicit lower bound? The first bound given above can be beaten by taking the numbers n#+2,⋯ ,n#+nn\#+2,\cdots,n\#+nn#+2,⋯,n#+n where

n#=∏p≤npn\#=\prod_{p\leq n}pn#=∏p≤n​p

this giving a lower bound of

G(x)≳log⁡xG(x)\gtrsim\log xG(x)≳logx

at this point one may wonder what exactly qualifies as "explicit", for definiteness say, that for every nnn one can find a number f(n)f(n)f(n) in polynomial time such that f(n),f(n)+1,⋯ ,f(n)+n−1f(n),f(n)+1,\cdots,f(n)+n-1f(n),f(n)+1,⋯,f(n)+n−1 are all composite. Thus, the two explicit bounds I gave above are indeed explicit.

As far as I understand Rankin's proof of

G(x)≳log⁡2xlog⁡4xlog⁡32xlog⁡xG(x)\gtrsim\frac{\log_2 x\log_4x}{\log_3^2x}\log xG(x)≳log32​xlog2​xlog4​x​logx

is via a greedy algorithm, so it should also be explicit, though saying it for certain would require one to go through a complexity analysis of their algorithm. Is this where the story ends? Since Rankin's bound was beaten has there been any work on explicit lower bounds (like it has been the case for other hard to compute functions, such as Ramsey numbers)?

Statement and context adapted from MathOverflow · Bruno Andrades

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Ramsey question
How large must a structure be before some organised pattern is unavoidable in every colouring? A typical target is a subgraph whose edges all have one colour.
Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.

Topics : nt.number-theory · co.combinatorics · analytic-number-theory · computational-complexity · prime-gaps

Authors listed by the source : Bruno Andrades

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : September 25, 2026

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni