OFFSET
0,4
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (-3, -2).
FORMULA
a(0) = 1, a(1) = -1, a(2) = 0, a(n) = (-3)*a(n-1)-2*a(n-2) for n>2 .
G.f. : (1+2*x-x^2)/(1+3*x+2*x^2).
MATHEMATICA
Join[{1}, LinearRecurrence[{-3, -2}, {-1, 0}, 50]] (* Vladimir Joseph Stephan Orlovsky, Feb 24 2012 *)
PROG
(PARI) Vec((1+2*x-x^2)/(1+3*x+2*x^2) + O(x^40)) \\ Michel Marcus, Nov 29 2015
CROSSREFS
KEYWORD
sign
AUTHOR
Philippe Deléham, Oct 26 2006
EXTENSIONS
a(22) corrected by Vincenzo Librandi, Feb 24 2012
STATUS
approved