OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,0,0,-2)
FORMULA
a(n)=2a(n-1)-2a(n-4); a(n)=sum{k=0..floor(n/3), comb(n-3k, k)2^(n-3k) }.
MATHEMATICA
CoefficientList[Series[1/(1-2x+2x^4), {x, 0, 40}], x] (* or *) LinearRecurrence[ {2, 0, 0, -2}, {1, 2, 4, 8}, 40] (* Harvey P. Dale, Dec 24 2016 *)
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Paul Barry, Nov 28 2003
STATUS
approved