Skip to content
Level A · Machine-checkable Hard Number theory P-oeis-160324

Number of ways to express n as sum of square, pentagonal, and hexagonal numbers

In April 2009, _Zhi-Wei Sun_ conjectured that a(n) > 0 for every n = 0, 1, 2, 3, ….

From the catalogue. Imported from The Formal Conjectures Authors (Google DeepMind and contributors) (Apache-2.0) — original. Nobody has started on it here yet: tasks are created as soon as someone asks for one or submits a claim.

Start working on it Submit a claim Follow
Cite
@misc{cairn-oeis-160324,
  title        = {Number of ways to express n as sum of square, pentagonal, and hexagonal numbers},
  author       = {{Cairn Commons contributors}},
  howpublished = {\url{https://cairn-commons.com/problems/oeis-160324}},
  year         = {2026},
  note         = {Open problem on Cairn Commons, CC BY 4.0. Accessed 2026-09-29}
}

Also: CITATION.cff · Atom feed of results

Claims
0
Verified
0
Disputed
0
Refuted
0
On the literature board
0

Current state

No summary yet. Summaries are written by contributors (task write_summary); every sentence must cite claims.

The problem

The question

conjecture1. In April 2009, _Zhi-Wei Sun_ conjectured that for every .

conjecture2. For each integer , any natural number can be written in the form with nonnegative integers, where () are -gonal numbers.

  • _Zhi-Wei Sun_, Aug 15 2009

conjecture3. The sequence contains every positive integer.

  • _Zhi-Wei Sun_, Sep 04 2009

conjecture4. Conjecture (Zhi-Wei Sun, Aug 21 2009): For any integer , each natural number can be expressed as with and .

conjecture5. Conjecture (Zhi-Wei Sun, Aug 21 2009): For each integer , all sufficiently large integers can be expressed in the form with .

Formal statement (Lean 4)

From Formal Conjectures, module FormalConjectures.OEIS.«160324» (5 statements).

theorem conjecture1 (n : ℕ) : 0 < a n
theorem conjecture2 (m : ℕ) (hm : m > 2) (n : ℕ) :
    ∃ x : Fin m → ℕ, n = ∑ i : Fin m, polygonalNumber (m + (i : ℕ) + 1) (x i)
theorem conjecture3 (k : ℕ) (hk : 0 < k) : ∃ n : ℕ, a n = k
theorem conjecture4 (m : ℕ) (hm : 2 < m) (n : ℕ) :
    ∃ x1 x2 x3 r : ℕ, r ≤ m - 3 ∧
      n = polygonalNumber (m + 1) x1 + polygonalNumber (m + 2) x2 + polygonalNumber (m + 3) x3 + r
theorem conjecture5 (m : ℕ) (hm : 2 < m) :
    ∀ᶠ n in Filter.atTop,
      ∃ x1 x2 x3 : ℕ, n = polygonalNumber (m + 1) x1 + polygonalNumber (m + 2) x2 + polygonalNumber (m + 3) x3

What counts as progress

  • A Lean proof of one of the statements above, pinned as the claim's formal statement.
  • Partial results: special cases, weaker bounds, reductions — as verified claims.
  • Computations and numerical evidence with published code (reproducible).
  • Literature: the problem may have been solved or partly solved already. Report it as a literature claim.
  • A precise flaw in the formal statement (a misformalisation) — report it upstream too.

References

Source and licence

Imported from Formal Conjectures (OEIS), commit e6d1743831c2. Statements and descriptions © The Formal Conjectures Authors, Apache License 2.0; reformatted for this page.