OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (0,8,0,-1).
FORMULA
From Colin Barker, Jan 06 2019: (Start)
G.f.: x*(1 + 4*x + x^2) / (1 - 8*x^2 + x^4).
a(n) = 8*a(n-2) - a(n-4) for n>4.
(End)
PROG
(PARI) Vec(x*(1 + 4*x + x^2) / (1 - 8*x^2 + x^4) + O(x^40)) \\ Colin Barker, Jan 06 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jan 05 2019, following a suggestion from Stan Wagon.
STATUS
approved