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 679

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:

Let ϵ>0\epsilon>0 and ω(n)\omega(n) count the number of distinct prime factors of nn. Are there infinitely many values of nn such that ω(n−k)<(1+ϵ)log⁡klog⁡log⁡k\omega(n-k) < (1+\epsilon)\frac{\log k}{\log\log k} for all k<nk<n which are sufficiently large depending on ϵ\epsilon only?

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

Formal statement

theorem erdos_679.parts.i :
    ∀ ε : ℝ, 0 < ε → ∃ K : ℕ, ∃ᶠ n : ℕ in atTop,
      ∀ k : ℕ, K < k → k < n →
        (ArithmeticFunction.cardDistinctFactors (n - k) : ℝ) <
          (1 + ε) * log k / log (log k)
Show the full Challenge.lean (67 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 679

*References:*
- [erdosproblems.com/679](https://www.erdosproblems.com/679)
- [Er79d] P. Erdős, Some unconventional problems in number theory.
  Acta Math. Acad. Sci. Hungar. 33 (1979), 71–80.
-/

@[expose] public section

open Filter Real

namespace Erdos679

/--
Let $\epsilon>0$ and $\omega(n)$ count the number of distinct prime factors of $n$.
Are there infinitely many values of $n$ such that
$$\omega(n-k) < (1+\epsilon)\frac{\log k}{\log\log k}$$
for all $k<n$ which are sufficiently large depending on $\epsilon$ only?
-/
@[category research open, question, AMS 11]
theorem erdos_679.parts.i :
    ∀ ε : ℝ, 0 < ε → ∃ K : ℕ, ∃ᶠ n : ℕ in atTop,
      ∀ k : ℕ, K < k → k < n →
        (ArithmeticFunction.cardDistinctFactors (n - k) : ℝ) <
          (1 + ε) * log k / log (log k) := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Can one show the stronger version with
$$\omega(n-k) < \frac{\log k}{\log\log k}+O(1)$$
is false?

DottedCalculator disproved this strengthening. For every additive constant $C$ and cutoff $K$,
all sufficiently large $n$ admit $K<k<n$ violating the bound.
-/
@[category research solved, question, AMS 11,
  formal_proof using lean4 at "https://github.com/AItoBit/erdos-679-additive-refutation/blob/4a53d358d1b7ade35d6f696f501c99b4d88c9e4c/Solution.lean"]
theorem erdos_679.parts.ii (C : ℝ) (K : ℕ) :
    ∀ᶠ n : ℕ in atTop, ∃ k < n, K < k ∧
      log (k : ℝ) / log (log k) + C ≤
        (ArithmeticFunction.cardDistinctFactors (n - k) : ℝ) := by
  sorry

end Erdos679

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos679.erdos_679.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-679
nosorry submit erdos-679 nosorry/erdos-679/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.