OFFSET
0,5
FORMULA
a(0) = 1; a(n) = Sum_{k=0..floor((n-1)/2)} (-1)^k * binomial(n-1-k,k) * a(n-1-k).
PROG
(PARI) a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=sum(j=0, (i-1)\2, (-1)^j*binomial(i-1-j, j)*v[i-j])); v;
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Feb 25 2023
STATUS
approved