WOLFRAM|DEMONSTRATIONS PROJECT

A Geometric Proof of the Square Pyramidal Number Formula

​
side length n
5
spacing
opacity
The pyramidal numbers 1, 5, 14, 30, … are the sums of the square numbers,
P
n
=1+4+…+
2
n
. This Demonstration shows a geometric proof of the square pyramidal number formula,
P
n
=n(n+1)(2n+1)/6
. In the figure the six pyramids of side length
n
form an
n×(n+1)×(2n+1)
cuboid.