A heptagonal number is a figurate number that is constructed by combining heptagons with ascending size. The n-th heptagonal number is given by the formula
The first few heptagonal numbers are: