OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,1,3,0,-1)
FORMULA
From R. J. Mathar, Jun 05 2011: (Start)
a(n) = A190914(-n).
G.f.: ( 5-3*x^2-6*x^3 ) / ( (x^2+x-1)*(x^3-x^2-x-1) ). (End)
MATHEMATICA
LinearRecurrence[{0, 1, 3, 0, -1}, {5, 0, 2, 9, 2}, 50] (* Vincenzo Librandi, Feb 15 2012 *)
PROG
(PARI) Vec((5-3*x^2-6*x^3)/((x^2+x-1)*(x^3-x^2-x-1))+O(x^99)) \\ Charles R Greathouse IV, Jun 08 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reikku Kulon, May 23 2011
STATUS
approved