login
A305633
Expansion of Sum_{r not a perfect power} x^r/(1 + x^r).
2
0, 0, 1, 1, -1, 1, 1, 1, -1, 1, 1, 1, -2, 1, 1, 3, -1, 1, 2, 1, -2, 3, 1, 1, -3, 1, 1, 1, -2, 1, 1, 1, -1, 3, 1, 3, -3, 1, 1, 3, -3, 1, 1, 1, -2, 4, 1, 1, -4, 1, 2, 3, -2, 1, 3, 3, -3, 3, 1, 1, -4, 1, 1, 4, -1, 3, 1, 1, -2, 3, 1, 1, -3, 1, 1, 4, -2, 3, 1, 1, -4
OFFSET
0,13
MATHEMATICA
nn=100;
wadQ[n_]:=n>1&&GCD@@FactorInteger[n][[All, 2]]==1;
ser=Sum[x^p/(1+x^p), {p, Select[Range[nn], wadQ]}];
Table[SeriesCoefficient[ser, {x, 0, n}], {n, nn}]
KEYWORD
sign
AUTHOR
Gus Wiseman, Jun 07 2018
STATUS
approved