Title:Erdős Problem 435
Statement:Let with for any prime and . What is the largest integer not of the form where the are integers?
If then the largest integer not of this form is This was first proved by Hwang and Song [HwSo24]. Independently this was found in the comment section by Peake and Cambie.
| Subjects: | Combinatorics (math.CO); Number Theory (math.NT) |
| MSC classes: | 05, 11 |
| Tags: | formal_proof |
| Cite as: | NS.02129 [math.CO] · NS.02129v1 for this version |
| Declaration: | Erdos435.erdos_435 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 2fa608929c50ec70e1f554ceef62e96b6c623b43f312b0de1c634559e410689c |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/435.lean |
Formal statement
theorem erdos_435 (n : ℕ) (hn : n ≠ 0)
(hpk : ∀ p k : ℕ, p.Prime → n ≠ p ^ k) :
IsGreatest
{m : ℤ | ¬ ∃ c : ℕ → ℕ, m = ∑ i ∈ Finset.Ico 1 n, (c i : ℤ) * (n.choose i : ℤ)}
((∑ p ∈ n.primeFactors,
(∑ d ∈ Finset.Icc 1 (n.factorization p), (n.choose (p ^ d) : ℤ)) * ((p : ℤ) - 1)) - n)Show the full Challenge.lean (57 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 435
*References:*
- [erdosproblems.com/435](https://www.erdosproblems.com/435)
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
theory*. Monographies de L'Enseignement Mathematique (1980).
- [HwSo24] W. Hwang and K. Song, *The Frobenius problem for Numerical Semigroups generated by
binomial coefficients*. arXiv:2412.17882 (2024).
-/
@[expose] public section
namespace Erdos435
set_option linter.style.formal_proof_palomar false in
/--
Let $n\in\mathbb{N}$ with $n\neq p^k$ for any prime $p$ and $k\geq 0$. What is the largest
integer not of the form
$$\sum_{1\leq i<n}c_i\binom{n}{i}$$
where the $c_i\geq 0$ are integers?
If $n=\prod p_k^{a_k}$ then the largest integer not of this form is
$$\sum_k \left( \sum_{1\leq d\leq a_k}\binom{n}{p_k^d}\right)(p_k-1)-n.$$
This was first proved by Hwang and Song [HwSo24]. Independently this was found in the comment
section by Peake and Cambie.
-/
@[category research solved, AMS 5 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/1d7b3f00780b85ed0462e79a1cd5650ee9055655/src/v4.29.1/ErdosProblems/Erdos435.lean"]
theorem erdos_435 (n : ℕ) (hn : n ≠ 0)
(hpk : ∀ p k : ℕ, p.Prime → n ≠ p ^ k) :
IsGreatest
{m : ℤ | ¬ ∃ c : ℕ → ℕ, m = ∑ i ∈ Finset.Ico 1 n, (c i : ℤ) * (n.choose i : ℤ)}
((∑ p ∈ n.primeFactors,
(∑ d ∈ Finset.Icc 1 (n.factorization p), (n.choose (p ^ d) : ℤ)) * ((p : ℤ) - 1)) - n) := by
sorry
end Erdos435
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos435.erdos_435 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_435 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-435 nosorry submit erdos-435 nosorry/erdos-435/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.