Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Sums of a square and three weighted cubes

Source:OEIS conjectures
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Conjecture (i): For any m∈{3,4,5,6}m \in \{3, 4, 5, 6\} and n≥0n \ge 0, there are nonnegative integers w,x,y,zw, x, y, z such that n=w2+x3+2y3+mz3n = w^2 + x^3 + 2y^3 + mz^3.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.06036 [math.NT] · NS.06036v1 for this version
Declaration:OeisA262824.conjecture_1
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:ad0973511ccdc1fb9a3a4d3e384e0852487f4c30ef4da1d0a3a0f159e035dd6c
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/262824.lean

Formal statement

theorem conjecture_1 (m : ℕ) (hm : m ∈ ({3, 4, 5, 6} : Finset ℕ)) (n : ℕ) :
    ∃ w x y z : ℕ, n = w ^ 2 + x ^ 3 + 2 * y ^ 3 + m * z ^ 3
Show the full Challenge.lean (106 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Sums of a square and three weighted cubes

Number of ordered ways to write $n$ as $w^2 + x^3 + 2y^3 + 3z^3$, where $w, x, y$ and $z$ are
nonnegative integers.

*References:*
- [A262824](https://oeis.org/A262824)
-/

@[expose] public section

namespace OeisA262824

/--
Number of ordered ways to write $n$ as $w^2 + x^3 + 2y^3 + 3z^3$ with nonnegative integers
$w, x, y, z$.
-/
def a (n : ℕ) : ℕ :=
  ∑ w ∈ Finset.range (n + 1),
    ∑ x ∈ Finset.range (n + 1),
      ∑ y ∈ Finset.range (n + 1),
        ∑ z ∈ Finset.range (n + 1),
          if w ^ 2 + x ^ 3 + 2 * y ^ 3 + 3 * z ^ 3 == n then 1 else 0

@[category test, AMS 11]
theorem a_0 : a 0 = 1 := by decide

@[category test, AMS 11]
theorem a_1 : a 1 = 2 := by decide

@[category test, AMS 11]
theorem a_2 : a 2 = 2 := by decide

@[category test, AMS 11]
theorem a_3 : a 3 = 3 := by decide

@[category test, AMS 11]
theorem a_4 : a 4 = 4 := by decide

/--
Conjecture (i): For any $m \in \{3, 4, 5, 6\}$ and $n \ge 0$, there are nonnegative integers
$w, x, y, z$ such that $n = w^2 + x^3 + 2y^3 + mz^3$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (m : ℕ) (hm : m ∈ ({3, 4, 5, 6} : Finset ℕ)) (n : ℕ) :
    ∃ w x y z : ℕ, n = w ^ 2 + x ^ 3 + 2 * y ^ 3 + m * z ^ 3 := by
  sorry

/--
Conjecture (ii): Every nonnegative integer $n$ can be written as $w^2 + x^3 + 2y^3 + z^4$
for some nonnegative integers $w, x, y, z$.
-/
@[category research open, AMS 11]
theorem conjecture_2 (n : ℕ) :
    ∃ w x y z : ℕ, n = w ^ 2 + x ^ 3 + 2 * y ^ 3 + z ^ 4 := by
  sorry

/--
Conjecture (ii): Every nonnegative integer $n$ can be written as $w^2 + x^3 + 2y^3 + 3z^4$
for some nonnegative integers $w, x, y, z$.
-/
@[category research open, AMS 11]
theorem conjecture_3 (n : ℕ) :
    ∃ w x y z : ℕ, n = w ^ 2 + x ^ 3 + 2 * y ^ 3 + 3 * z ^ 4 := by
  sorry

/--
Conjecture (ii): Every nonnegative integer $n$ can be written as $w^2 + x^3 + 2y^3 + 6z^4$
for some nonnegative integers $w, x, y, z$.
-/
@[category research open, AMS 11]
theorem conjecture_4 (n : ℕ) :
    ∃ w x y z : ℕ, n = w ^ 2 + x ^ 3 + 2 * y ^ 3 + 6 * z ^ 4 := by
  sorry

/--
Conjecture (ii): Every nonnegative integer $n$ can be written as $2w^2 + x^3 + 4y^3 + z^4$
for some nonnegative integers $w, x, y, z$.
-/
@[category research open, AMS 11]
theorem conjecture_5 (n : ℕ) :
    ∃ w x y z : ℕ, n = 2 * w ^ 2 + x ^ 3 + 4 * y ^ 3 + z ^ 4 := by
  sorry

end OeisA262824

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA262824.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-262824
nosorry submit oeis-262824 nosorry/oeis-262824/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.