Title:Four-square conjecture with powers of 2, 3, and 5
Statement:Zhi-Wei Sun's Four-Square Conjecture (A308734): Any integer can be written as for nonnegative integers .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.06185 [math.NT] · NS.06185v1 for this version |
| Declaration: | OeisA308734.conjecture |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | fc259a657be6567893b9726849f669802aae1f2b5e8431711c773b34262f2aa9 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/308734.lean |
Formal statement
theorem conjecture (n : ℕ) (hn : 1 < n) : A nShow the full Challenge.lean (77 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Four-square conjecture with powers of 2, 3, and 5
Any integer $n > 1$ can be written as $(2^a \cdot 3^b)^2 + (2^c \cdot 5^d)^2 + x^2 + y^2$
where $a, b, c, d, x, y$ are nonnegative integers.
Zhi-Wei Sun has offered a \$2,500 prize for the first proof.
*References:*
- [A308734](https://oeis.org/A308734)
- Z.-W. Sun, "Refining Lagrange's four-square theorem," *J. Number Theory* **175** (2017), 167-190.
https://doi.org/10.1016/j.jnt.2016.11.008
- Z.-W. Sun, "Restricted sums of four squares," *Int. J. Number Theory* **15** (2019), 1863-1893.
- Z.-W. Sun, "Various Refinements of Lagrange's Four-Square Theorem," Westlake Number Theory
Symposium, Nanjing University, China, 2020.
- S. Banerjee, "On a conjecture of Sun about sums of restricted squares," *J. Number Theory*
**256** (2024), 253-289.
-/
@[expose] public section
namespace OeisA308734
/-- The predicate that `n` can be written as $(2^a \cdot 3^b)^2 + (2^c \cdot 5^d)^2 + x^2 + y^2$
for nonnegative integers $a, b, c, d, x, y$. -/
def A (n : ℕ) : Prop :=
∃ a b c d x y : ℕ, n = (2 ^ a * 3 ^ b) ^ 2 + (2 ^ c * 5 ^ d) ^ 2 + x ^ 2 + y ^ 2
@[category test, AMS 11]
theorem a_2 : A 2 :=
⟨0, 0, 0, 0, 0, 0, by norm_num⟩
@[category test, AMS 11]
theorem a_3 : A 3 :=
⟨0, 0, 0, 0, 0, 1, by norm_num⟩
@[category test, AMS 11]
theorem a_4 : A 4 :=
⟨0, 0, 0, 0, 1, 1, by norm_num⟩
@[category test, AMS 11]
theorem a_5 : A 5 :=
⟨1, 0, 0, 0, 0, 0, by norm_num⟩
@[category test, AMS 11]
theorem a_6 : A 6 :=
⟨0, 0, 0, 0, 2, 0, by norm_num⟩
/--
**Zhi-Wei Sun's Four-Square Conjecture (A308734)**: Any integer $n > 1$ can be written as
$(2^a \cdot 3^b)^2 + (2^c \cdot 5^d)^2 + x^2 + y^2$ for nonnegative integers $a, b, c, d, x, y$.
-/
@[category research open, AMS 11]
theorem conjecture (n : ℕ) (hn : 1 < n) : A n := by
sorry
end OeisA308734
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA308734.conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch oeis-308734 nosorry submit oeis-308734 nosorry/oeis-308734/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.