OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,4,4).
FORMULA
G.f.: 1/((1-x-2*x^2)*(1+x+2*x^2)).
a(n) = a(n-2) + 4*a(n-3) + 4*a(n-4).
a(n) = Sum_{k=0..floor(n/2)} C(n-k, k)*2^k*(1+(-1)^(n-k))/2.
a(n) = 2^n/3 + (-1)^n/6 + A001607(n+1)/2. - R. J. Mathar, Aug 23 2011
a(n) = sum(A128099(n, n-2*k), k=0..floor(n/2)). - Johannes W. Meijer, Aug 28 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Nov 08 2005
STATUS
approved