OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (10,-9).
FORMULA
a(n) = 2*A066443(n).
a(n) = 9*a(n-1) - 4.
a(n) = 10*a(n-1) - 9*a(n-2).
G.f.: 2*(1-3*x)/((1-x)*(1-9*x)).
From Elmo R. Oliveira, Sep 13 2024: (Start)
E.g.f.: exp(x)*(3*exp(8*x) + 1)/2.
a(n) = A199561(n)/2. (End)
MATHEMATICA
LinearRecurrence[{10, -9}, {2, 14}, 30] (* or *) NestList[9#-4&, 2, 30] (* Harvey P. Dale, May 30 2012 *)
PROG
(Magma) [(3*9^n+1)/2: n in [0..30]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 08 2011
STATUS
approved