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 (1,36).
FORMULA
G.f.: (1+5*x)/(1-x-36*x^2).
a(n) = (6*i)^n*( ChebyshevU(n, -i/12) - (5*i/6)*ChebyshevU(n-1, -i/12) ). - G. C. Greubel, Dec 22 2021
MATHEMATICA
LinearRecurrence[{1, 36}, {1, 6}, 30] (* Harvey P. Dale, Apr 30 2013 *)
PROG
(PARI) Vec((1+5*x)/(1-x-36*x^2)+O(x^99)) \\ Charles R Greathouse IV, Jan 17 2012
(Sage) [(6*i)^n*( chebyshev_U(n, -i/12) - (5*i/6)*chebyshev_U(n-1, -i/12) ) for n in (0..40)] # G. C. Greubel, Dec 22 2021
(Magma) I:=[1, 6]; [n le 2 select I[n] else Self(n-1) + 36*Self(n-2): n in [1..41]]; // G. C. Greubel, Dec 22 2021
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Philippe Deléham, Mar 27 2009
STATUS
approved