Pyramidal number: Difference between revisions
imported>David Eppstein |
imported>Decent Direction m →Formula |
||
| Line 7: | Line 7: | ||
:<math>P_n^r= \frac{3n^2 + n^3(r-2) - n(r-5)}{6},</math> | :<math>P_n^r= \frac{3n^2 + n^3(r-2) - n(r-5)}{6},</math> | ||
where | where <math>r \isin \mathbb{N}</math>, {{math|''r'' ≥ 3}}.<ref name=":0">{{MathWorld |id=PyramidalNumber |title=Pyramidal Number}}</ref> | ||
This formula can be factored: | This formula can be factored: | ||
| Line 25: | Line 25: | ||
The first few pentagonal pyramidal numbers are: | The first few pentagonal pyramidal numbers are: | ||
:[[1 (number)|1]], [[6 (number)|6]], [[18 (number)|18]], [[40 (number)|40]], [[75 (number)|75]], [[126 (number)|126]], [[196 (number)|196]], [[288 (number)|288]], 405, 550, 726, 936, 1183, | :[[1 (number)|1]], [[6 (number)|6]], [[18 (number)|18]], [[40 (number)|40]], [[75 (number)|75]], [[126 (number)|126]], [[196 (number)|196]], [[288 (number)|288]], 405, 550, 726, 936, 1183, ... {{OEIS|id=A002411}}. | ||
The first few hexagonal pyramidal numbers are: | The first few hexagonal pyramidal numbers are: | ||
Latest revision as of 02:22, 1 August 2025
A pyramidal number is the number of points in a pyramid with a polygonal base and triangular sides.[1] The term often refers to square pyramidal numbers, which have a square 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 by polygonal numbers of the given number of sides, while the numbers of points in each triangular side is given by a triangular number. It is possible to extend the pyramidal numbers to higher dimensions.
Formula
The formula for the Template:Mvarth Template:Mvar-gonal pyramidal number is
where , r ≥ 3Script error: No such module "Check for unknown parameters"..[1]
This formula can be factored:
where Template:Mvar is the Template:Mvarth triangular number.
Sequences
The first few triangular pyramidal numbers (equivalently, tetrahedral numbers) are:
The first few square pyramidal numbers are:
The first few pentagonal pyramidal numbers are:
The first few hexagonal pyramidal numbers are:
- Template:Num, Template:Num, Template:Num, Template:Num, Template:Num, Template:Num, Template:Num, 372, 525, 715, 946, 1222, 1547, 1925 (sequence A002412 in the OEIS).
The first few heptagonal pyramidal numbers are:[3]
References
<templatestyles src="Reflist/styles.css" />
Script error: No such module "Check for unknown parameters".