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)).
E.g.f.: exp(x)*(1 + 7*exp(10*x))/2. - Stefano Spezia, Jun 01 2026
MATHEMATICA
(7*11^Range[0, 20]+1)/2 (* Harvey P. Dale, Dec 30 2017 *)
(* Alternative: *)
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,easy
AUTHOR
Vincenzo Librandi, Nov 10 2011
STATUS
approved
