OFFSET
1,4
LINKS
Eric Weisstein's World of Mathematics, Tetrahedral Number
FORMULA
MATHEMATICA
nmax = 90; CoefficientList[Series[Sum[Binomial[k + 2, 3] x^Binomial[k + 2, 3]/(1 - x^Binomial[k + 2, 3]), {k, 1, nmax}], {x, 0, nmax}], x] // Rest
nmax = 90; CoefficientList[Series[Log[Product[1/(1 - x^Binomial[k + 2, 3]), {k, 1, nmax}]], {x, 0, nmax}], x] Range[0, nmax] // Rest
PROG
(PARI) ist(n) = my(k=sqrtnint(6*n, 3)); k*(k+1)*(k+2)==6*n; \\ A000292
a(n) = sumdiv(n, d, if (ist(d), d)); \\ Michel Marcus, May 19 2020
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Ilya Gutkovskiy, May 18 2020
STATUS
approved