OFFSET
0,4
COMMENTS
In general a(n)=sum{k=0..floor(n/2), C(n-k,k+2)u^(n-k-2)(v/u)^k has g.f. x^2/((1-u*x)^2(1-u*x-v*x^2)) and satisfies the recurrence a(n)=3u*a(n-1)-(3u^2-v)a(n-2)+(u^3-2uv)a(n-3)+u^2^v*a(n-4).
LINKS
Index entries for linear recurrences with constant coefficients, signature (6,-11,4,4).
FORMULA
G.f.: x^2/((1-2x)^2(1-2x-x^2)); a(n)=sum{k=0..floor(n/2), C(n-k, k+2)2^(n-2k-2)}; a(n)=6a(n-1)-11a(n-2)+4a(n-3)+4a(n-4).
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Oct 25 2004
STATUS
approved