{
  "id": "8303",
  "ident": "NS.08303",
  "slug": "wikipedia-pollocksconjecture",
  "title": "Pollock's (tetrahedral numbers) conjecture",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Pollock's (tetrahedral numbers) conjecture:\nevery integer is the sum of at most $5$ tetrahedral numbers.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "wikipedia",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "PollocksConjecture.pollock_tetrahedral",
  "statement_lean": "theorem pollock_tetrahedral (N : ℕ) :\n    ∃ f : Fin 5 → ℕ, N = ∑ i, tetrahedral (f i)",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Pollock's (tetrahedral numbers) conjecture\n\nEvery positive integer is the sum of at most 5 tetrahedral numbers.\n\n*References:*\n- [Wikipedia](https://en.wikipedia.org/wiki/Pollock%27s_conjectures)\n- [A797](https://oeis.org/A797)\n- L. E. Dickson, *History of the Theory of Numbers, Vol. II: Diophantine Analysis*, Dover (2005), pp. 22–23\n- Frederick Pollock, *On the extension of the principle of Fermat's theorem on the polygonal numbers to the higher order of series whose ultimate differences are constant*, Abstracts of the Papers Communicated to the Royal Society of London **5** (1850), 922–924\n- H. E. Salzer and N. Levine, *Table of integers not exceeding 100000 that are not expressible as the sum of four tetrahedral numbers*, Math. Comp. **12** (1958), 141–144\n- [MathWorld: Pollock's Conjecture](https://mathworld.wolfram.com/PollocksConjecture.html)\n-/\n\n@[expose] public section\n\nnamespace PollocksConjecture\n\nopen scoped BigOperators\n\n/-  ## Definitions -/\n\n/-- The $n$-th tetrahedral number: $T_n = \\frac{n(n+1)(n+2)}{6}$. -/\ndef tetrahedral (n : ℕ) : ℕ :=\n  n * (n + 1) * (n + 2) / 6\n\n/-  ## Auxiliary definition -/\n\n/-- The set of natural numbers that are **not** a sum of $4$ tetrahedral numbers. -/\ndef NotSumOfFourTetrahedral : Set ℕ :=\n  {N : ℕ | ∀ f : Fin 4 → ℕ, N ≠ ∑ i, tetrahedral (f i)}\n\n/-  ## Statements -/\n\n/--\nPollock's (tetrahedral numbers) conjecture:\nevery integer is the sum of at most $5$ tetrahedral numbers.\n-/\n@[category research open, AMS 11]\ntheorem pollock_tetrahedral (N : ℕ) :\n    ∃ f : Fin 5 → ℕ, N = ∑ i, tetrahedral (f i) := by\n  sorry\n\n/--\nSalzer–Levine strengthening (as stated on Wikipedia/OEIS):\nthere are exactly $241$ integers that are not a sum of $4$ tetrahedral numbers, and the largest is $343867$.\n-/\n@[category research open, AMS 11]\ntheorem pollock_tetrahedral.salzer_levine :\n    IsGreatest NotSumOfFourTetrahedral 343867 := by\n  sorry\n\n/-- As stated on Wikipedia/OEIS (A797), the set of exceptions has cardinality $241$. -/\n@[category textbook, AMS 11]\ntheorem pollock_tetrahedral.ncard_exceptions :\n    type_of% pollock_tetrahedral.salzer_levine ↔\n    NotSumOfFourTetrahedral.ncard = 241 := by\n  sorry\n\nend PollocksConjecture\n",
  "statement_hash": "11b1001a951d1f2c59bd96eac1efe518a25e6aad4fed37ead7746bdf83e31523",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}