OFFSET
0,3
FORMULA
MATHEMATICA
nmax = 21; CoefficientList[Series[-Log[1 - Sum[x^(2^k)/(2^k)!, {k, 0, Floor[Log[2, nmax]] + 1}]], {x, 0, nmax}], x] Range[0, nmax]!
a[n_] := a[n] = Boole[IntegerQ[Log[2, n]]] + Sum[Binomial[n, k] Boole[IntegerQ[Log[2, n - k]]] k a[k], {k, 1, n - 1}]/n; a[0] = 0; Table[a[n], {n, 0, 21}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Nov 09 2019
STATUS
approved