OFFSET
0,3
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..13
EXAMPLE
0, 0+1 = 1, 1+1 = 2, 2+3+1 = 6, 4+5+...+9+1 = 40, 10+11+...+49+1 = 1181, ...
| | \_/ \_______/ \__________/
0 terms 1 term 2 terms 6 terms 40 terms
MATHEMATICA
Block[{k = 0}, Differences[NestList[PolygonalNumber[#] + k++ &, 0, 12]]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Paolo Xausa, Apr 30 2024
STATUS
approved