OFFSET
0,5
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,1).
FORMULA
G.f.: (1-x)^3/((1-x)^4-2*x^4);
a(n) = Sum_{k=0..floor(n/2)} binomial(n,4*k)*2^k;
a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)+a(n-4).
MATHEMATICA
Table[Sum[Binomial[n, 4k]2^k, {k, 0, n}], {n, 0, 40}] (* or *) LinearRecurrence[ {4, -6, 4, 1}, {1, 1, 1, 1}, 40] (* Harvey P. Dale, Feb 26 2012 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jul 23 2004
STATUS
approved