OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (18,-77).
FORMULA
a(n) = 18*a(n-1) - 77*a(n-2) for n > 1; a(0) = 1, a(1) = 13.
G.f.: (1 - 5*x)/((1 - 7*x)*(1 - 11*x)).
E.g.f.: exp(7*x)*(3*exp(4*x) - 1)/2. - Stefano Spezia, Mar 21 2023
MATHEMATICA
Table[(3 11^n-7^n)/2, {n, 0, 20}] (* or *) LinearRecurrence[{18, -77}, {1, 13}, 20] (* Harvey P. Dale, Jan 28 2012 *)
PROG
(Magma) [ (3*11^n-7^n)/2: n in [0..17] ];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Sep 15 2009
STATUS
approved