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)-5.
a(n) = 12*a(n-1)-11*a(n-2).
G.f.: (4-9*x)/((1-x)*(1-11*x)).
MATHEMATICA
(7*11^Range[0, 20]+1)/2 (* or *) LinearRecurrence[{12, -11}, {4, 39}, 20] (* Harvey P. Dale, Dec 30 2017 *)
PROG
(Magma) [(7*11^n+1)/2: n in [0..30]];
CROSSREFS
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Nov 10 2011
STATUS
approved