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 890 · variants.liminf_lower_bound

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

A question of Erdős and Selfridge [ErSe67], who observe that lim inf⁡n→∞∑0≤i<kω(n+i)≥k+π(k)−1\liminf_{n\to \infty}\sum_{0\leq i < k}\omega(n+i)\geq k+\pi(k)-1 for every kk. This follows from Pólya's theorem that the set of kk-smooth integers has unbounded gaps - indeed, n(n+1)⋯(n+k−1)n(n+1)\cdots (n+k-1) is divisible by all primes ≤k\leq k and, provided nn is large, all but at most one of n,n+1,…,n+k−1n,n+1,\ldots,n+k-1 has a prime factor >k>k by Pólya's theorem.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.03538 [math.NT] · NS.03538v1 for this version
Declaration:Erdos890.erdos_890.variants.liminf_lower_bound
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:95cb08457f049d4aa28d23bc625077efcedafe63d0477418bfcafdbeccfe1717
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/890.lean

Formal statement

theorem erdos_890.variants.liminf_lower_bound (k : ℕ) :
    liminf (fun n ↦ (∑ i ∈ range k, (ω (n + i) : EReal))) atTop ≥ k + π k - 1
Show the full Challenge.lean (85 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 890

*Reference:*
- [erdosproblems.com/890](https://www.erdosproblems.com/890)
- [ErSe67] Erdős, P. and Selfridge, J. L., Some problems on the prime factors of consecutive
  integers. Illinois J. Math. (1967), 428--430.
-/

@[expose] public section

open Filter Finset Real
open scoped Nat.Prime ArithmeticFunction.omega

namespace Erdos890

/-- `omegaGt k n` counts the number of distinct prime factors of `n` that are strictly
greater than `k`. -/
def omegaGt (k n : ℕ) : ℕ :=
  (n.primeFactors.filter (· > k)).card

local notation "ω_gt" => omegaGt

/--
If $\omega_k(n)$ counts the number of distinct prime factors of $n$ which are $>k$, then is it true
that, for every $k\geq 1$,
$$\liminf_{n\to \infty}\sum_{0\leq i < k}\omega_k(n+i)\leq k?$$
-/
@[category research open, question, AMS 11]
theorem erdos_890.parts.a :
    ∀ k ≥ 1, liminf (fun n ↦ (∑ i ∈ range k, (ω_gt k (n + i) : EReal))) atTop ≤ k := by
  sorry

/--
Is it true that
$$\limsup_{n\to \infty}\left(\sum_{0\leq i < k}\omega(n+i)\right) \frac{\log\log n}{\log n}=1,$$
where $\omega$ counts the number of distinct prime factors without restriction?
-/
@[category research open, question, AMS 11]
theorem erdos_890.parts.b :
    ∀ k ≥ 1, limsup (fun n ↦ (∑ i ∈ range k, (ω (n + i) : EReal)) *
      (log (log n) / log n)) atTop = 1 := by
  sorry

/--
A question of Erdős and Selfridge [ErSe67], who observe that
$\liminf_{n\to \infty}\sum_{0\leq i < k}\omega(n+i)\geq k+\pi(k)-1$ for every $k$. This follows from
Pólya's theorem that the set of $k$-smooth integers has unbounded gaps - indeed,
$n(n+1)\cdots (n+k-1)$ is divisible by all primes $\leq k$ and, provided $n$ is large, all but at
most one of $n,n+1,\ldots,n+k-1$ has a prime factor $>k$ by Pólya's theorem.
-/
@[category research solved, AMS 11]
theorem erdos_890.variants.liminf_lower_bound (k : ℕ) :
    liminf (fun n ↦ (∑ i ∈ range k, (ω (n + i) : EReal))) atTop ≥ k + π k - 1 := by
  sorry

/--
It is a classical fact that $\limsup_{n\to \infty}\omega(n)\frac{\log\log n}{\log n}=1.$
-/
@[category research solved, AMS 11]
theorem erdos_890.variants.omega_limsup :
    limsup (fun n ↦ (ω n : EReal) * (log (log n) / log n)) atTop = 1 := by
  sorry

end Erdos890

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

nosorry desk erdos-890--erdos-890-variants-liminf-lower-bound      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-890--erdos-890-variants-liminf-lower-bound
nosorry submit erdos-890--erdos-890-variants-liminf-lower-bound nosorry/erdos-890--erdos-890-variants-liminf-lower-bound/Solution.lean --wait

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.