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