OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (11,-10)
FORMULA
a(n) = 10*a(n-1)+9. a(n) = 11*a(n-1)-10*a(n-2), n>1.
G.f. ( 6+3*x ) / ( (10*x-1)*(x-1) ). - R. J. Mathar, Oct 29 2011
MATHEMATICA
NestList[10#+9&, 6, 20] (* or *) LinearRecurrence[{11, -10}, {6, 69}, 20] (* Harvey P. Dale, Dec 29 2013 *)
PROG
(Magma) [7*10^n-1: n in [0..30]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 29 2011
STATUS
approved