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 (1,0,4).
FORMULA
G.f. : (1+2x)/((1-2*x)*(1+x+2*x^2)); a(n)=a(n-1)+4a(n-3).
MATHEMATICA
Table[Sum[Binomial[n-k, Floor[k/2]]2^k, {k, 0, n}], {n, 0, 40}] (* or *) LinearRecurrence[{1, 0, 4}, {1, 3, 3}, 40] (* Harvey P. Dale, May 17 2021 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Aug 05 2004
STATUS
approved