Hexagonal pyramidal number


A hexagonal pyramidal number is a pyramidal number formed by adding the first n hexagonal numbers. The first few hexagonal pyramidal numbers are:
The nth number in this sequence, representing the sum of the first n hexagonal numbers, is given by the formula