Pyramidal Number — Definition, Formula & Examples
A pyramidal number is a figurate number that represents the total count of objects arranged in a pyramid with a polygonal base, where each layer is a smaller polygon stacked on top of the previous one.
The th square pyramidal number is defined as the sum of the first perfect squares: . More generally, pyramidal numbers arise from summing successive polygonal numbers of a given type, producing a three-dimensional figurate number.
Key Formula
Where:
- = The kth square pyramidal number
- = The number of layers in the pyramid (a positive integer)
How It Works
To find a pyramidal number, you stack layers of polygonal numbers. For a square pyramid, the bottom layer has objects, the next has , and so on up to at the top. You sum all the layers to get the total. The closed-form formula lets you skip the summation and compute the result directly.
Worked Example
Problem: Find the 5th square pyramidal number.
Step 1: Write out the sum of the first 5 perfect squares.
Step 2: Alternatively, apply the closed-form formula with k = 5.
Answer: The 5th square pyramidal number is 55.
Visualization
Why It Matters
Pyramidal numbers appear in combinatorics—for instance, connects them to binomial coefficients. They also show up in physics when counting stacked objects (like cannonballs) and in computer science when analyzing nested loop iterations.
Common Mistakes
Mistake: Confusing square pyramidal numbers with tetrahedral numbers.
Correction: Tetrahedral numbers sum triangular numbers (), while square pyramidal numbers sum perfect squares (). The formulas differ: tetrahedral uses , square pyramidal uses .
