OFFSET
0,3
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 0..419
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} binomial(n,k) * q(k) * a(n-k).
a(n) ~ c * d^n * n!, where d = 1.5080583621492799630678624980320180394686208919872154400104169910221003637... and c = 0.67652958824662835367141799671720225317465169475061770258661897351... - Vaclav Kotesovec, Sep 03 2019
MAPLE
b:= proc(n) option remember; `if`(n=0, 1, add(b(n-j)*add(
`if`(d::odd, d, 0), d=numtheory[divisors](j)), j=1..n)/n)
end:
a:= proc(n) option remember; `if`(n=0, 1, add(
a(n-k)*binomial(n, k)*b(k), k=1..n))
end:
seq(a(n), n=0..20); # Alois P. Heinz, Sep 02 2019
MATHEMATICA
nmax = 21; CoefficientList[Series[1/(1 - Sum[PartitionsQ[k] x^k/k!, {k, 1, nmax}]), {x, 0, nmax}], x] Range[0, nmax]!
a[0] = 1; a[n_] := a[n] = Sum[Binomial[n, k] PartitionsQ[k] a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 21}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 02 2019
STATUS
approved