OFFSET
0,3
COMMENTS
FORMULA
a(n) = Sum_{k=0..[n/2]+1} [C(n-k,k) + C(n-k+1,k-1)]*a(n-k-1) for n>=2, with a(0)=a(1)=1.
PROG
(PARI) {a(n)=if(n<0, 0, if(n<=1, 1, sum(k=0, n\2+1, (binomial(n-k, k)+binomial(n-k+1, k-1))*a(n-k-1))))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jun 02 2007
STATUS
approved