OFFSET
0,6
FORMULA
MATHEMATICA
Table[Sum[(-1)^(n - k) Mod[StirlingS2[n, k], 2], {k, 0, n}], {n, 0, 90}]
nmax = 90; CoefficientList[Series[1 + x (1 + x^3) Product[(1 + x^(2^k) + x^(2^(k + 1))), {k, 1, Floor[Log[2, nmax]] + 1}], {x, 0, nmax}], x]
PROG
(PARI) a(n) = sum(k=0, n, (-1)^(n-k) * (stirling(n, k, 2) % 2)); \\ Michel Marcus, Jul 06 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 06 2019
STATUS
approved