OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (10,-22).
FORMULA
a(n) = ((3+sqrt(3))*(5+sqrt(3))^n + (3-sqrt(3))*(5-sqrt(3))^n)/2.
G.f.: (3-12*x)/(1-10*x+22*x^2).
E.g.f.: exp(5*x)*( 3*cosh(sqrt(3)*x) + sqrt(3)*sinh(sqrt(3)*x) ). - G. C. Greubel, Jul 26 2017
MATHEMATICA
LinearRecurrence[{10, -22}, {3, 18}, 50] (* G. C. Greubel, Jul 26 2017 *)
PROG
(Magma) [ n le 2 select 15*n-12 else 10*Self(n-1)-22*Self(n-2): n in [1..20] ];
(PARI) x='x+O('x^50); Vec((3-12*x)/(1-10*x+22*x^2)) \\ G. C. Greubel, Jul 26 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Aug 11 2009
STATUS
approved