OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..985
Index entries for linear recurrences with constant coefficients, signature (16, -59).
FORMULA
a(n) = ((5+sqrt(5))*(8+sqrt(5))^n + (5-sqrt(5))*(8-sqrt(5))^n)/10.
G.f.: (1-7*x)/(1-16*x+59*x^2).
E.g.f.: (1/5)*exp(8*x)*(5*cosh(sqrt(5)*x) + sqrt(5)*sinh(sqrt(5)*x)). - G. C. Greubel, Dec 18 2016
MATHEMATICA
LinearRecurrence[{16, -59}, {1, 9}, 20] (* Harvey P. Dale, Dec 06 2013 *)
PROG
(Magma) [ n le 2 select 8*n-7 else 16*Self(n-1)-59*Self(n-2): n in [1..18] ];
(PARI) Vec((1-7*x)/(1-16*x+59*x^2) + O(x^50)) \\ G. C. Greubel, Dec 18 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Jul 24 2009
STATUS
approved