OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-9).
FORMULA
G.f.: x/(1 - 5*x + 9*x^2). - Philippe Deléham, Oct 12 2011
a(n) = 3^(n-1) * ChebyshevU(n-1, 5/6). - G. C. Greubel, Jun 09 2022
From Peter Bala, Sep 22 2025: (Start)
a(n) = 1/sqrt(-11) * ( (5 + sqrt(-11))^n - (5 - sqrt(-11))^n )/2^n.
E.g.f.: (2/sqrt(11)) * exp(5*x/2) * sin(sqrt(11)*x/2).
Sum_{n >= 1} a(n)*x^(2*n)/(2*n)! = (2/sqrt(11)) * sinh(sqrt(11)*x/2) * sin(x/2). (End)
MAPLE
A190970 := proc(n)
option remember ;
if n <= 1 then
n;
else
5*procname(n-1)-9*procname(n-2) ;
end if;
end proc: # R. J. Mathar, Mar 23 2023
MATHEMATICA
LinearRecurrence[{5, -9}, {0, 1}, 50]
PROG
(Magma) [n le 2 select n-1 else 5*Self(n-1) - 9*Self(n-2): n in [1..51]]; // G. C. Greubel, Jun 09 2022
(SageMath) [3^(n-1)*chebyshev_U(n-1, 5/6) for n in (0..50)] # G. C. Greubel, Jun 09 2022
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, May 24 2011
STATUS
approved
