OFFSET
0
COMMENTS
The difference between the number of partitions of n into an even number of distinct cubes and the number of partitions of n into an odd number of distinct cubes. - Ilya Gutkovskiy, Jan 15 2018
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 0..100000
MATHEMATICA
nn = 10; CoefficientList[Series[Product[(1-x^(k^3)), {k, nn}], {x, 0, nn^3}], x]
nmax = 1000; nn = Floor[nmax^(1/3)]+1; poly = ConstantArray[0, nn^3 + 1]; poly[[1]] = 1; poly[[2]] = -1; poly[[3]] = 0; Do[Do[poly[[j + 1]] -= poly[[j - k^3 + 1]], {j, nn^3, k^3, -1}]; , {k, 2, nn}]; Take[poly, nmax+1]
CROSSREFS
KEYWORD
sign
AUTHOR
Vaclav Kotesovec, Dec 13 2016
STATUS
approved