OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (12,-11).
FORMULA
a(n) = 11*a(n-1)-10.
a(n) = 12*a(n-1)-11*a(n-2).
G.f.: (11-21*x)/((1-x)*(1-11*x)).
MATHEMATICA
NestList[11#-10&, 11, 20] (* or *) LinearRecurrence[{12, -11}, {11, 111}, 20] (* Harvey P. Dale, Aug 28 2021 *)
PROG
(Magma) [10*11^n+1: n in [0..20]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 10 2011
STATUS
approved