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), n>1.
G.f.: 2*(3 + 2*x)/(1 - 12*x + 11*x^2). - Vincenzo Librandi, Jan 04 2013
MATHEMATICA
7*11^Range[0, 20]-1 (* or *) LinearRecurrence[{12, -11}, {6, 76}, 20] (* Harvey P. Dale, Jun 22 2012 *)
CoefficientList[Series[2*(3 + 2*x)/(1 - 12*x + 11*x^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jan 04 2013 *)
PROG
(Magma) [7*11^n-1 : n in [0..20]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 02 2011
STATUS
approved