OFFSET
0,67
COMMENTS
Number of partitions of n into distinct hexagonal numbers (A000384).
LINKS
Eric Weisstein's World of Mathematics, Hexagonal Number
FORMULA
G.f.: Product_{k>=1} (1 + x^(k*(2*k-1))).
EXAMPLE
a(67) = 2 because we have [66, 1] and [45, 15, 6, 1].
MATHEMATICA
nmax = 120; CoefficientList[Series[Product[1 + x^(k (2 k - 1)), {k, 1, nmax}], {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 09 2016
STATUS
approved