Title:Sums of a triangular number and three weighted cubes
Statement:Conjecture (i): Any positive integer can be written as with and , provided that $(b, c) \in {(1,2), (1,3), (1,4), (1,6), (2,2), (2,3), (2,4), (2,5), (2,6), (2,7), (2,20), (2,21), (2,34), (3,3), (3,4), (3,5), (3,6), (4,10)}$.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.06046 [math.NT] · NS.06046v1 for this version |
| Declaration: | OeisA262880.conjecture_1 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 857b0ddd10b06aac90457bd907dd4b2308015fdecd639ebcdab9bc8cb98adb09 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/262880.lean |
Formal statement
theorem conjecture_1 (p : ℕ × ℕ) (hp : p ∈ pairs1) (n : ℕ) (hn : 0 < n) :
∃ w x y z : ℕ, 0 < w ∧ n = Nat.triangular w + x ^ 3 + p.1 * y ^ 3 + p.2 * z ^ 3Show the full Challenge.lean (92 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Sums of a triangular number and three weighted cubes
Number of ordered ways to write $n$ as $\frac{w(w+1)}{2} + x^3 + y^3 + 2z^3$ with $w > 0$,
$0 \le x \le y$, and $z \ge 0$.
*References:*
- [A262880](https://oeis.org/A262880)
-/
@[expose] public section
namespace OeisA262880
/--
Number of ordered ways to write $n$ as $\frac{w(w+1)}{2} + x^3 + y^3 + 2z^3$ with $w > 0$,
$0 \le x \le y$, and $z \ge 0$.
-/
def a (n : ℕ) : ℕ :=
∑ w ∈ Finset.Ico 1 (n + 1),
∑ x ∈ Finset.range (n + 1),
∑ y ∈ Finset.Ico x (n + 1),
∑ z ∈ Finset.range (n + 1),
if Nat.triangular w + x ^ 3 + y ^ 3 + 2 * z ^ 3 == n then 1 else 0
@[category test, AMS 11]
theorem a_1 : a 1 = 1 := by decide
@[category test, AMS 11]
theorem a_2 : a 2 = 1 := by decide
@[category test, AMS 11]
theorem a_3 : a 3 = 3 := by decide
@[category test, AMS 11]
theorem a_4 : a 4 = 2 := by decide
@[category test, AMS 11]
theorem a_5 : a 5 = 3 := by decide
/-- The set of coefficient pairs $(b, c)$ for part (i) of the conjecture. -/
def pairs1 : Finset (ℕ × ℕ) :=
{(1, 2), (1, 3), (1, 4), (1, 6),
(2, 2), (2, 3), (2, 4), (2, 5), (2, 6), (2, 7), (2, 20), (2, 21), (2, 34),
(3, 3), (3, 4), (3, 5), (3, 6),
(4, 10)}
/--
Conjecture (i): Any positive integer can be written as $\frac{w(w+1)}{2} + x^3 + by^3 + cz^3$
with $w > 0$ and $x, y, z \ge 0$, provided that $(b, c) \in \{(1,2), (1,3), (1,4), (1,6),
(2,2), (2,3), (2,4), (2,5), (2,6), (2,7), (2,20), (2,21), (2,34), (3,3), (3,4), (3,5),
(3,6), (4,10)\}$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (p : ℕ × ℕ) (hp : p ∈ pairs1) (n : ℕ) (hn : 0 < n) :
∃ w x y z : ℕ, 0 < w ∧ n = Nat.triangular w + x ^ 3 + p.1 * y ^ 3 + p.2 * z ^ 3 := by
sorry
/-- The set of coefficient pairs $(b, c)$ for part (ii) of the conjecture. -/
def pairs2 : Finset (ℕ × ℕ) :=
{(3, 4), (3, 6), (4, 8)}
/--
Conjecture (ii): For $(b, c) \in \{(3,4), (3,6), (4,8)\}$, every nonnegative integer $n$ is of
the form $\frac{w(w+1)}{2} + 2x^3 + by^3 + cz^3$ for some nonnegative integers $w, x, y, z$.
-/
@[category research open, AMS 11]
theorem conjecture_2 (p : ℕ × ℕ) (hp : p ∈ pairs2) (n : ℕ) :
∃ w x y z : ℕ, n = Nat.triangular w + 2 * x ^ 3 + p.1 * y ^ 3 + p.2 * z ^ 3 := by
sorry
end OeisA262880
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA262880.conjecture_1 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture_1 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch oeis-262880 nosorry submit oeis-262880 nosorry/oeis-262880/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- conjecture-2 — open
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.