{
  "id": "2835",
  "ident": "NS.02835",
  "slug": "erdos-679",
  "title": "Erdős Problem 679",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $\\epsilon>0$ and $\\omega(n)$ count the number of distinct prime factors of $n$.\nAre there infinitely many values of $n$ such that\n$$\\omega(n-k) < (1+\\epsilon)\\frac{\\log k}{\\log\\log k}$$\nfor all $k<n$ which are sufficiently large depending on $\\epsilon$ only?",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos679.erdos_679.parts.i",
  "statement_lean": "theorem erdos_679.parts.i :\n    ∀ ε : ℝ, 0 < ε → ∃ K : ℕ, ∃ᶠ n : ℕ in atTop,\n      ∀ k : ℕ, K < k → k < n →\n        (ArithmeticFunction.cardDistinctFactors (n - k) : ℝ) <\n          (1 + ε) * log k / log (log k)",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 679\n\n*References:*\n- [erdosproblems.com/679](https://www.erdosproblems.com/679)\n- [Er79d] P. Erdős, Some unconventional problems in number theory.\n  Acta Math. Acad. Sci. Hungar. 33 (1979), 71–80.\n-/\n\n@[expose] public section\n\nopen Filter Real\n\nnamespace Erdos679\n\n/--\nLet $\\epsilon>0$ and $\\omega(n)$ count the number of distinct prime factors of $n$.\nAre there infinitely many values of $n$ such that\n$$\\omega(n-k) < (1+\\epsilon)\\frac{\\log k}{\\log\\log k}$$\nfor all $k<n$ which are sufficiently large depending on $\\epsilon$ only?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_679.parts.i :\n    ∀ ε : ℝ, 0 < ε → ∃ K : ℕ, ∃ᶠ n : ℕ in atTop,\n      ∀ k : ℕ, K < k → k < n →\n        (ArithmeticFunction.cardDistinctFactors (n - k) : ℝ) <\n          (1 + ε) * log k / log (log k) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nCan one show the stronger version with\n$$\\omega(n-k) < \\frac{\\log k}{\\log\\log k}+O(1)$$\nis false?\n\nDottedCalculator disproved this strengthening. For every additive constant $C$ and cutoff $K$,\nall sufficiently large $n$ admit $K<k<n$ violating the bound.\n-/\n@[category research solved, question, AMS 11,\n  formal_proof using lean4 at \"https://github.com/AItoBit/erdos-679-additive-refutation/blob/4a53d358d1b7ade35d6f696f501c99b4d88c9e4c/Solution.lean\"]\ntheorem erdos_679.parts.ii (C : ℝ) (K : ℕ) :\n    ∀ᶠ n : ℕ in atTop, ∃ k < n, K < k ∧\n      log (k : ℝ) / log (log k) + C ≤\n        (ArithmeticFunction.cardDistinctFactors (n - k) : ℝ) := by\n  sorry\n\nend Erdos679\n",
  "statement_hash": "b14336a985c4c70f148963cbc4586172d9839fd8200b4cf6b797a761137c59f2",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}