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 407

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 w(n)w(n) count the number of solutions to n=2a+3b+2c3dn=2^a+3^b+2^c3^d with a,b,c,d≥0a,b,c,d\geq 0 integers. Is it true that w(n)w(n) is bounded by some absolute constant?

A conjecture originally due to Newman.

This is true, and was proved by Evertse, Győry, Stewart, and Tijdeman [EGST88].

Quantitative bounds were provided by Tijdeman and Wang [TiWa88], who proved that (if w(n)w(n) only counts distinct solutions, where we call two solutions distinct if the sets {2a,3b,2c3d}\{2^a,3^b,2^{c}3^d\} are distinct) then w(n)≤4w(n) \leq 4 for all large nn.

This was made effective by Bajpai and Bennett [BaBe24], who proved that w(n)≤4w(n)\leq 4 if n≥131082n\geq 131082 and w(n)≤9w(n)\leq 9 for all nn. (The largest nn for which w(n)=9w(n)=9 is 299299.)

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

Formal statement

theorem erdos_407 : ∃ C : ℕ, ∀ n : ℕ, w n ≤ C
Show the full Challenge.lean (67 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 407

*References:*
- [erdosproblems.com/407](https://www.erdosproblems.com/407)
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [EGST88] Evertse, J.-H. and Győry, K. and Stewart, C. L. and Tijdeman, R., *$S$-unit equations
  and their applications*. New advances in transcendence theory (Durham, 1986) (1988), 110-174.
- [TiWa88] Tijdeman, R. and Wang, Lian Xiang, *Sums of products of powers of given prime
  numbers*. Pacific J. Math. (1988), 177-193.
- [BaBe24] Bajpai, Prajeet and Bennett, Michael A., *Effective $S$-unit equations beyond three
  terms: Newman's conjecture*. Acta Arith. (2024), 421-458.
-/

@[expose] public section

namespace Erdos407

/-- `w n` counts the ordered quadruples $(a,b,c,d)$ of nonnegative integers with
$n=2^a+3^b+2^c3^d$. -/
noncomputable def w (n : ℕ) : ℕ :=
  {x : ℕ × ℕ × ℕ × ℕ | 2 ^ x.1 + 3 ^ x.2.1 + 2 ^ x.2.2.1 * 3 ^ x.2.2.2 = n}.ncard

set_option linter.style.formal_proof_palomar false in
/--
Let $w(n)$ count the number of solutions to
$$n=2^a+3^b+2^c3^d$$
with $a,b,c,d\geq 0$ integers. Is it true that $w(n)$ is bounded by some absolute constant?

A conjecture originally due to Newman.

This is true, and was proved by Evertse, Győry, Stewart, and Tijdeman [EGST88].

Quantitative bounds were provided by Tijdeman and Wang [TiWa88], who proved that (if $w(n)$ only
counts distinct solutions, where we call two solutions distinct if the sets
$\{2^a,3^b,2^{c}3^d\}$ are distinct) then $w(n) \leq 4$ for all large $n$.

This was made effective by Bajpai and Bennett [BaBe24], who proved that $w(n)\leq 4$ if
$n\geq 131082$ and $w(n)\leq 9$ for all $n$. (The largest $n$ for which $w(n)=9$ is $299$.)
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos407.lean#L257"]
theorem erdos_407 : ∃ C : ℕ, ∀ n : ℕ, w n ≤ C := by
  sorry

end Erdos407

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

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