Hexagonal pyramidal number

From Wikipedia, the free encyclopedia
Jump to: navigation, search

A hexagonal pyramidal number is a pyramidal number formed by adding the first few hexagonal numbers. The first few of these numbers are:

1, 7, 22, 50, 95, 161, 252, 372, 525, 715, 946, 1222, 1547, 1925 (sequence A002412 in OEIS).

The nth number in this sequence is given by the formula

\frac{n(n+1)(4n-1)}{6}.

References[edit]