OFFSET
0,2
FORMULA
G.f.: (1+x-x^2)/(1-2*x-x^2-2*x^3+x^4). a(n) = Sum_{k=0..n} binomial(2*n-2*[k/2], k).
PROG
(PARI) a(n)=sum(k=0, n, polcoeff((1+2*x+x^2+x*O(x^k))^(n-k\2), k))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 21 2004
STATUS
approved