A **tetrahedral number**, or **triangular pyramidal number**, is a figurate number that represents a pyramid with a triangular base and three sides, called a tetrahedron. The nth tetrahedral number, Te_{n}, is the sum of the first n triangular numbers, that is,

The tetrahedral numbers are:

- 1, 4, 10, 20, 35, 56, 84, 120, 165, 220, ... (sequence A000292 in the OEIS)

The formula for the nth tetrahedral number is represented by the 3rd rising factorial of n divided by the factorial of 3:

The tetrahedral numbers can also be represented as binomial coefficients:

Tetrahedral numbers can therefore be found in the fourth position either from left or right in Pascal's triangle.

This proof uses the fact that the nth triangular number is given by

It proceeds by induction.

- Base case

- Inductive step

The formula can also be proved by Gosper's algorithm.

Tetrahedral and triangular numbers are related through the recursive formulas

The equation becomes

Substituting for in equation

Thus, the th tetrahedral number satisfies the following recursive equation

The pattern found for triangular numbers and for tetrahedral numbers can be generalized. This leads to the formula:^{[1]}

Tetrahedral numbers can be modelled by stacking spheres. For example, the fifth tetrahedral number (*Te*_{5} = 35) can be modelled with 35 billiard balls and the standard triangular billiards ball frame that holds 15 balls in place. Then 10 more balls are stacked on top of those, then another 6, then another three and one ball at the top completes the tetrahedron.

When order-n tetrahedra built from *Te*_{n} spheres are used as a unit, it can be shown that a space tiling with such units can achieve a densest sphere packing as long as *n* ≤ 4.^{[2]}^{[dubious – discuss]}

By analogy with the cube root of x, one can define the (real) tetrahedral root of x as the number *n* such that *Te*_{n} = *x*:

which follows from Cardano's formula. Equivalently, if the real tetrahedral root n of x is an integer, x is the nth tetrahedral number.

*Te*_{n}+*Te*_{n−1}= 1^{2}+ 2^{2}+ 3^{2}... +*n*^{2}, the square pyramidal numbers.*Te*_{2n+1}= 1^{2}+ 3^{2}... +*(2n+1)*^{2}, sum of odd squares.*Te*_{2n }= 2^{2}+ 4^{2}... +*(2n)*^{2}, sum of even squares.

- A. J. Meyl proved in 1878 that only three tetrahedral numbers are also perfect squares, namely:
*Te*_{1 }= 1^{2}= 1*Te*_{2 }= 2^{2}= 4*Te*_{48}= 140^{2}= 19600.

- Sir Frederick Pollock conjectured that every number is the sum of at most 5 tetrahedral numbers: see Pollock tetrahedral numbers conjecture.
- The only tetrahedral number that is also a square pyramidal number is 1 (Beukers, 1988), and the only tetrahedral number that is also a perfect cube is 1.
- The infinite sum of tetrahedral numbers' reciprocals is 3/2, which can be derived using telescoping series:
- The parity of tetrahedral numbers follows the repeating pattern odd-even-even-even.
- An observation of tetrahedral numbers:
*Te*_{5}=*Te*_{4}+*Te*_{3}+*Te*_{2}+*Te*_{1}

- Numbers that are both triangular and tetrahedral must satisfy the binomial coefficient equation:

- The only numbers that are both tetrahedral and triangular numbers are (sequence A027568 in the OEIS):
*Te*_{1 }=*T*_{1 }= 1*Te*_{3 }=*T*_{4 }= 10*Te*_{8 }=*T*_{15 }= 120*Te*_{20}=*T*_{55 }= 1540*Te*_{34}=*T*_{119}= 7140

*Te*_{n}is the sum of all products*p*×*q*where (*p*,*q*) are ordered pairs and*p*+*q*=*n*+ 1*Te*_{n}is the number of (*n*+ 2)-bit numbers that contain two runs of 1's in their binary expansion.

*Te*_{12} = 364 is the total number of gifts "my true love sent to me" during the course of all 12 verses of the carol, "The Twelve Days of Christmas".^{[3]} The cumulative total number of gifts after each verse is also *Te*_{n} for verse *n*.

The number of possible KeyForge three-house combinations is also a tetrahedral number, *Te*_{n−2} where n is the number of houses.