OFFSET
0,5
LINKS
Index entries for linear recurrences with constant coefficients, signature (-1,16,16).
FORMULA
From Colin Barker, Dec 03 2012: (Start)
a(n) = (5*(-4)^n + 16*(-1)^n + 9*4^n)/240 for n>0.
G.f.: -x^2*(2*x+1) / ((x+1)*(4*x-1)*(4*x+1)). (End)
MATHEMATICA
a[n_] := If[n == 0, 1, (5(-4)^n + 16(-1)^n + 9*4^n) / 240];
a /@ Range[0, 25] (* Jean-François Alcover, Mar 30 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Jan 31 2006
EXTENSIONS
New name (using Colin Barker's formula) from Joerg Arndt, Aug 30 2022
STATUS
approved