OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (18,-80).
FORMULA
a(n) = 10*a(n-1) + 9*8^(n-1).
a(n) = (11/2)*10^n - (9/2)*8^n.
G.f.: (1+x)/((1-8*x)*(1-10*x)). - Vincenzo Librandi, Aug 06 2013
a(0)=1, a(1)=19, a(n)=18*a(n-1)-80*a(n-2). - Harvey P. Dale, Aug 16 2014
E.g.f.: exp(8*x)*(11*exp(2*x) - 9)/2. - Stefano Spezia, Jul 23 2024
MATHEMATICA
CoefficientList[Series[(1 + x)/((1 - 8 x) (1 - 10 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Aug 06 2013 *)
LinearRecurrence[{18, -80}, {1, 19}, 20] (* Harvey P. Dale, Aug 16 2014 *)
PROG
(Magma) [(11/2)*10^n-(9/2)*8^n: n in [0..25]]; // Vincenzo Librandi, Aug 06 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Mar 03 2003
EXTENSIONS
Corrected by T. D. Noe, Nov 07 2006
STATUS
approved