Definition:Hexagonal Number/Definition 3

Definition
Hexagonal numbers are defined as the sequence:
 * $\forall n \in \N: H_n = \map P {6, n} = \begin{cases}

0 & : n = 0 \\ \map P {6, n - 1} + 4 \paren {n - 1} + 1 & : n > 0 \end{cases}$ where $\map P {k, n}$ denotes the $k$-gonal numbers.

Also see

 * Equivalence of Definitions of Hexagonal Number