Title:Erdős Problem 321
1 result recorded on aiXiv
- solves The largest with all subset sums distinct has size where ; the upper bound follows from and the bound for Problem #320, the lower bound is implicit in Bettin–Grenié–Molteni–Sanna. — aiXiv:2609.00186, 2026-07 · claimed by its authors; no independent check recorded on aiXiv
From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.
Statement:Let be the size of the largest such that all sums are distinct for . What is ?
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.01698 [math.NT] · NS.01698v1 for this version |
| Declaration: | Erdos321.erdos_321 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | a2c61bb2b5545a4e95e6329973550f14344245f30201503daf6bb3b9edf33ee4 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/321.lean |
Formal statement
theorem erdos_321 (N : ℕ) :
R N = erdos_321.answerShow the full Challenge.lean (128 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 321
*Reference:* [erdosproblems.com/321](https://www.erdosproblems.com/321)
-/
@[expose] public section
open Filter Real
open scoped Finset
namespace Erdos321
/--
Let $R(N)$ be the size of the largest $A\subseteq\{1, ..., N\}$ such that all sums
$\sum_{n\in S} \frac{1}{n}$ are distinct for $S\subseteq A$.
-/
noncomputable def R (N : ℕ) : ℕ :=
sSup { #A | (A) (_ : A ⊆ Finset.Icc 1 N)
(_ : Set.InjOn (fun (S : Finset ℕ) ↦ ∑ n ∈ S, (1 : ℚ) / n) A.powerset) }
def erdos_321.answer : ℕ := sorry
/--
Let $R(N)$ be the size of the largest $A\subseteq\{1, ..., N\}$ such that all sums
$\sum_{n\in S} \frac{1}{n}$ are distinct for $S\subseteq A$. What is $R(N)$?
-/
@[category research open, question value, AMS 11]
theorem erdos_321 (N : ℕ) :
R N = erdos_321.answer := by
sorry
/-
Formalisation note: it's possible that solution to `erdos_321` needs to be
expressed asymptotically. To handle this we include `IsTheta`, `IsBigO`
and `IsLittleO` variants below. Since a solution is not known this necessitates
the use of an `answer` definition left as `sorry`. Trivial or sub-optimal solutions
will therefore exist to the asymptotic formalisations. A true solution to
the asymptotic variants should have a degree of optimality or non-triviality to it.
-/
def erdos_321.variants.isTheta.answer : ℕ → ℝ := sorry
/--
Let $R(N)$ be the size of the largest $A\subseteq\{1, ..., N\}$ such that all sums
$\sum_{n\in S} \frac{1}{n}$ are distinct for $S\subseteq A$. What is $\Theta(R(N))$?
-/
@[category research open, question value, AMS 11]
theorem erdos_321.variants.isTheta :
(fun N ↦ (R N : ℝ)) =Θ[atTop] erdos_321.variants.isTheta.answer := by
sorry
def erdos_321.variants.isBigO.answer : ℕ → ℝ := sorry
/--
Let $R(N)$ be the size of the largest $A\subseteq\{1, ..., N\}$ such that all sums $\sum_{n\in S} \frac{1}{n}$ are distinct for $S\subseteq A$. Find the simplest $g(N)$ such that $R(N) = O(g(N))$.
-/
@[category research open, question value, AMS 11]
theorem erdos_321.variants.isBigO :
(fun N ↦ (R N : ℝ)) =O[atTop] erdos_321.variants.isBigO.answer := by
sorry
def erdos_321.variants.isLittleO.answer : ℕ → ℝ := sorry
/--
Let $R(N)$ be the size of the largest $A\subseteq\{1, ..., N\}$ such that all sums $\sum_{n\in S} \frac{1}{n}$ are distinct for $S\subseteq A$. Find the simplest $g(N)$ such that $R(N) = o(g(N))$.
-/
@[category research open, question value, AMS 11]
theorem erdos_321.variants.isLittleO :
(fun N ↦ (R N : ℝ)) =o[atTop] erdos_321.variants.isLittleO.answer := by
sorry
/--
Let $R(N)$ be the maximal such size. Results of Bleicher and Erdős from [BlEr75] and [BlEr76b] imply that
$$
\frac{N}{\log N} \prod_{i=3}^{k} \log_i N \le R(N),
$$
valid for any $k \ge 4$ with $\log_k N \ge k$ and any $r \ge 1$ with $\log_{2r} N \ge 1$. (In these bounds $\log_i n$ denotes the $i$-fold iterated logarithm.)
[BlEr75] Bleicher, M. N. and Erdős, P., _The number of distinct subsums of $\sum_{1}^{N}\,1/i$_. Math. Comp. (1975), 29-42.
[BlEr76b] Bleicher, Michael N. and Erdős, Paul, _Denominators of Egyptian fractions. II_. Illinois J. Math. (1976), 598-613.
-/
@[category research solved, AMS 11]
theorem erdos_321.variants.lower (N k : ℕ) (hk : 4 ≤ k) (hkN : k ≤ log^[k] N) :
N / log N * ∏ i ∈ Finset.Icc 3 k, (log^[i] N) ≤ R N := by
sorry
/--
Let $R(N)$ be the maximal such size. Results of Bleicher and Erdős from [BlEr75] and [BlEr76b] imply that
$$
R(N) \le \frac{1}{\log 2} \log_r N \left( \frac{N}{\log N} \prod_{i=3}^{r} \log_i N \right),
$$
valid for any $k \ge 4$ with $\log_k N \ge k$ and any $r \ge 1$ with $\log_{2r} N \ge 1$. (In these bounds $\log_i n$ denotes the $i$-fold iterated logarithm.)
Since `Real.log` is defined on all of $\mathbb{R}$, the condition $\log_{2r} N \ge 1$ is
formalised as $\log_i N \ge 1$ for all $i \le 2r$, which is equivalent to it for the
genuine iterated logarithm and ensures that every intermediate iterate is positive.
[BlEr75] Bleicher, M. N. and Erdős, P., _The number of distinct subsums of $\sum_{1}^{N}\,1/i$_. Math. Comp. (1975), 29-42.
[BlEr76b] Bleicher, Michael N. and Erdős, Paul, _Denominators of Egyptian fractions. II_. Illinois J. Math. (1976), 598-613.
-/
@[category research solved, AMS 11]
theorem erdos_321.variants.upper (N r : ℕ) (hr : 1 ≤ r) (hrN : ∀ i ≤ 2 * r, 1 ≤ log^[i] N) :
R N ≤ 1 / log 2 * log^[r] N * N / log N * ∏ i ∈ Finset.Icc 3 r, (log^[i] N) := by
sorry
end Erdos321
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos321.erdos_321 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_321 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-321 nosorry submit erdos-321 nosorry/erdos-321/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-321-variants-istheta — open
- erdos-321-variants-isbigo — open
- erdos-321-variants-islittleo — open
- erdos-321-variants-lower — known result
- erdos-321-variants-upper — known result
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.