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 309

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:

Let N≥1N\geq 1. How many integers can be written as the sum of distinct unit fractions with denominators from {1,…,N}\{1,\ldots,N\}? Are there o(log⁡N)o(\log N) such integers?

If the number of such integers is N(n)N(n) then it is trivial that N(n)≤log⁡n+O(1)N(n)\leq \log n+O(1). Yokota [Yo97] proved that N(n)≥log⁡n−O(log⁡log⁡n)N(n)\geq \log n-O(\log\log n).

Croot [Cr99] proved that every integer at most ≤∑n≤N1n−(92+o(1))(log⁡log⁡N)2log⁡N\leq \sum_{n\leq N}\frac{1}{n}-(\tfrac{9}{2}+o(1))\frac{(\log\log N)^2}{\log N} can be so represented.

If F(N)F(N) counts the number of integers which can be represented in this fashion, then the current best lower bound known is F(N)≥log⁡N+γ−(π23+o(1))(log⁡log⁡N)2log⁡NF(N) \geq \log N+\gamma -\left(\frac{\pi^2}{3}+o(1)\right)\frac{(\log\log N)^2}{\log N} due to Yokota [Yo02].

The answer to the question is no: F(N)∼log⁡NF(N) \sim \log N. Here 00 (the empty sum) is counted.

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

Formal statement

theorem erdos_309 :
    ¬ (fun N : ℕ => (F N : ℝ)) =o[atTop] fun N : ℕ => Real.log N
Show the full Challenge.lean (80 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 309

*References:*
- [erdosproblems.com/309](https://www.erdosproblems.com/309)
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [Yo97] Yokota, Hisashi, *On number of integers representable as a sum of unit fractions. II*.
  J. Number Theory (1997), 162--169.
- [Cr99] Croot, III, Ernest S., *On some questions of Erdős and Graham about Egyptian fractions*.
  Mathematika (1999), 359-372.
- [Yo02] Yokota, Hisashi, *On the number of integers representable as sums of unit fractions.
  III*. J. Number Theory (2002), 351--372.
-/

@[expose] public section

open Filter Asymptotics Topology

namespace Erdos309

/-- The number of integers which can be written as the sum of distinct unit fractions with
denominators from $\{1,\ldots,N\}$. -/
noncomputable def F (N : ℕ) : ℕ :=
  {m : ℕ | ∃ A : Finset ℕ, A ⊆ Finset.Icc 1 N ∧ ∑ n ∈ A, (1 / n : ℚ) = m}.ncard

set_option linter.style.formal_proof_palomar false in
/--
Let $N\geq 1$. How many integers can be written as the sum of distinct unit fractions with
denominators from $\{1,\ldots,N\}$? Are there $o(\log N)$ such integers?

If the number of such integers is $N(n)$ then it is trivial that $N(n)\leq \log n+O(1)$. Yokota
[Yo97] proved that $N(n)\geq \log n-O(\log\log n)$.

Croot [Cr99] proved that every integer at most
$$\leq \sum_{n\leq N}\frac{1}{n}-(\tfrac{9}{2}+o(1))\frac{(\log\log N)^2}{\log N}$$
can be so represented.

If $F(N)$ counts the number of integers which can be represented in this fashion, then the
current best lower bound known is
$$F(N) \geq \log N+\gamma -\left(\frac{\pi^2}{3}+o(1)\right)\frac{(\log\log N)^2}{\log N}$$
due to Yokota [Yo02].

The answer to the question is no: $F(N) \sim \log N$. Here $0$ (the empty sum) is counted.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos309.lean#L374"]
theorem erdos_309 :
    ¬ (fun N : ℕ => (F N : ℝ)) =o[atTop] fun N : ℕ => Real.log N := by
  sorry

set_option linter.style.formal_proof_palomar false in
/-- The number of representable integers satisfies $F(N) \sim \log N$. -/
@[category research solved, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos309.lean#L374"]
theorem erdos_309.variants.asymptotic :
    Tendsto (fun N : ℕ => (F N : ℝ) / Real.log N) atTop (𝓝 1) := by
  sorry

end Erdos309

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

nosorry fetch erdos-309
nosorry submit erdos-309 nosorry/erdos-309/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.