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,64).
FORMULA
G.f.: (1+7*x)/(1-x-64*x^2).
a(n) = (8*i)^n*( ChebyshevU(n, -i/16) - (7*i/8)*ChebyshevU(n-1, -i/16) ). - G. C. Greubel, Dec 22 2021
MATHEMATICA
LinearRecurrence[{1, 64}, {1, 8}, 30] (* Harvey P. Dale, Mar 09 2018 *)
PROG
(Magma) I:=[1, 8]; [n le 2 select I[n] else Self(n-1) + 64*Self(n-2): n in [1..41]]; // G. C. Greubel, Dec 22 2021
(SageMath) [(8*i)^n*( chebyshev_U(n, -i/16) - (7*i/8)*chebyshev_U(n-1, -i/16) ) for n in (0..40)] # G. C. Greubel, Dec 22 2021
(PARI) a(n)=([0, 1; 64, 1]^n*[1; 8])[1, 1] \\ Charles R Greathouse IV, May 27 2026
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Philippe Deléham, Mar 27 2009
EXTENSIONS
Corrected and extended by Harvey P. Dale, Mar 09 2018
STATUS
approved
