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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Pollock's (tetrahedral numbers) conjecture · pollock_tetrahedral.ncard_exceptions

Source:Wikipedia lists of open problems
Textbook result A standard result, good for practice. First verified proof: +3 points.
Statement:reviewed
Statement:

As stated on Wikipedia/OEIS (A797), the set of exceptions has cardinality 241241.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.08305 [math.NT] · NS.08305v1 for this version
Declaration:PollocksConjecture.pollock_tetrahedral.ncard_exceptions
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 3; accepted critique: up to 100
Statement hash:11b1001a951d1f2c59bd96eac1efe518a25e6aad4fed37ead7746bdf83e31523
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Wikipedia/PollocksConjecture.lean

Formal statement

theorem pollock_tetrahedral.ncard_exceptions :
    type_of% pollock_tetrahedral.salzer_levine ↔
    NotSumOfFourTetrahedral.ncard = 241
Show the full Challenge.lean (80 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Pollock's (tetrahedral numbers) conjecture

Every positive integer is the sum of at most 5 tetrahedral numbers.

*References:*
- [Wikipedia](https://en.wikipedia.org/wiki/Pollock%27s_conjectures)
- [A797](https://oeis.org/A797)
- L. E. Dickson, *History of the Theory of Numbers, Vol. II: Diophantine Analysis*, Dover (2005), pp. 22–23
- 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
- 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
- [MathWorld: Pollock's Conjecture](https://mathworld.wolfram.com/PollocksConjecture.html)
-/

@[expose] public section

namespace PollocksConjecture

open scoped BigOperators

/-  ## Definitions -/

/-- The $n$-th tetrahedral number: $T_n = \frac{n(n+1)(n+2)}{6}$. -/
def tetrahedral (n : ℕ) : ℕ :=
  n * (n + 1) * (n + 2) / 6

/-  ## Auxiliary definition -/

/-- The set of natural numbers that are **not** a sum of $4$ tetrahedral numbers. -/
def NotSumOfFourTetrahedral : Set ℕ :=
  {N : ℕ | ∀ f : Fin 4 → ℕ, N ≠ ∑ i, tetrahedral (f i)}

/-  ## Statements -/

/--
Pollock's (tetrahedral numbers) conjecture:
every integer is the sum of at most $5$ tetrahedral numbers.
-/
@[category research open, AMS 11]
theorem pollock_tetrahedral (N : ℕ) :
    ∃ f : Fin 5 → ℕ, N = ∑ i, tetrahedral (f i) := by
  sorry

/--
Salzer–Levine strengthening (as stated on Wikipedia/OEIS):
there are exactly $241$ integers that are not a sum of $4$ tetrahedral numbers, and the largest is $343867$.
-/
@[category research open, AMS 11]
theorem pollock_tetrahedral.salzer_levine :
    IsGreatest NotSumOfFourTetrahedral 343867 := by
  sorry

/-- As stated on Wikipedia/OEIS (A797), the set of exceptions has cardinality $241$. -/
@[category textbook, AMS 11]
theorem pollock_tetrahedral.ncard_exceptions :
    type_of% pollock_tetrahedral.salzer_levine ↔
    NotSumOfFourTetrahedral.ncard = 241 := by
  sorry

end PollocksConjecture

To prove it: keep every definition of Challenge.lean unchanged and prove PollocksConjecture.pollock_tetrahedral.ncard_exceptions with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_ncard_exceptions : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk wikipedia-pollocksconjecture--pollock-tetrahedral-ncard-exceptions      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch wikipedia-pollocksconjecture--pollock-tetrahedral-ncard-exceptions
nosorry submit wikipedia-pollocksconjecture--pollock-tetrahedral-ncard-exceptions nosorry/wikipedia-pollocksconjecture--pollock-tetrahedral-ncard-exceptions/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.