OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-6)
FORMULA
a(n) = 5*3^n/3 + 0^n/3 - 2^n.
G.f.: (1 - 2*x + 2*x^2)/((1-2*x)*(1-3*x)).
E.g.f.: 5*exp(3*x)/3 - exp(2*x) + exp(0)/3.
a(n) = A090888(n-1, 5), for n > 0. - Ross La Haye, Sep 21 2004
a(n) = 5*a(n-1) - 6*a(n-2). - Wesley Ivan Hurt, May 09 2022
MATHEMATICA
Join[{1}, LinearRecurrence[{5, -6}, {3, 11}, 30]] (* Harvey P. Dale, Jan 20 2014 *)
PROG
(Magma) [5*3^n/3+0^n/3-2^n: n in [0..35]]; // Vincenzo Librandi, Jul 05 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, May 18 2003
STATUS
approved