OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,2,0,1).
FORMULA
G.f.: (1 + 3*x + 3*x^2 + x^3)/(1 - 2*x^2 - x^4). - G. C. Greubel, Oct 04 2016
a(n) = 2*a(n-2) + a(n-4). - Wesley Ivan Hurt, Dec 30 2023
MATHEMATICA
LinearRecurrence[{0, 2, 0, 1}, {1, 3, 5, 7}, 25] (* G. C. Greubel, Oct 04 2016 *)
PROG
(PARI) Vec((1 + 3*x + 3*x^2 + x^3)/(1 - 2*x^2 - x^4) + O(x^50)) \\ Michel Marcus, Oct 05 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Feb 15 2008
STATUS
approved