OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Tanya Khovanova, Recursive Sequences.
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
From Chai Wah Wu, Jun 17 2016: (Start)
a(n) = 2*a(n-1) - a(n-2) for n > 1.
G.f.: (-20*x + 19)/(x - 1)^2. (End)
MATHEMATICA
CoefficientList[Series[(-20 x + 19) /(x - 1)^2, {x, 0, 100}], x] (* Vincenzo Librandi, Jun 18 2016 *)
19-Range[0, 80] (* Harvey P. Dale, Aug 23 2017 *)
PROG
(Magma) [19-n: n in [0..70]]; // Vincenzo Librandi, Jun 18 2016
CROSSREFS
KEYWORD
sign
AUTHOR
STATUS
approved