chickadee » math » heptagonal-number

triangle-number nprocedure
sqr nprocedure
pentagonal-number nprocedure
hexagonal-number nprocedure
heptagonal-number nprocedure
octagonal-number nprocedure
n
integer

These functions return the nth polygonal number of the corresponding type of polygonal number.