login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A279484
Expansion of Product_{k>=1} (1-x^(k^3)).
9
1, -1, 0, 0, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
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
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