OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (18,-77).
FORMULA
a(n) = 18*a(n-1) - 77*a(n-2). - Vincenzo Librandi, Jun 02 2011
From Stefano Spezia, Mar 09 2025: (Start)
G.f.: 4*x/((1 - 11*x)*(1 - 7*x)).
E.g.f.: exp(7*x)*(exp(4*x) - 1). (End)
MATHEMATICA
Table[11^n-7^n, {n, 0, 30}] (* or *) LinearRecurrence[{18, -77}, {0, 4}, 30] (* Harvey P. Dale, Jun 17 2014 *)
PROG
(Magma) [11^n-7^n: n in [0..30]]; // Vincenzo Librandi, Jun 02 2011
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved