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) = 9*a(n-1) - 4 for n>0, a(0)=3.
O.g.f.: (1/(1-x) - 5/(9*x-1))/2. - R. J. Mathar, Feb 19 2008
a(n) = 10*a(n-1) - 9*a(n-2). - Vincenzo Librandi, Nov 08 2011
E.g.f.: (1/2)*( 5*exp(9*x) + exp(x) ). - G. C. Greubel, Oct 14 2016
MATHEMATICA
Table[ (5*9^n + 1)/2, {n, 0, 25}] (* or *) LinearRecurrence[{10, -9}, {3, 23}, 25] (* G. C. Greubel, Oct 14 2016 *)
PROG
(Magma) [(5*9^n+1)/2: n in [0..30]]; // Vincenzo Librandi, Nov 08 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Feb 18 2008
EXTENSIONS
More terms from R. J. Mathar, Feb 19 2008
Definition rewritten (with Mathar's formula) from Bruno Berselli, Nov 08 2011
STATUS
approved