{
  "id": "2853",
  "ident": "NS.02853",
  "slug": "erdos-685",
  "title": "Erdős Problem 685",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $\\epsilon > 0$ and let $n$ be large depending on $\\epsilon$. Is it true that for all\n$n^{\\epsilon} < k \\leq n^{1-\\epsilon}$ the number of distinct prime divisors of $\\binom{n}{k}$ is\n$$(1+o(1))\\, k \\sum_{k < p < n} \\frac{1}{p}?$$\n\nThe $o(1)$ is uniform in $k$.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos685.erdos_685.parts.i",
  "statement_lean": "theorem erdos_685.parts.i :\n    ∀ ε > (0 : ℝ), ∀ δ > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ k : ℕ,\n      (n : ℝ) ^ ε < (k : ℝ) → (k : ℝ) ≤ (n : ℝ) ^ (1 - ε) →\n        |(ω (n.choose k) : ℝ) - (k : ℝ) * primeRecipSum k n| ≤\n          δ * ((k : ℝ) * primeRecipSum k 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 685\n\n*References:*\n- [erdosproblems.com/685](https://www.erdosproblems.com/685)\n- [Er79d] Erdős, P., *Some unconventional problems in number theory*. Acta Math. Acad. Sci.\n  Hungar. (1979), 71-80.\n-/\n\n@[expose] public section\n\nopen Filter\nopen scoped ArithmeticFunction.omega\n\nnamespace Erdos685\n\n/-- `primeRecipSum k n` is the sum of $1/p$ over the primes $k < p < n$. -/\nnoncomputable def primeRecipSum (k n : ℕ) : ℝ :=\n  ∑ p ∈ (Finset.Ioo k n).filter Nat.Prime, (1 : ℝ) / p\n\n/-- Both ends are excluded: the only prime strictly between $2$ and $5$ is $3$. -/\n@[category test, AMS 11]\ntheorem primeRecipSum_two_five : primeRecipSum 2 5 = 1 / 3 := by\n  rw [primeRecipSum, show (Finset.Ioo 2 5).filter Nat.Prime = {3} by decide]\n  norm_num\n\n/--\nLet $\\epsilon > 0$ and let $n$ be large depending on $\\epsilon$. Is it true that for all\n$n^{\\epsilon} < k \\leq n^{1-\\epsilon}$ the number of distinct prime divisors of $\\binom{n}{k}$ is\n$$(1+o(1))\\, k \\sum_{k < p < n} \\frac{1}{p}?$$\n\nThe $o(1)$ is uniform in $k$.\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_685.parts.i :\n    ∀ ε > (0 : ℝ), ∀ δ > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ k : ℕ,\n      (n : ℝ) ^ ε < (k : ℝ) → (k : ℝ) ≤ (n : ℝ) ^ (1 - ε) →\n        |(ω (n.choose k) : ℝ) - (k : ℝ) * primeRecipSum k n| ≤\n          δ * ((k : ℝ) * primeRecipSum k n) := by\n  sorry\n\n/--\nIs it true that, for some constant $c > 0$, the number of distinct prime divisors of\n$\\binom{n}{k}$ is\n$$(1+o(1))\\, k \\sum_{k < p < n} \\frac{1}{p}$$\neven for all $(\\log n)^c \\leq k \\leq n^{1-\\epsilon}$?\n\nHere $\\epsilon > 0$ is as in the first question, and the $o(1)$ is uniform in $k$.\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_685.parts.ii :\n    ∃ c > (0 : ℝ), ∀ ε > (0 : ℝ), ∀ δ > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ k : ℕ,\n      Real.log (n : ℝ) ^ c ≤ (k : ℝ) → (k : ℝ) ≤ (n : ℝ) ^ (1 - ε) →\n        |(ω (n.choose k) : ℝ) - (k : ℝ) * primeRecipSum k n| ≤\n          δ * ((k : ℝ) * primeRecipSum k n) := by\n  sorry\n\n/--\nFor $1 \\leq k \\leq n - 1$ the number of distinct prime divisors of $\\binom{n}{k}$ satisfies\n$$\\omega\\left(\\binom{n}{k}\\right) \\geq \\frac{\\log \\binom{n}{k}}{\\log n}.$$\n-/\n@[category textbook, AMS 11]\ntheorem erdos_685.variants.trivial_lower_bound :\n    ∀ n k : ℕ, 0 < k → k < n →\n      Real.log (n.choose k : ℝ) / Real.log (n : ℝ) ≤ (ω (n.choose k) : ℝ) := by\n  intro n k hk0 hkn\n  have hn : 1 < n := by omega\n  have hchoose : n.choose k ≤ n ^ (ω (n.choose k)) := by\n    have hc : (n.choose k).primeFactors.card = ω (n.choose k) := by\n      simp only [Nat.primeFactors, List.card_toFinset, ArithmeticFunction.cardDistinctFactors_apply]\n    calc\n      n.choose k = ∏ p ∈ (n.choose k).primeFactors,\n          p ^ (n.choose k).factorization p :=\n        Nat.prod_primeFactors_pow_factorization (Nat.choose_ne_zero hkn.le)\n      _ ≤ ∏ _p ∈ (n.choose k).primeFactors, n :=\n        Finset.prod_le_prod' fun _ _ => Nat.pow_factorization_choose_le (by omega)\n      _ = n ^ (ω (n.choose k)) := by simp [hc]\n  have hp : 0 < Real.log (n : ℝ) := Real.log_pos (by exact_mod_cast hn)\n  apply (div_le_iff₀ hp).mpr\n  have hpow : (n.choose k : ℝ) ≤ (n : ℝ) ^ (ω (n.choose k)) := by\n    exact_mod_cast hchoose\n  have hlog := Real.log_le_log (Nat.cast_pos.mpr (Nat.choose_pos hkn.le)) hpow\n  simpa only [Real.log_pow] using hlog\n\nend Erdos685\n",
  "statement_hash": "e620b7c6b7060e8b1c5bb8f2535895238627c328c2771b5921b07495c2fc9067",
  "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."
}