OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (11,-10).
FORMULA
From R. J. Mathar, Nov 30 2007: (Start)
O.g.f.: -(-2+17*x)/((-1+x)*(-1+10*x)).
a(n) = 10*a(n-1) - 15. (End)
E.g.f.: exp(x)*(5 + exp(9*x))/3. - Stefano Spezia, Sep 11 2022
MATHEMATICA
NestList[10#-15&, 2, 20] (* or *) LinearRecurrence[{11, -10}, {2, 5}, 20] (* Harvey P. Dale, Mar 09 2022 *)
PROG
(Magma) [(1/3)*(5+10^n): n in [0..20]]; // Vincenzo Librandi, Aug 10 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Nov 29 2007
STATUS
approved