OFFSET
0,10
COMMENTS
Number of partitions of n into nonzero octagonal pyramidal numbers (A002414).
LINKS
M. Bernstein and N. J. A. Sloane, Some canonical sequences of integers, Linear Alg. Applications, 226-228 (1995), 57-72; erratum 320 (2000), 210. [Link to arXiv version]
M. Bernstein and N. J. A. Sloane, Some canonical sequences of integers, Linear Alg. Applications, 226-228 (1995), 57-72; erratum 320 (2000), 210. [Link to Lin. Alg. Applic. version together with omitted figures]
FORMULA
G.f.: Product_{k>=1} 1/(1 - x^(k*(k+1)*(2*k-1)/2)).
EXAMPLE
a(10) = 2 because we have [9, 1] and [1, 1, 1, 1, 1, 1, 1, 1, 1, 1].
MATHEMATICA
nmax=100; CoefficientList[Series[Product[1/(1 - x^(k (k + 1) (2 k - 1)/2)), {k, 1, nmax}], {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 08 2016
STATUS
approved