OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (25,1).
FORMULA
a(n) = ( (25 + sqrt(629))^n + (25 - sqrt(629))^n )/2^n.
G.f.: (2 - 25*x)/(1-25*x-x^2).
a(n) = Lucas(n, 25) = 2*(-i)^n * ChebyshevT(n, 25*i/2).
MAPLE
seq(simplify(2*(-I)^n*ChebyshevT(n, 25*I/2)), n = 0..25);
MATHEMATICA
LucasL[Range[25] -1, 25]
PROG
(PARI) vector(26, n, 2*(-I)^(n-1)*polchebyshev(n-1, 1, 25*I/2) )
(Magma) I:=[2, 25]; [n le 2 select I[n] else 25*Self(n-1) +Self(n-2): n in [1..25]];
(Sage) [2*(-I)^n*chebyshev_T(n, 25*I/2) for n in (0..25)]
(GAP) a:=[2, 25];; for n in [3..25] do a[n]:=25*a[n-1]+a[n-2]; od; a;
CROSSREFS
Lucas polynomials Lucas(n,m): A000032 (m=1), A002203 (m=2), A006497 (m=3), A014448 (m=4), A087130 (m=5), A085447 (m=6), A086902 (m=7), A086594 (m=8), A087798 (m=9), A086927 (m=10), A001946 (m=11), A086928 (m=12), A088316 (m=13), A090300 (m=14), A090301 (m=15), A090305 (m=16), A090306 (m=17), A090307 (m=18), A090308 (m=19), A090309 (m=20), A090310 (m=21), A090313 (m=22), A090314 (m=23), A090316 (m=24), this sequence (m=25).
KEYWORD
nonn,easy
AUTHOR
G. C. Greubel, Dec 29 2019
STATUS
approved