Jump to content

Pyramidal number

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by ProletariatetsBefrielseOrkester (talk | contribs) at 20:31, 11 June 2020 (→‎Formula). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Geometric representation of the square pyramidal number 1 + 4 + 9 + 16 = 30.

A pyramidal number is a figurate number that represents a pyramid with a polygonal base and a given number of triangular sides. A pyramidal number is the number of points in a pyramid where each layer of the pyramid is an r-sided polygon of points.[1] The term usually refers to square pyramidal numbers, which have a square base with four sides, but it can also refer to pyramids with three or more sides.[2] It is possible to extend the pyramidal numbers to higher dimensions.

Formula

The formula for the nth r-gonal pyramidal number is

where r, r ≥ 3. [1]

This formula can be factored:

where Tn is the nth triangular number.

See also

References

  1. ^ a b Weisstein, Eric W. "Pyramidal Number". MathWorld.
  2. ^ Sloane, N. J. A. (ed.). "Sequence A002414". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.