Title:Erdős Problem 403
Statement:Does the equation with have only finitely many solutions?
Asked by Burr and Erdős. Frankl and Lin [Li76] independently showed that the answer is yes, and the largest solution is In fact Lin showed that the largest power of which can divide a sum of distinct factorials containing is , and that there are only 5 solutions to (when ).
See also [404].
A solution is encoded below as a pair where is the finite set of positive integers, so the distinctness of the is given by set membership. The empty set contributes no solutions since .
The linked proof gives more than finiteness: it classifies the solutions outright, as , , , and , so the set below has exactly five elements.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.02015 [math.NT] · NS.02015v1 for this version |
| Declaration: | Erdos403.erdos_403 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 50786fd054ade745e28f76fcc8f33952ee221960a071f1ed72adfb3153a25ba1 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/403.lean |
Formal statement
theorem erdos_403 :
{p : ℕ × Finset ℕ | (∀ a ∈ p.2, 0 < a) ∧
2 ^ p.1 = ∑ a ∈ p.2, a.factorial}.FiniteShow the full Challenge.lean (65 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 403
*References:*
- [erdosproblems.com/403](https://www.erdosproblems.com/403)
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial
number theory*. Monographies de L'Enseignement Mathématique (1980).
- [Li76] Lin, S., *On two problems of Erdős concerning sums of distinct factorials*.
Bell Laboratories internal memorandum (1960).
-/
@[expose] public section
namespace Erdos403
set_option linter.style.formal_proof_palomar false in
/--
Does the equation
$$2^m=a_1!+\cdots+a_k!$$
with $a_1<a_2<\cdots <a_k$ have only finitely many solutions?
Asked by Burr and Erdős. Frankl and Lin [Li76] independently showed that the answer is yes, and
the largest solution is
$$2^7=2!+3!+5!.$$
In fact Lin showed that the largest power of $2$ which can divide a sum of distinct factorials
containing $2$ is $2^{254}$, and that there are only 5 solutions to $3^m=a_1!+\cdots+a_k!$
(when $m=0,1,2,3,6$).
See also [404].
A solution is encoded below as a pair $(m, s)$ where $s$ is the finite set
$\{a_1 < a_2 < \cdots < a_k\}$ of positive integers, so the distinctness of the $a_i$ is
given by set membership. The empty set contributes no solutions since $2^m \geq 1 > 0$.
The linked proof gives more than finiteness: it classifies the solutions outright, as
$(0,\{1\})$, $(1,\{2\})$, $(3,\{2,3\})$, $(5,\{2,3,4\})$ and $(7,\{2,3,5\})$, so the set below
has exactly five elements.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/Jayyhk/erdos-lean/blob/f8a51976fd2e66a52b4928c109fb9ae877a1a507/problems/403/Erdos403.lean"]
theorem erdos_403 :
{p : ℕ × Finset ℕ | (∀ a ∈ p.2, 0 < a) ∧
2 ^ p.1 = ∑ a ∈ p.2, a.factorial}.Finite := by
sorry
end Erdos403
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos403.erdos_403 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_403 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-403 nosorry submit erdos-403 nosorry/erdos-403/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.