OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..300
EXAMPLE
There are five subsets of {1,2,3,4,5} that sum to a cube: {}, {1},{3,5}, {1,2,5} and {1,3,4}. Thus a(5)=5.
MATHEMATICA
g[n_] := Block[{p = Product[1 + z^i, {i, n}]}, Sum[Boole[IntegerQ[k^(1/3)]]*Coefficient[p, z, k], {k, 0, n*(n + 1)/2}]]; Array[g, 37] (* Ray Chandler, Mar 07 2007 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Mar 05 2007
EXTENSIONS
Extended by Ray Chandler, Mar 07 2007
More terms from Alois P. Heinz, Jan 18 2014
STATUS
approved