OFFSET
0,4
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = 5*a(n-2) - 4*a(n-4).
From Lambert Herrgesell (zero815(AT)googlemail.com), Apr 19 2008: (Start)
a(n) = 1/6 - (1/2)*(-1)^n + (1/4)*2^n + (1/12)*(-2)^n;
g.f.: (-3*x^3 + x^2 + x)/(4*x^4 - 5*x^2 + 1). (End)
PROG
(Magma) [1/6 - (1/2)*(-1)^n + (1/4)*2^n + (1/12)*(-2)^n: n in [0..40]]; // Vincenzo Librandi, Aug 09 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul Curtz, Mar 26 2008
EXTENSIONS
More terms from Lambert Herrgesell (zero815(AT)googlemail.com), Apr 19 2008
STATUS
approved