
Apyramidal number is the number of points in apyramid with apolygonal base and triangular sides.[1] The term often refers tosquare pyramidal numbers, which have asquare base with four sides, but it can also refer to a pyramid with any number of sides.[2] The numbers of points in the base and in layers parallel to the base are given bypolygonal numbers of the given number of sides, while the numbers of points in each triangular side is given by atriangular number. It is possible to extend the pyramidal numbers to higher dimensions.
The formula for thenthr-gonal pyramidal number is
where,r ≥ 3.[1]
This formula can be factored:
whereTn is thenthtriangular number.
The first few triangular pyramidal numbers (equivalently,tetrahedral numbers) are:
The first fewsquare pyramidal numbers are:
The first few pentagonal pyramidal numbers are:
The first few hexagonal pyramidal numbers are:
The first few heptagonal pyramidal numbers are:[3]