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