OFFSET
0,3
LINKS
EXAMPLE
a(2) = 2 because 2^3 = 8 and we have [8], [1, 1, 1, 1, 1, 1, 1, 1].
MAPLE
b:= proc(n) option remember; local i; if n=0 then 1
else 0; for i while i^3<=n do %+b(n-i^3) od fi
end:
a:= n-> b(n^3):
seq(a(n), n=0..10); # Alois P. Heinz, Aug 12 2017
MATHEMATICA
Table[SeriesCoefficient[1/(1 - Sum[x^k^3, {k, 1, n}]), {x, 0, n^3}], {n, 0, 9}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 24 2017
STATUS
approved