A centered heptagonal number is a centered figurate number that represents a heptagon with a dot in the center and all other dots surrounding the center dot in successive heptagonal layers. The centered heptagonal number for n is given by the formula