{
  "id": "3778",
  "ident": "NS.03778",
  "slug": "erdos-962",
  "title": "Erdős Problem 962",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Main conjecture:\n\n$\\log k(n) \\le (\\log n)^{(1/2 + o(1))}$",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos962.erdos_962",
  "statement_lean": "theorem erdos_962 :\n    ∃ ε : ℕ → ℝ,\n      (∀ δ > 0, ∀ᶠ n in atTop, |ε n| < δ) ∧\n      ∀ᶠ n : ℕ in atTop,\n        log (k n : ℝ)\n          ≤ rpow (log n) ((1 : ℝ) / 2 + ε n)",
  "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 962\n\n*References:*\n- [erdosproblems.com/962](https://www.erdosproblems.com/962)\n- [Er65] Erdős, P., Extremal problems in number theory. Proc. Sympos. Pure Math., Vol. VIII (1965), 181-189.\n- [Er76e] Erdős, P., Problems and results on consecutive integers. Publ. Math. Debrecen (1976), 271-282.\n- [Tang](https://github.com/QuanyuTang/erdos-problem-962/blob/main/On_Erd%C5%91s_Problem_962.pdf)\n- [Tao](https://www.erdosproblems.com/forum/thread/962)\n-/\n\n@[expose] public section\n\nopen Filter Real\n\nnamespace Erdos962\n\n/--\n`Erdos962Prop n k` : there exists $m \\le n$ such that each of\n$m+1, \\ldots, m+k$ has a prime divisor strictly larger than $k$.\n-/\ndef Erdos962Prop (n k : ℕ) : Prop :=\n  ∃ m ≤ n, ∀ i ∈ Set.Icc 1 k,\n    ∃ p : ℕ, Nat.Prime p ∧ k < p ∧ p ∣ (m + i)\n\n/--\nLet $k(n)$ be the maximal $k$ such that there exists $m \\le n$ with\n$m+1, \\ldots, m+k$ each divisible by a prime $> k$.\n-/\nnoncomputable def k (n : ℕ) : ℕ :=\n  open scoped Classical in\n  Nat.findGreatest (fun k => Erdos962Prop n k) n\n\n/--\nMain conjecture:\n\n$\\log k(n) \\le (\\log n)^{(1/2 + o(1))}$\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_962 :\n    ∃ ε : ℕ → ℝ,\n      (∀ δ > 0, ∀ᶠ n in atTop, |ε n| < δ) ∧\n      ∀ᶠ n : ℕ in atTop,\n        log (k n : ℝ)\n          ≤ rpow (log n) ((1 : ℝ) / 2 + ε n) := by\n  sorry\n\n/--\nTang's lower bound [Tang]:\n\n$\\log k(n) \\ge (1/\\sqrt{2} - o(1)) * \\sqrt{\\log n * \\log \\log n}$\n-/\n@[category research solved, AMS 11]\ntheorem erdos_962.variants.tang_lower_bound :\n    ∃ ε : ℕ → ℝ,\n      (∀ δ > 0, ∀ᶠ n in atTop, |ε n| < δ) ∧\n      ∀ᶠ n : ℕ in atTop,\n          (1 / sqrt 2 - ε n) *\n              sqrt (log n * log (log n))\n            ≤ log (k n : ℝ) := by\n  sorry\n\n/--\nTao's upper bound [Tao]:\n\n$k(n) \\le (1 + o(1)) * n^{1/2}$\n-/\n@[category research solved, AMS 11]\ntheorem erdos_962.variants.tao_upper_bound :\n    ∃ ε : ℕ → ℝ,\n      (∀ δ > 0, ∀ᶠ n in atTop, |ε n| < δ) ∧\n      ∀ᶠ n : ℕ in atTop,\n          (k n : ℝ) ≤ (1 + ε n) * sqrt n := by\n  sorry\n\nend Erdos962\n",
  "statement_hash": "19d6c5fce9ab1f9bcc14c3e57a72bdceec415ad50fe676b2caa530364a8a275f",
  "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."
}