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 685 · variants.trivial_lower_bound

Source:Erdős Problems
Textbook result A standard result, good for practice. First verified proof: +3 points.
Statement:reviewed
Statement:

For 1≤k≤n−11 \leq k \leq n - 1 the number of distinct prime divisors of (nk)\binom{n}{k} satisfies ω((nk))≥log⁡(nk)log⁡n.\omega\left(\binom{n}{k}\right) \geq \frac{\log \binom{n}{k}}{\log n}.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.02855 [math.NT] · NS.02855v1 for this version
Declaration:Erdos685.erdos_685.variants.trivial_lower_bound
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 3; accepted critique: up to 100
Statement hash:e620b7c6b7060e8b1c5bb8f2535895238627c328c2771b5921b07495c2fc9067
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/685.lean

Formal statement

theorem erdos_685.variants.trivial_lower_bound :
    ∀ n k : ℕ, 0 < k → k < n →
      Real.log (n.choose k : ℝ) / Real.log (n : ℝ) ≤ (ω (n.choose k) : ℝ)
Show the full Challenge.lean (105 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 685

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

@[expose] public section

open Filter
open scoped ArithmeticFunction.omega

namespace Erdos685

/-- `primeRecipSum k n` is the sum of $1/p$ over the primes $k < p < n$. -/
noncomputable def primeRecipSum (k n : ℕ) : ℝ :=
  ∑ p ∈ (Finset.Ioo k n).filter Nat.Prime, (1 : ℝ) / p

/-- Both ends are excluded: the only prime strictly between $2$ and $5$ is $3$. -/
@[category test, AMS 11]
theorem primeRecipSum_two_five : primeRecipSum 2 5 = 1 / 3 := by
  rw [primeRecipSum, show (Finset.Ioo 2 5).filter Nat.Prime = {3} by decide]
  norm_num

/--
Let $\epsilon > 0$ and let $n$ be large depending on $\epsilon$. Is it true that for all
$n^{\epsilon} < k \leq n^{1-\epsilon}$ the number of distinct prime divisors of $\binom{n}{k}$ is
$$(1+o(1))\, k \sum_{k < p < n} \frac{1}{p}?$$

The $o(1)$ is uniform in $k$.
-/
@[category research open, question, AMS 11]
theorem erdos_685.parts.i :
    ∀ ε > (0 : ℝ), ∀ δ > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ k : ℕ,
      (n : ℝ) ^ ε < (k : ℝ) → (k : ℝ) ≤ (n : ℝ) ^ (1 - ε) →
        |(ω (n.choose k) : ℝ) - (k : ℝ) * primeRecipSum k n| ≤
          δ * ((k : ℝ) * primeRecipSum k n) := by
  sorry

/--
Is it true that, for some constant $c > 0$, the number of distinct prime divisors of
$\binom{n}{k}$ is
$$(1+o(1))\, k \sum_{k < p < n} \frac{1}{p}$$
even for all $(\log n)^c \leq k \leq n^{1-\epsilon}$?

Here $\epsilon > 0$ is as in the first question, and the $o(1)$ is uniform in $k$.
-/
@[category research open, question, AMS 11]
theorem erdos_685.parts.ii :
    ∃ c > (0 : ℝ), ∀ ε > (0 : ℝ), ∀ δ > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ k : ℕ,
      Real.log (n : ℝ) ^ c ≤ (k : ℝ) → (k : ℝ) ≤ (n : ℝ) ^ (1 - ε) →
        |(ω (n.choose k) : ℝ) - (k : ℝ) * primeRecipSum k n| ≤
          δ * ((k : ℝ) * primeRecipSum k n) := by
  sorry

/--
For $1 \leq k \leq n - 1$ the number of distinct prime divisors of $\binom{n}{k}$ satisfies
$$\omega\left(\binom{n}{k}\right) \geq \frac{\log \binom{n}{k}}{\log n}.$$
-/
@[category textbook, AMS 11]
theorem erdos_685.variants.trivial_lower_bound :
    ∀ n k : ℕ, 0 < k → k < n →
      Real.log (n.choose k : ℝ) / Real.log (n : ℝ) ≤ (ω (n.choose k) : ℝ) := by
  intro n k hk0 hkn
  have hn : 1 < n := by omega
  have hchoose : n.choose k ≤ n ^ (ω (n.choose k)) := by
    have hc : (n.choose k).primeFactors.card = ω (n.choose k) := by
      simp only [Nat.primeFactors, List.card_toFinset, ArithmeticFunction.cardDistinctFactors_apply]
    calc
      n.choose k = ∏ p ∈ (n.choose k).primeFactors,
          p ^ (n.choose k).factorization p :=
        Nat.prod_primeFactors_pow_factorization (Nat.choose_ne_zero hkn.le)
      _ ≤ ∏ _p ∈ (n.choose k).primeFactors, n :=
        Finset.prod_le_prod' fun _ _ => Nat.pow_factorization_choose_le (by omega)
      _ = n ^ (ω (n.choose k)) := by simp [hc]
  have hp : 0 < Real.log (n : ℝ) := Real.log_pos (by exact_mod_cast hn)
  apply (div_le_iff₀ hp).mpr
  have hpow : (n.choose k : ℝ) ≤ (n : ℝ) ^ (ω (n.choose k)) := by
    exact_mod_cast hchoose
  have hlog := Real.log_le_log (Nat.cast_pos.mpr (Nat.choose_pos hkn.le)) hpow
  simpa only [Real.log_pow] using hlog

end Erdos685

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos685.erdos_685.variants.trivial_lower_bound with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_trivial_lower_bound : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk erdos-685--erdos-685-variants-trivial-lower-bound      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-685--erdos-685-variants-trivial-lower-bound
nosorry submit erdos-685--erdos-685-variants-trivial-lower-bound nosorry/erdos-685--erdos-685-variants-trivial-lower-bound/Solution.lean --wait

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.