Title:Erdős Problem 283
Statement:Let be a polynomial (with rational coefficients, taking integer values at all integers) whose leading coefficient is positive and such that there exists no with for all . Is it true that, for all sufficiently large , there exist integers such that and ?
GPT 5.5 Pro (prompted by Price) has given a proof that the answer is yes, for the stronger version with replaced by any rational .
This was formalized in Lean by Ammanamanchi using Opus 4.6 and GPT 5.5 Pro.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.01541 [math.NT] · NS.01541v1 for this version |
| Declaration: | Erdos283.erdos_283 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | c8acad775073b5ca29a78b7fe5d9aa72c08a9ce7994f4ca6496c27bfaecc8ed4 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/283.lean |
Formal statement
theorem erdos_283 : ∀ p : ℚ[X], Condition pShow the full Challenge.lean (153 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 283
*References:*
- [erdosproblems.com/283](https://www.erdosproblems.com/283)
- [Al19] Alekseyev, Max A., On partitions into squares of distinct integers whose
reciprocals sum to 1. (2019), 213--221.
- [Ca60] Cassels, J. W. S., On the representation of integers as the sums of distinct summands taken from a fixed set. Acta Sci. Math. (Szeged) (1960), 111-124.
- [Gr63] Graham, R. L., A theorem on partitions. J. Austral. Math. Soc. (1963), 435-441.
- [vD25] W. van Doorn, Partitions with prescribed sum of rationals: asymptotic bounds. arXiv:2502.02200 (2025).
-/
@[expose] public section
open Filter Polynomial Finset
namespace Erdos283
/--
Given a polynomial `p` with rational coefficients, the predicate that if `p` takes integer values
at all integers, the leading coefficient is positive and there exists no $d≥2$ with $d ∣ p(n)$ for
all $n≥1$, then for all sufficiently large $m$, there exist integers $1≤n_1<\dots < n_k$ such that
$$1=\frac{1}{n_1}+\cdots+\frac{1}{n_k}$$ and $$m=p(n_1)+\cdots+p(n_k)$$?
-/
def Condition (p : ℚ[X]) : Prop :=
(∀ n : ℤ, ∃ z : ℤ, p.eval (n : ℚ) = z) → p.leadingCoeff > 0 →
¬ (∃ d : ℤ, d ≥ 2 ∧ ∀ n : ℤ, n ≥ 1 → ∃ z : ℤ, p.eval (n : ℚ) = d * z) →
∀ᶠ (m : ℤ) in atTop, ∃ k ≥ 1, ∃ n : Fin (k + 1) → ℤ, 0 = n 0 ∧ StrictMono n ∧
1 = ∑ i ∈ Finset.Icc 1 (Fin.last k), (1 : ℚ) / (n i) ∧
(m : ℚ) = ∑ i ∈ Finset.Icc 1 (Fin.last k), p.eval (n i : ℚ)
set_option linter.style.formal_proof_palomar false in
/--
Let $p\colon \mathbb{Z} \rightarrow \mathbb{Z}$ be a polynomial (with rational coefficients,
taking integer values at all integers) whose leading coefficient is positive and such that there
exists no $d≥2$ with $d ∣ p(n)$ for all $n≥1$. Is it true that,
for all sufficiently large $m$, there exist integers $1≤n_1<\dots < n_k$ such that
$$1=\frac{1}{n_1}+\cdots+\frac{1}{n_k}$$
and
$$m=p(n_1)+\cdots+p(n_k)$$?
GPT 5.5 Pro (prompted by Price) has given a proof that the answer is yes, for the stronger version
with $1$ replaced by any rational $\alpha>0$.
This was formalized in Lean by Ammanamanchi using Opus 4.6 and GPT 5.5 Pro.
-/
@[category research solved, question, AMS 11, formal_proof using formal_conjectures at "https://github.com/Shashi456/erdos-formalizations/blob/286f856aa3fc08957b80950fd18a45aab8d045ea/Erdos/P283/Proof_flat.lean#L9738-L9746"]
theorem erdos_283 : ∀ p : ℚ[X], Condition p := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
Graham [Gr63] has proved this when $p(x)=x$.
-/
@[category research solved, AMS 11, formal_proof using lean4 at "https://github.com/anatoliiohorodnyk/lean-fc-proofs/blob/5da9642575b26c2c816a49bcb56b33fed5456619/Proofs/T_Erdos283_erdos_283_variants_graham.lean#L383"]
theorem erdos_283.variants.graham : Condition X := by
sorry
/--
Graham also conjectures that this remains true with $1$ replaced by an arbitrary rational $\alpha>0$
(provided $m$ is taken sufficiently large depending on $\alpha$).
-/
@[category research solved, AMS 11]
theorem erdos_283.variants.graham_alpha :
∀ (p : ℚ[X]) (α : ℚ),
(∀ n : ℤ, ∃ z : ℤ, p.eval (n : ℚ) = z) →
0 < p.leadingCoeff →
(¬ ∃ (d : ℤ), d ≥ 2 ∧ ∀ (n : ℤ), n ≥ 1 → ∃ z : ℤ, p.eval (n : ℚ) = d * z) →
α > 0 →
∀ᶠ (m : ℕ) in atTop,
∃ S : Finset ℕ, (∀ n ∈ S, 1 ≤ n) ∧
(∑ n ∈ S, (1 / (n : ℚ))) = α ∧
(∑ n ∈ S, p.eval (n : ℚ)) = (m : ℚ) := by
sorry
/--
Cassels [Ca60] has proved that these conditions on the polynomial imply every sufficiently large
integer is the sum of $p(n_i)$ with distinct $n_i$.
-/
@[category research solved, AMS 11]
theorem erdos_283.variants.cassels :
∀ (p : ℚ[X]),
(∀ n : ℤ, ∃ z : ℤ, p.eval (n : ℚ) = z) →
0 < p.leadingCoeff →
(¬ ∃ (d : ℤ), d ≥ 2 ∧ ∀ (n : ℤ), n ≥ 1 → ∃ z : ℤ, p.eval (n : ℚ) = d * z) →
∀ᶠ (m : ℕ) in atTop,
∃ S : Finset ℕ, (∀ n ∈ S, 1 ≤ n) ∧
(∑ n ∈ S, p.eval (n : ℚ)) = (m : ℚ) := by
sorry
/--
Burr has proved this if $p(x)=x^k$ with $k\geq 1$ and if we allow $n_i=n_j$.
-/
@[category research solved, AMS 11]
theorem erdos_283.variants.burr :
∀ (k : ℕ), k ≥ 1 →
∀ᶠ (m : ℕ) in atTop,
∃ M : Multiset ℕ, (∀ n ∈ M, 1 ≤ n) ∧
(M.map (fun n ↦ 1 / (n : ℚ))).sum = 1 ∧
(M.map (fun n ↦ (n : ℤ)^k)).sum = (m : ℤ) := by
sorry
/--
Alekseyev [Al19] has proved this when $p(x)=x^2$, for all $m>8542$.
-/
@[category research solved, AMS 11]
theorem erdos_283.variants.alekseyev :
∀ (m : ℕ), m > 8542 →
∃ S : Finset ℕ, (∀ n ∈ S, 1 ≤ n) ∧
(∑ n ∈ S, (1 / (n : ℚ))) = 1 ∧
(∑ n ∈ S, (n : ℤ)^2) = (m : ℤ) := by
sorry
/--
van Doorn [vD25] has investigated the question of what 'sufficiently large' means for $p(x)=x$.
van Doorn has also proved the original conjecture for many linear and quadratic polynomials.
For example, if $p(x) = x + b$ with $1 \leq b \leq 5000$, then the conjecture is true.
-/
@[category research solved, AMS 11]
theorem erdos_283.variants.van_doorn_linear :
∀ b : ℤ, 1 ≤ b → b ≤ 5000 → Condition (X + C (b : ℚ)) := by
sorry
/--
van Doorn [vD25] has proved the original conjecture for many linear and quadratic polynomials.
For example, if $p(x) = x^2 + b$ with $1 \leq b \leq 800$, then the conjecture is true.
-/
@[category research solved, AMS 11]
theorem erdos_283.variants.van_doorn_quadratic :
∀ b : ℤ, 1 ≤ b → b ≤ 800 → Condition (X^2 + C (b : ℚ)) := by
sorry
end Erdos283
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos283.erdos_283 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_283 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-283 nosorry submit erdos-283 nosorry/erdos-283/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-283-variants-graham — known result
- erdos-283-variants-graham-alpha — known result
- erdos-283-variants-cassels — known result
- erdos-283-variants-burr — known result
- erdos-283-variants-alekseyev — known result
- erdos-283-variants-van-doorn-linear — known result
- erdos-283-variants-van-doorn-quadratic — 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.