OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (20,-99).
FORMULA
a(n) = 20*a(n-1) - 99*a(n-2). - Vincenzo Librandi, Jun 02 2011
From Elmo R. Oliveira, Mar 31 2025: (Start)
G.f.: 2*x/((1-9*x)*(1-11*x)).
E.g.f.: 2*exp(10*x)*sinh(x). (End)
MATHEMATICA
Table[11^n-9^n, {n, 0, 30}] (* or *) LinearRecurrence[{20, -99}, {0, 2}, 30] (* Harvey P. Dale, Apr 10 2016 *)
PROG
(Magma) [11^n-9^n: n in [0..30]]; // Vincenzo Librandi, Jun 02 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved
