OFFSET
0,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..395
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} (3-(-1)^k)/2 * binomial(n,k) * a(n-k).
a(n) ~ n! / (sqrt(7) * log((2 + sqrt(7))/3)^(n+1)). - Vaclav Kotesovec, Mar 12 2022
MAPLE
a:= proc(n) option remember; `if`(n=0, 1, add(
a(n-k)*binomial(n, k)*(1+(k mod 2)), k=1..n))
end:
seq(a(n), n=0..18); # Alois P. Heinz, Mar 25 2022
MATHEMATICA
m = 18; Range[0, m]! * CoefficientList[Series[1/(2 - Exp[x] - Sinh[x]), {x, 0, m}], x] (* Amiram Eldar, Mar 12 2022 *)
PROG
(PARI) my(N=20, x='x+O('x^N)); Vec(serlaplace(1/(2-exp(x)-sinh(x))))
(PARI) a(n) = if(n==0, 1, sum(k=1, n, (3-(-1)^k)/2*binomial(n, k)*a(n-k)));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Mar 12 2022
STATUS
approved