OFFSET
0,4
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} binomial(n,k) * (k-1)! * A010051(k) * a(n-k).
MATHEMATICA
nmax = 23; CoefficientList[Series[1/(1 - Sum[x^Prime[k]/Prime[k], {k, 1, nmax}]), {x, 0, nmax}], x] Range[0, nmax]!
a[0] = 1; a[n_] := a[n] = Sum[Binomial[n, k] (k - 1)! Boole[PrimeQ[k]] a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 23}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 20 2021
STATUS
approved