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 305

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

For integers 1≤a<b1\leq a<b let D(a,b)D(a,b) be the minimal value of nkn_k such that there exist integers 1≤n1<⋯<nk1\leq n_1<\cdots <n_k with ab=1n1+⋯+1nk.\frac{a}{b}=\frac{1}{n_1}+\cdots+\frac{1}{n_k}. Estimate D(b)=max⁡1≤a<bD(a,b)D(b)=\max_{1\leq a<b}D(a,b). Is it true that D(b)≪b(log⁡b)1+o(1)?D(b) \ll b(\log b)^{1+o(1)}?

Bleicher and Erdős [BlEr76] have shown that D(b)≪b(log⁡b)2D(b)\ll b(\log b)^2. If b=pb=p is a prime then D(p)≫plog⁡pD(p) \gg p\log p.

This was solved by Yokota [Yo88], who proved that D(b)≪b(log⁡b)(log⁡log⁡b)4(log⁡log⁡log⁡b)2.D(b)\ll b(\log b)(\log\log b)^4(\log\log\log b)^2. This was improved by Liu and Sawhney [LiSa24] to D(b)≪b(log⁡b)(log⁡log⁡b)3(log⁡log⁡log⁡b)O(1).D(b)\ll b(\log b)(\log\log b)^3(\log\log\log b)^{O(1)}.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question, formal_proof
Cite as:NS.01642 [math.NT] · NS.01642v1 for this version
Declaration:Erdos305.erdos_305
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:300453550addbf58419765c4d4b344a3e0f02ae7bb4d7a81634f50ef5316abdd
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/305.lean

Formal statement

theorem erdos_305 : ∃ δ : ℕ → ℝ, Tendsto δ atTop (nhds 0) ∧
    ∃ C : ℝ, 0 < C ∧ ∀ᶠ b : ℕ in atTop,
      (Dmax b : ℝ) ≤ C * b * (log b) ^ (1 + δ b)
Show the full Challenge.lean (103 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 305

*References:*
- [erdosproblems.com/305](https://www.erdosproblems.com/305)
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [BlEr76] Bleicher, M. N. and Erdős, P., *Denominators of unit fractions*. J. Number Th. (1976),
  157-168.
- [Yo88] Yokota, H., *On a problem of Bleicher and Erdős*. J. Number Theory (1988), 198-207.
- [LiSa24] Liu, Y. and Sawhney, M., *On further questions regarding unit fractions*.
  arXiv:2404.07113 (2024).
-/

@[expose] public section

open Filter Real

namespace Erdos305

/--
`D a b` is the minimal value of $n_k$ such that there exist integers $1\leq n_1<\cdots <n_k$ with
$\frac{a}{b}=\frac{1}{n_1}+\cdots+\frac{1}{n_k}$.
-/
noncomputable def D (a b : ℕ) : ℕ :=
  sInf {B | ∃ E : Finset ℕ, 0 ∉ E ∧ (∀ n ∈ E, n ≤ B) ∧
    ∑ n ∈ E, (1 : ℚ) / n = a / b}

/-- $D(b)=\max_{1\leq a<b}D(a,b)$. -/
noncomputable def Dmax (b : ℕ) : ℕ := (Finset.Ico 1 b).sup fun a ↦ D a b

set_option linter.style.formal_proof_palomar false in
/--
For integers $1\leq a<b$ let $D(a,b)$ be the minimal value of $n_k$ such that there exist
integers $1\leq n_1<\cdots <n_k$ with
$$\frac{a}{b}=\frac{1}{n_1}+\cdots+\frac{1}{n_k}.$$
Estimate $D(b)=\max_{1\leq a<b}D(a,b)$. Is it true that
$$D(b) \ll b(\log b)^{1+o(1)}?$$

Bleicher and Erdős [BlEr76] have shown that $D(b)\ll b(\log b)^2$. If $b=p$ is a prime then
$D(p) \gg p\log p$.

This was solved by Yokota [Yo88], who proved that
$$D(b)\ll b(\log b)(\log\log b)^4(\log\log\log b)^2.$$
This was improved by Liu and Sawhney [LiSa24] to
$$D(b)\ll b(\log b)(\log\log b)^3(\log\log\log b)^{O(1)}.$$
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos305.lean#L217"]
theorem erdos_305 : ∃ δ : ℕ → ℝ, Tendsto δ atTop (nhds 0) ∧
    ∃ C : ℝ, 0 < C ∧ ∀ᶠ b : ℕ in atTop,
      (Dmax b : ℝ) ≤ C * b * (log b) ^ (1 + δ b) := by
  sorry

/-- Bleicher and Erdős [BlEr76] have shown that $D(b)\ll b(\log b)^2$. -/
@[category research solved, AMS 11]
theorem erdos_305.variants.bleicher_erdos : ∃ C : ℝ, 0 < C ∧
    ∀ᶠ b : ℕ in atTop, (Dmax b : ℝ) ≤ C * b * (log b) ^ 2 := by
  sorry

/-- If $b=p$ is a prime then $D(p) \gg p\log p$. -/
@[category research solved, AMS 11]
theorem erdos_305.variants.prime_lower_bound : ∃ c : ℝ, 0 < c ∧
    ∀ᶠ p : ℕ in atTop, p.Prime → c * p * log p ≤ Dmax p := by
  sorry

/--
Yokota [Yo88] proved that $D(b)\ll b(\log b)(\log\log b)^4(\log\log\log b)^2$.
-/
@[category research solved, AMS 11]
theorem erdos_305.variants.yokota : ∃ C : ℝ, 0 < C ∧ ∀ᶠ b : ℕ in atTop,
    (Dmax b : ℝ) ≤ C * b * log b * log (log b) ^ 4 * log (log (log b)) ^ 2 := by
  sorry

/--
Liu and Sawhney [LiSa24] proved that $D(b)\ll b(\log b)(\log\log b)^3(\log\log\log b)^{O(1)}$.
-/
@[category research solved, AMS 11]
theorem erdos_305.variants.liu_sawhney : ∃ C K : ℝ, 0 < C ∧ ∀ᶠ b : ℕ in atTop,
    (Dmax b : ℝ) ≤ C * b * log b * log (log b) ^ 3 * log (log (log b)) ^ K := by
  sorry

end Erdos305

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

nosorry fetch erdos-305
nosorry submit erdos-305 nosorry/erdos-305/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.