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