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 295 · exists_k

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

Helper lemma: for each NN, there exists kk and n1<...<nkn_1 < ... < n_k such that N≤n1<⋯<nkN ≤ n_1 < ⋯ < n_k with 1n1+...+1nk=1\frac 1 {n_1} + ... + \frac 1 {n_k} = 1.

Subjects:Combinatorics (math.CO); Number Theory (math.NT)
MSC classes:05, 11
Cite as:NS.01583 [math.CO] · NS.01583v1 for this version
Declaration:Erdos295.exists_k
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 3; accepted critique: up to 100
Statement hash:8919409c6c2a1941562ced1ce082958fae30cc88f5b4f14b3924ce6c383c154f
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/295.lean

Formal statement

lemma exists_k (N : ℕ) : ∃ (k : ℕ) (n : Fin k → ℕ),
    (∀ i, N ≤ n i) ∧ StrictMono n ∧ ∑ i, (1 / n i : ℝ) = 1
Show the full Challenge.lean (73 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 295

*Reference:* [erdosproblems.com/295](https://www.erdosproblems.com/295)
-/

@[expose] public section

open scoped Real

namespace Erdos295

/--
Helper lemma: for each $N$, there exists $k$ and $n_1 < ... < n_k$ such that
$N ≤ n_1 < ⋯ < n_k$ with $\frac 1 {n_1} + ... + \frac 1 {n_k} = 1$.
-/
@[category textbook, AMS 5 11]
lemma exists_k (N : ℕ) : ∃ (k : ℕ) (n : Fin k → ℕ),
    (∀ i, N ≤ n i) ∧ StrictMono n ∧ ∑ i, (1 / n i : ℝ) = 1 := by
  sorry

/--
Let $k(N)$ denote the smallest $k$ such that there exists
$N ≤ n_1 < ⋯ < n_k$ with $\frac 1 {n_1} + ... + \frac 1 {n_k} = 1$.

Such a $k$ exists by `exists_k`.
-/
noncomputable abbrev k (N : ℕ) : ℕ :=
  sInf {k | ∃ n : Fin k → ℕ, (∀ i, N ≤ n i) ∧ StrictMono n ∧ ∑ i, (1 / n i : ℝ) = 1}


/--
Let $k(N)$ denote the smallest $k$ such that there exists
$N ≤ n_1 < ⋯ < n_k$ with $\frac 1 {n_1} + ... + \frac 1 {n_k} = 1$

Is it true that $\lim_{N \to \infty} k(N) - (e - 1)N = \infty$?
-/
@[category research open, question, AMS 5 11]
theorem erdos_295 :
    Filter.atTop.Tendsto (fun N => k N - (rexp 1 - 1)*N) Filter.atTop := by
  sorry

/--
Erdős and Straus have proved the existence of some constant $c>0$
such that $-c < k(N)-(e-1)N \ll \frac N {\log N}$
-/
@[category research solved, AMS 5 11]
theorem erdos_295.variants.erdos_straus :
    ∃ᵉ (C > 0) (O > 0), ∀ᶠ (N : ℕ) in Filter.atTop,
      (k N - (rexp 1 - 1)*N) ∈ Set.Ioc (-C) (O * N / (N : ℝ).log):= by
  sorry

end Erdos295

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

nosorry desk erdos-295--exists-k      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-295--exists-k
nosorry submit erdos-295--exists-k nosorry/erdos-295--exists-k/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.