OFFSET
0,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..594
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} (-1)^floor((k-1)/2) * binomial(n-1,k-1) * a(n-k).
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(serlaplace(exp(1-cos(x)+sin(x))))
(PARI) a(n) = if(n==0, 1, sum(k=1, n, (-1)^((k-1)\2)*binomial(n-1, k-1)*a(n-k)));
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 14 2022
STATUS
approved