October 2026 · Preprint

New lower bounds for Romanoff's constant

Abstract

Romanoff proved in 1934 that the integers of the form p + 2a, with p prime and a ≥ 1, have positive lower density d. We prove that d ≥ 0.110825 and, conditionally on an upper bound for prime pairs that Johnston and Trudgian derive from Lichtman’s work on primes in arithmetic progressions, that d ≥ 0.119178; the best lower bound so far was 0.10788. The proof refines the method of Elsholtz and Schlage-Puchta, which bounds the second moment of the number of representations in each residue class modulo a fixed integer. Both bounds are certified by computer and also proved in the Lean proof assistant, with the analytic inputs as hypotheses.

In plain words

Many whole numbers, like 5, 7 and 11, are sums of a prime and a power of two. In 1934 Romanoff proved that such numbers never become vanishingly rare: a nonzero proportion of whole numbers have this form. Numerical studies suggest that the proportion is a little over 0.43. Before this paper, the method of Elsholtz and Schlage-Puchta gave the best proven bound: the proportion is at least 0.10788. This paper raises that bound to 0.110825.

Top: five circles side by side, each a band of twelve thin, pale concentric rings around a white centre, with short teal marks on the rings and small yellow dots just outside the rim. From left to right the teal marks thin out, from marks crowding every ring but the outer two on the first circle to a few combs and scattered marks on the others, while the yellow dots multiply, from two dots on the first circle to a dense dotted ring with a few gaps on the last. Bottom: an uneven comb of thin magenta bars with its tallest peaks toward the left, thinning out to the right and leaving the right end of the baseline bare. Five small black-rimmed yellow dots sit under the baseline.
Illustration of the residue patterns behind the paper’s lower bounds 0.110825 and, conditionally, 0.119178 for the lower density of the integers p + 2ᵃ with p prime and a ≥ 1. The illustration is drawn for a smaller modulus than the bounds use. Top: five residue classes k, each drawn as a circle of exponents r with one ring for each prime factor of the modulus. A ring is filled at the exponents where its prime divides k − 2ʳ, and yellow dots mark the exponents that the class keeps, those where no ring is filled. Bottom: for each number of exponents, the exact share of classes that keep that many, with the five classes marked. On average over a class, the number of representations n = p + 2ᵃ is asymptotically proportional to the number of exponents that the class keeps. The paper bounds the number of pairs of representations class by class.

Formal statement and axioms

Each main result as stated in Lean, copied verbatim from the published package, with the axioms that the proof rests on. Lean v4.35.0-rc3, Mathlib c55e6e786f49. The package.

Romanoff.G.romanoff_U3g_K

The lower bound 0.110825: kernel-only. Assumes the per-class sieve bound of Elsholtz and Schlage-Puchta. Also assumes the prime number theorem in progressions and a bound that is derived from Pintz’s work.

theorem romanoff_U3g_K (h1 : ESP28 G.ell) (h3 : PNTAP G.ell) (h5 : R0Bound) : G.U3gStatement
Definitions used in the statement
def U3gStatement : Prop := (110825 / 1000000 : ℝ) ≤ liminf dens atTop
noncomputable def dens (N : ℕ) : ℝ := (count N : ℝ) / N
def count (N : ℕ) : ℕ := ((Finset.Icc 1 N).filter IsRomanoff).card
def IsRomanoff (n : ℕ) : Prop := ∃ p a : ℕ, p.Prime ∧ 1 ≤ a ∧ n = p + 2 ^ a
def ESP28 (l : ℕ) : Prop :=
  ∀ ε > (0 : ℝ), ∃ N₀ : ℕ, ∀ N ≥ N₀, ∀ h : ℤ, 0 < h → h < N → ∀ k : ℕ, Nat.Coprime k l →
    (pairCountMod N h k l : ℝ) ≤
      (8 + ε) * C0up * N / ((Nat.totient l : ℝ) * Real.log N ^ 2) * sing (l * h.natAbs)
def PNTAP (l : ℕ) : Prop :=
  ∀ a : ℕ, Nat.Coprime a l →
    Tendsto (fun N : ℕ => (primeCountMod N l a : ℝ) * Nat.totient l * Real.log N / N) atTop (nhds 1)
def R0Bound : Prop :=
  ∀ S : Finset ℕ, (∀ m ∈ S, Odd m ∧ Squarefree m) →
    ∑ m ∈ S, fm m / (orderOf (2 : ZMod m) : ℝ) ≤ 193656 / 100000
def ell : ℕ := ellPrimes.prod
def ellPrimes : List ℕ := [3, 5, 7, 11, 13, 17, 31, 241, 41, 19, 73, 37, 23, 43, 29]
def pairCountMod (N : ℕ) (h : ℤ) (k l : ℕ) : ℕ :=
  ((Finset.range (N + 1)).filter fun p₂ => p₂.Prime ∧ p₂ % l = k % l ∧
    0 ≤ (p₂ : ℤ) + h ∧ ((p₂ : ℤ) + h).toNat ≤ N ∧ ((p₂ : ℤ) + h).toNat.Prime).card
def primeCountMod (N l a : ℕ) : ℕ := ((Finset.range (N + 1)).filter fun p => p.Prime ∧ p % l = a % l).card
noncomputable def sing (n : ℕ) : ℝ := ∏ p ∈ n.primeFactors.filter (2 < ·), ((p : ℝ) - 1) / (p - 2)
noncomputable def fm (m : ℕ) : ℝ := ∏ p ∈ m.primeFactors, 1 / ((p : ℝ) - 2)
noncomputable def C0up : ℝ := 66016181584686958 / 10 ^ 17

Source.

Axioms, as Lean reports them. Recorded in the published file.

'Romanoff.G.romanoff_U3g_K' depends on axioms: [propext, Classical.choice, Quot.sound]

Romanoff.G.romanoff_U3g

The lower bound 0.110825: with compiled code. Assumes the per-class sieve bound of Elsholtz and Schlage-Puchta. Also assumes the prime number theorem in progressions and a bound that is derived from Pintz’s work.

theorem romanoff_U3g (h1 : ESP28 G.ell) (h3 : PNTAP G.ell) (h5 : R0Bound) : G.U3gStatement
Definitions used in the statement
def U3gStatement : Prop := (110825 / 1000000 : ℝ) ≤ liminf dens atTop
noncomputable def dens (N : ℕ) : ℝ := (count N : ℝ) / N
def count (N : ℕ) : ℕ := ((Finset.Icc 1 N).filter IsRomanoff).card
def IsRomanoff (n : ℕ) : Prop := ∃ p a : ℕ, p.Prime ∧ 1 ≤ a ∧ n = p + 2 ^ a
def ESP28 (l : ℕ) : Prop :=
  ∀ ε > (0 : ℝ), ∃ N₀ : ℕ, ∀ N ≥ N₀, ∀ h : ℤ, 0 < h → h < N → ∀ k : ℕ, Nat.Coprime k l →
    (pairCountMod N h k l : ℝ) ≤
      (8 + ε) * C0up * N / ((Nat.totient l : ℝ) * Real.log N ^ 2) * sing (l * h.natAbs)
def PNTAP (l : ℕ) : Prop :=
  ∀ a : ℕ, Nat.Coprime a l →
    Tendsto (fun N : ℕ => (primeCountMod N l a : ℝ) * Nat.totient l * Real.log N / N) atTop (nhds 1)
def R0Bound : Prop :=
  ∀ S : Finset ℕ, (∀ m ∈ S, Odd m ∧ Squarefree m) →
    ∑ m ∈ S, fm m / (orderOf (2 : ZMod m) : ℝ) ≤ 193656 / 100000
def ell : ℕ := ellPrimes.prod
def ellPrimes : List ℕ := [3, 5, 7, 11, 13, 17, 31, 241, 41, 19, 73, 37, 23, 43, 29]
def pairCountMod (N : ℕ) (h : ℤ) (k l : ℕ) : ℕ :=
  ((Finset.range (N + 1)).filter fun p₂ => p₂.Prime ∧ p₂ % l = k % l ∧
    0 ≤ (p₂ : ℤ) + h ∧ ((p₂ : ℤ) + h).toNat ≤ N ∧ ((p₂ : ℤ) + h).toNat.Prime).card
def primeCountMod (N l a : ℕ) : ℕ := ((Finset.range (N + 1)).filter fun p => p.Prime ∧ p % l = a % l).card
noncomputable def sing (n : ℕ) : ℝ := ∏ p ∈ n.primeFactors.filter (2 < ·), ((p : ℝ) - 1) / (p - 2)
noncomputable def fm (m : ℕ) : ℝ := ∏ p ∈ m.primeFactors, 1 / ((p : ℝ) - 2)
noncomputable def C0up : ℝ := 66016181584686958 / 10 ^ 17

Source.

Axioms, as Lean reports them. Recorded in the published file.

'Romanoff.G.romanoff_U3g' depends on axioms: [propext,
 Classical.choice,
 Quot.sound,
 R45.M3G.R0tD_eq._native.native_decide.ax_1_1,
 R45.M3G.certOK_data._native.native_decide.ax_1_1,
 R45.M3G.sumsOK_data._native.native_decide.ax_1_1,
 R45.M3G.teffD_eq._native.native_decide.ax_1_1,
 R45.U3G.tabB_BLit_eq._native.native_decide.ax_1_1,
 Romanoff.G.S2.finalOK_true._native.native_decide.ax_1_1]

Romanoff.G.romanoff_V4g_K

The lower bound 0.119178: kernel-only. Assumes the per-class sieve bound of Elsholtz and Schlage-Puchta. Also assumes the prime number theorem in progressions, the Johnston–Trudgian bound and a bound that is derived from Pintz’s work.

theorem romanoff_V4g_K (h1 : ESP28 G.ell) (h2 : JTProp2) (h3 : PNTAP G.ell) (h5 : R0Bound) : G.V4gStatement
Definitions used in the statement
def V4gStatement : Prop := (119178 / 1000000 : ℝ) ≤ liminf dens atTop
noncomputable def dens (N : ℕ) : ℝ := (count N : ℝ) / N
def count (N : ℕ) : ℕ := ((Finset.Icc 1 N).filter IsRomanoff).card
def IsRomanoff (n : ℕ) : Prop := ∃ p a : ℕ, p.Prime ∧ 1 ≤ a ∧ n = p + 2 ^ a
def ESP28 (l : ℕ) : Prop :=
  ∀ ε > (0 : ℝ), ∃ N₀ : ℕ, ∀ N ≥ N₀, ∀ h : ℤ, 0 < h → h < N → ∀ k : ℕ, Nat.Coprime k l →
    (pairCountMod N h k l : ℝ) ≤
      (8 + ε) * C0up * N / ((Nat.totient l : ℝ) * Real.log N ^ 2) * sing (l * h.natAbs)
def PNTAP (l : ℕ) : Prop :=
  ∀ a : ℕ, Nat.Coprime a l →
    Tendsto (fun N : ℕ => (primeCountMod N l a : ℝ) * Nat.totient l * Real.log N / N) atTop (nhds 1)
def R0Bound : Prop :=
  ∀ S : Finset ℕ, (∀ m ∈ S, Odd m ∧ Squarefree m) →
    ∑ m ∈ S, fm m / (orderOf (2 : ZMod m) : ℝ) ≤ 193656 / 100000
def ell : ℕ := ellPrimes.prod
def ellPrimes : List ℕ := [3, 5, 7, 11, 13, 17, 31, 241, 41, 19, 73, 37, 23, 43, 29]
def pairCountMod (N : ℕ) (h : ℤ) (k l : ℕ) : ℕ :=
  ((Finset.range (N + 1)).filter fun p₂ => p₂.Prime ∧ p₂ % l = k % l ∧
    0 ≤ (p₂ : ℤ) + h ∧ ((p₂ : ℤ) + h).toNat ≤ N ∧ ((p₂ : ℤ) + h).toNat.Prime).card
def primeCountMod (N l a : ℕ) : ℕ := ((Finset.range (N + 1)).filter fun p => p.Prime ∧ p % l = a % l).card
noncomputable def sing (n : ℕ) : ℝ := ∏ p ∈ n.primeFactors.filter (2 < ·), ((p : ℝ) - 1) / (p - 2)
noncomputable def fm (m : ℕ) : ℝ := ∏ p ∈ m.primeFactors, 1 / ((p : ℝ) - 2)
noncomputable def C0up : ℝ := 66016181584686958 / 10 ^ 17
def JTProp2 : Prop :=
  ∀ ε > (0 : ℝ), ∃ N₁ : ℕ, ∀ N ≥ N₁, ∀ h : ℤ, 0 < h → h < N →
    (pairCount N h : ℝ) ≤ (67814 / 10000 + ε) * C0up * N / Real.log N ^ 2 * sing h.natAbs
def pairCount (N : ℕ) (h : ℤ) : ℕ := pairCountMod N h 0 1

Source.

Axioms, as Lean reports them. Recorded in the published file.

'Romanoff.G.romanoff_V4g_K' depends on axioms: [propext, Classical.choice, Quot.sound]
1 more formal statements

Romanoff.G.romanoff_V4g

The lower bound 0.119178: with compiled code. Assumes the per-class sieve bound of Elsholtz and Schlage-Puchta. Also assumes the prime number theorem in progressions, the Johnston–Trudgian bound and a bound that is derived from Pintz’s work.

theorem romanoff_V4g (h1 : ESP28 G.ell) (h2 : JTProp2) (h3 : PNTAP G.ell) (h5 : R0Bound) : G.V4gStatement
Definitions used in the statement
def V4gStatement : Prop := (119178 / 1000000 : ℝ) ≤ liminf dens atTop
noncomputable def dens (N : ℕ) : ℝ := (count N : ℝ) / N
def count (N : ℕ) : ℕ := ((Finset.Icc 1 N).filter IsRomanoff).card
def IsRomanoff (n : ℕ) : Prop := ∃ p a : ℕ, p.Prime ∧ 1 ≤ a ∧ n = p + 2 ^ a
def ESP28 (l : ℕ) : Prop :=
  ∀ ε > (0 : ℝ), ∃ N₀ : ℕ, ∀ N ≥ N₀, ∀ h : ℤ, 0 < h → h < N → ∀ k : ℕ, Nat.Coprime k l →
    (pairCountMod N h k l : ℝ) ≤
      (8 + ε) * C0up * N / ((Nat.totient l : ℝ) * Real.log N ^ 2) * sing (l * h.natAbs)
def PNTAP (l : ℕ) : Prop :=
  ∀ a : ℕ, Nat.Coprime a l →
    Tendsto (fun N : ℕ => (primeCountMod N l a : ℝ) * Nat.totient l * Real.log N / N) atTop (nhds 1)
def R0Bound : Prop :=
  ∀ S : Finset ℕ, (∀ m ∈ S, Odd m ∧ Squarefree m) →
    ∑ m ∈ S, fm m / (orderOf (2 : ZMod m) : ℝ) ≤ 193656 / 100000
def ell : ℕ := ellPrimes.prod
def ellPrimes : List ℕ := [3, 5, 7, 11, 13, 17, 31, 241, 41, 19, 73, 37, 23, 43, 29]
def pairCountMod (N : ℕ) (h : ℤ) (k l : ℕ) : ℕ :=
  ((Finset.range (N + 1)).filter fun p₂ => p₂.Prime ∧ p₂ % l = k % l ∧
    0 ≤ (p₂ : ℤ) + h ∧ ((p₂ : ℤ) + h).toNat ≤ N ∧ ((p₂ : ℤ) + h).toNat.Prime).card
def primeCountMod (N l a : ℕ) : ℕ := ((Finset.range (N + 1)).filter fun p => p.Prime ∧ p % l = a % l).card
noncomputable def sing (n : ℕ) : ℝ := ∏ p ∈ n.primeFactors.filter (2 < ·), ((p : ℝ) - 1) / (p - 2)
noncomputable def fm (m : ℕ) : ℝ := ∏ p ∈ m.primeFactors, 1 / ((p : ℝ) - 2)
noncomputable def C0up : ℝ := 66016181584686958 / 10 ^ 17
def JTProp2 : Prop :=
  ∀ ε > (0 : ℝ), ∃ N₁ : ℕ, ∀ N ≥ N₁, ∀ h : ℤ, 0 < h → h < N →
    (pairCount N h : ℝ) ≤ (67814 / 10000 + ε) * C0up * N / Real.log N ^ 2 * sing h.natAbs
def pairCount (N : ℕ) (h : ℤ) : ℕ := pairCountMod N h 0 1

Source.

Axioms, as Lean reports them. Recorded in the published file.

'Romanoff.G.romanoff_V4g' depends on axioms: [propext,
 Classical.choice,
 Quot.sound,
 R45.M3G.R0tD_eq._native.native_decide.ax_1_1,
 R45.M3G.certOK_data._native.native_decide.ax_1_1,
 R45.M3G.sumsOK_data._native.native_decide.ax_1_1,
 R45.M3G.teffD_eq._native.native_decide.ax_1_1,
 R45.U3G.tabB_BLit_eq._native.native_decide.ax_1_1,
 Romanoff.G.S2.finalOK_true._native.native_decide.ax_1_1]