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, -47).
FORMULA
a(n) = ((1+2*sqrt(2))*(7+sqrt(2))^n + (1-2*sqrt(2))*(7-sqrt(2))^n)/2.
G.f.: (1-3*x)/(1-14*x+47*x^2).
E.g.f.: exp(7*x)*( cosh(sqrt(2)*x) + 2*sqrt(2)*sinh(sqrt(2)*x) ). - G. C. Greubel, Dec 21 2016
MATHEMATICA
LinearRecurrence[{14, -47}, {1, 11}, 50] (* G. C. Greubel, Dec 21 2016 *)
PROG
(Magma) [ n le 2 select 10*n-9 else 14*Self(n-1)-47*Self(n-2): n in [1..19] ];
(PARI) Vec((1-3*x)/(1-14*x+47*x^2) + O(x^50)) \\ G. C. Greubel, Dec 21 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Jul 27 2009
STATUS
approved