{
  "id": "3540",
  "ident": "NS.03540",
  "slug": "erdos-891",
  "title": "Erdős Problem 891",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $2=p_1 < p_2 < \\cdots$ be the primes and $k\\geq 2$. Is it true that, for all sufficiently large\n$n$, there must exist an integer in $[n,n+p_1\\cdots p_k)$ with $>k$ many prime factors?",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos891.erdos_891",
  "statement_lean": "theorem erdos_891 :\n    ∀ k ≥ 2, ∀ᶠ n in atTop,\n    ∃ m ∈ Ico n (n + ∏ i ∈ range k, i.nth Nat.Prime), k < ω m",
  "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\npublic import FormalConjectures.Wikipedia.Dickson\n\n/-!\n# Erdős Problem 891\n\n*References:*\n- [erdosproblems.com/891](https://www.erdosproblems.com/891)\n- [Po18] Pólya, Georg, Zur arithmetischen {U}ntersuchung der {P}olynome. Math. Z. (1918), 143--148.\n- [Wikipedia] https://en.wikipedia.org/wiki/Dickson%27s_conjecture\n-/\n\n@[expose] public section\n\nopen Nat Filter Finset\nopen scoped ArithmeticFunction.omega\n\nnamespace Erdos891\n\n/--\nLet $2=p_1 < p_2 < \\cdots$ be the primes and $k\\geq 2$. Is it true that, for all sufficiently large\n$n$, there must exist an integer in $[n,n+p_1\\cdots p_k)$ with $>k$ many prime factors?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_891 :\n    ∀ k ≥ 2, ∀ᶠ n in atTop,\n    ∃ m ∈ Ico n (n + ∏ i ∈ range k, i.nth Nat.Prime), k < ω m := by\n  sorry\n\n/--\nSchinzel deduced from Pólya's theorem [Po18] (that the sequence of $k$-smooth integers has unbounded\ngaps) that this is true with $p_1\\cdots p_k$ replaced by $p_1\\cdots p_{k-1}p_{k+1}$.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_891.variants.schinzel :\n    ∀ k ≥ 2, ∀ᶠ n in atTop,\n      ∃ m ∈ Ico n (n + (∏ i ∈ range (k - 1), i.nth Nat.Prime) * k.nth Nat.Prime),\n      k < ω m := by\n  sorry\n\n/--\nThis is unknown even for $k=2$ - that is, is it true that in every interval of $6$\n(sufficiently large) consecutive integers there must exist one with at least $3$ prime factors?\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_891.variants.case_k_2 :\n    ∀ᶠ n in atTop,\n      ∃ m ∈ Ico n (n + 6), 3 ≤ ω m := by\n  sorry\n\n/--\nWeisenberg has observed that Dickson's conjecture implies the answer is no if we replace\n$p_1\\cdots p_k$ with $p_1\\cdots p_k-1$. Indeed, let $L_k$ be the lowest common multiple of all\nintegers at most $p_1\\cdots p_k$. By Dickson's conjecture [Wikipedia], there are infinitely many\n$n'$ such that $\\frac{L_k}{m}n'+1$ is prime for all $1\\leq m < p_1\\cdots p_k$. It follows that,\nif $n=L_kn'+1$, then all integers in $[n,n+p_1\\cdots p_k-1)$ have at most $k$ prime factors.\n\nThe statement is conditional on Dickson's conjecture, formalised as\n`Dickson.dickson_conjecture`.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_891.variants.weisenberg (k : ℕ) (hk : k ≥ 2)\n    (hdickson : type_of% Dickson.dickson_conjecture) :\n    ∃ᶠ n in atTop,\n      ∀ m ∈ Ico n (n + (∏ i ∈ range k, i.nth Nat.Prime) - 1),\n      ω m ≤ k := by\n  sorry\n\nend Erdos891\n",
  "statement_hash": "96ba04689528fb1fecdf5c30940ea3be49dbc01eef0aadc43eaf2e70eeb6b51e",
  "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."
}