OFFSET
0,4
COMMENTS
Also the number of partitions of n in which each part occurs a cube number (>=0) of times.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000 (first 1001 terms from Seiichi Manyama)
EXAMPLE
n | Partitions of n in which each part occurs a cube number (>=0) of times
--+-----------------------------------------------------------------------
1 | 1;
2 | 2;
3 | 3 = 2+1;
4 | 4 = 3+1;
5 | 5 = 4+1 = 3+2;
6 | 6 = 5+1 = 4+2 = 3+2+1;
7 | 7 = 6+1 = 5+2 = 4+3 = 4+2+1;
8 | 8 = 7+1 = 6+2 = 5+3 = 5+2+1 = 4+3+1 = 1+1+1+1+1+1+1+1;
MAPLE
b:= proc(n, i) option remember; local j; if n=0 then 1
elif i<1 then 0 else b(n, i-1); for j while
i*j^3<=n do %+b(n-i*j^3, i-1) od; % fi
end:
a:= n-> b(n$2):
seq(a(n), n=0..60); # Alois P. Heinz, May 11 2018
MATHEMATICA
terms = 100;
Product[Sum[x^(k*m^3), {m, 0, Ceiling[terms^(1/3)]}], {k, 1, terms}] + O[x]^terms // CoefficientList[#, x]& (* Jean-François Alcover, Mar 08 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, May 11 2018
STATUS
approved