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.: 2*(2-7*x)/((1-x)*(1-11*x)).
MATHEMATICA
LinearRecurrence[{12, -11}, {4, 34}, 30] (* or *) NestList[11#-10&, 4 , 30] (* Harvey P. Dale, May 09 2013 *)
PROG
(Magma) [3*11^n+1: n in [0..30]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 10 2011
STATUS
approved