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