Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 413

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Are there infinitely many barriers for ω?

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.02047 [math.NT] · NS.02047v1 for this version
Declaration:Erdos413.erdos_413.parts.i
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:ccfb6b9d2e905279b56d251b25e00afb7640e12887e09d1d389977b3f203f4b5
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/413.lean

Formal statement

theorem erdos_413.parts.i :
    { n | IsBarrier (fun m => ω m) n }.Infinite
Show the full Challenge.lean (93 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 413

*References:*
- [erdosproblems.com/413](https://www.erdosproblems.com/413)
- [A5236](https://oeis.org/A5236)
- [La26] Lau, C. F., *On the Number of Prime Factors of Consecutive Integers*.
  [arXiv:2604.15042](https://arxiv.org/abs/2604.15042) (2026).

Erdős called a natural number `n` a *barrier* for `ω`, the number of distinct prime divisors,
if `m + ω(m) ≤ n` for all `m < n`. He believed there should be infinitely many such barriers, and
even posed a relaxed variant asking whether there is some `ε > 0` for which infinitely many `n`
satisfy `m + ε · ω(m) ≤ n` for every `m < n`.
-/

@[expose] public section

open ArithmeticFunction
open scoped omega Omega

namespace Erdos413

/-- `IsBarrier f n` means `n` is a barrier for the real-valued function `f`,
i.e. `(m : ℝ) + f m ≤ (n : ℝ)` for all `m < n`. -/
def IsBarrier (f : ℕ → ℝ) (n : ℕ) : Prop :=
  ∀ m < n, (m : ℝ) + f m ≤ n

/-- Are there infinitely many barriers for `ω`? -/
@[category research open, question, AMS 11]
theorem erdos_413.parts.i :
    { n | IsBarrier (fun m => ω m) n }.Infinite := by
  sorry

/-- `expProd n` is `∏ kᵢ` when `n = ∏ pᵢ ^ kᵢ`, i.e. the product of the prime exponents of `n`. -/
def expProd (n : ℕ) : ℕ :=
  n.factorization.prod fun _ e => e

/-- Erdős proved that the barrier set for `expProd` is infinite and even has positive density.

`HasPosDensity` is the right reading rather than positive lower density. In [Er79d] this is
Theorem 1, "the density of integers satisfying (2) is positive", where `d₀(n) = ∏ αᵢ` is
`expProd`. The averaging argument there bounds the density below, but Erdős states the existence
separately on the last page: "With a little more trouble, I can prove that the density of
integers `n` for which `n` is a barrier for `d₀(n)` exists." He goes further, that if `αᵢ` is the
density of `n` with `max_{m<n} (m + d₀(m)) = n + i`, then every `αᵢ` exists and they sum to `1`.

[Er79d] Erdős, P., *Some unconventional problems in number theory*.
Acta Math. Acad. Sci. Hungar. (1979), 71-80. -/
@[category research solved, AMS 11]
theorem erdos_413.variants.hasPosDensity_barrier_expProd :
    { n | IsBarrier (fun m => expProd m) n }.HasPosDensity := by
  sorry

/-- Erdős believed there should be infinitely many barriers for `Ω`, the total prime multiplicity. -/
@[category research open, question, AMS 11]
theorem erdos_413.variants.bigOmega :
    { n | IsBarrier (fun m => Ω m) n }.Infinite := by
  sorry

/-- Selfridge computed that the largest `Ω`-barrier below `10^5` is `99840`. -/
@[category research solved, AMS 11]
theorem erdos_413.variants.bigOmega_largest_barrier_lt_100k :
    IsGreatest {n : ℕ | n < 10 ^ 5 ∧ IsBarrier (fun m => Ω m) n} 99840 := by
  sorry

/-- Does there exist some $\epsilon > 0$ such that there are infinitely many
$\epsilon$-barriers for $\omega$? Lau [La26, Theorem 1.3] gives a positive answer. -/
@[category research solved, question, AMS 11]
theorem erdos_413.parts.ii :
    (∃ ε > (0 : ℝ), { n | IsBarrier (fun n => ε * ω n) n }.Infinite) := by
  sorry

end Erdos413

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos413.erdos_413.parts.i with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_i : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-413
nosorry submit erdos-413 nosorry/erdos-413/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.