generalized pentagonal numbers
n
calculate
reset