OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..950
Index entries for linear recurrences with constant coefficients, signature (10,10).
FORMULA
G.f.: (1-x-x^2)/(1-10*x-10*x^2).
From G. C. Greubel, Mar 20 2021: (Start)
a(n) = ([n=0] + 9*A057093(n))/10.
a(n) = (1/10)*([n=0] + 9*(-i*sqrt(10))^n*ChebyshevU(n, i*sqrt(10)/2)). (End)
MAPLE
1, seq( simplify(9*(-I*sqrt(10))^n*ChebyshevU(n, I*sqrt(10)/2)/10), n=1..30); # G. C. Greubel, Mar 20 2021
MATHEMATICA
LinearRecurrence[{10, 10}, {1, 9, 99}, 20] (* Harvey P. Dale, Jan 27 2016 *)
PROG
(Magma) [1]cat[n le 2 select 9*(10*n-9) else 10*(Self(n-1) + Self(n-2)): n in [1..30]]; // G. C. Greubel, Mar 20 2021
(Sage) [1]+[(9/10)*(-i*sqrt(10))^n*chebyshev_U(n, i*sqrt(10)/2) for n in (1..30)] # G. C. Greubel, Mar 20 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Philippe Deléham, Jan 21 2009
STATUS
approved