OFFSET
0,3
COMMENTS
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,2).
FORMULA
Equals row sums of triangle A144182 and INVERT transform of A118434: (1, 0, 2, 4, -4, 0, -8, -16, 16, 0, 32,...).
From Colin Barker, Aug 21 2016: (Start)
a(n) = a(n-1)+2*a(n-3) for n>3.
G.f.: (1+2*x^2+4*x^3) / (1-x-2*x^3).
(End)
EXAMPLE
a(3) = 9 = sum of row 3 terms, triangle A144182: (4 + 2 + 0 + 3).
PROG
(PARI) Vec((1+2*x^2+4*x^3)/(1-x-2*x^3) + O(x^40)) \\ Colin Barker, Aug 21 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Sep 13 2008
EXTENSIONS
More terms from Alois P. Heinz, May 23 2015
STATUS
approved