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) = (4*11^n + 1)/5.
G.f.: (1-3*x)/((1-x)*(1-11*x)).
E.g.f.: (4*exp(11*x) + exp(x))/5.
a(n) = 11*a(n-1) - 2, a(n) = 12*a(n-1) - 11*a(n-2). - Vincenzo Librandi, Nov 10 2011
MATHEMATICA
LinearRecurrence[{12, -11}, {1, 9}, 30] (* Harvey P. Dale, Jun 14 2015 *)
PROG
(Magma) [(4*11^n+1)/5: n in [0..30]]; // Vincenzo Librandi, Nov 10 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Apr 23 2003
STATUS
approved