OFFSET
0,1
COMMENTS
Binomial transform of A163605.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (12, -34).
FORMULA
a(n) = ((3+2*sqrt(2))*(6+sqrt(2))^n+(3-2*sqrt(2))*(6-sqrt(2))^n)/2.
G.f.: (3-14*x)/(1-12*x+34*x^2).
E.g.f.: (3*cosh(sqrt(2)*x) + 2*sqrt(2)*sinh(sqrt(2)*x))*exp(6*x). - G. C. Greubel, Sep 07 2017
MATHEMATICA
LinearRecurrence[{12, -34}, {3, 22}, 20] (* Harvey P. Dale, Oct 19 2012 *)
PROG
(Magma) [ n le 2 select 19*n-16 else 12*Self(n-1)-34*Self(n-2): n in [1..20] ];
(PARI) x='x+O('x^50); Vec((3-14*x)/(1-12*x+34*x^2)) \\ G. C. Greubel, Sep 07 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Aug 08 2009
STATUS
approved