login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A190974
a(n) = 7*a(n-1) - 5*a(n-2), with a(0)=0, a(1)=1.
5
0, 1, 7, 44, 273, 1691, 10472, 64849, 401583, 2486836, 15399937, 95365379, 590557968, 3657078881, 22646762327, 140241941884, 868459781553, 5378008761451, 33303762422392, 206236293149489, 1277135239934463, 7908765213793796, 48975680296884257
OFFSET
0,3
FORMULA
a(n) = ((7/2 + 1/2*sqrt(29))^n - (7/2 - 1/2*sqrt(29))^n)/sqrt(29). - Giorgio Balzarotti, May 28 2011
G.f.: x/(1 - 7*x + 5*x^2). - Philippe Deléham, Oct 12 2011
From G. C. Greubel, Jun 11 2022: (Start)
a(n) = 5^((n-1)/2)*ChebyshevU(n-1, 7/(2*sqrt(5))).
E.g.f.: (2/sqrt(29))*exp(7*x/2)*sinh(sqrt(29)*x/2). (End)
MATHEMATICA
LinearRecurrence[{7, -5}, {0, 1}, 50]
PROG
(Magma) [n le 2 select n-1 else 7*Self(n-1) - 5*Self(n-2): n in [1..51]]; // G. C. Greubel, Jun 11 2022
(SageMath) [lucas_number1(n, 7, 5) for n in (0..50)] # G. C. Greubel, Jun 11 2022
CROSSREFS
Cf. A190958 (index to generalized Fibonacci sequences).
Sequence in context: A178719 A094113 A218992 * A027279 A099464 A355347
KEYWORD
nonn,easy
AUTHOR
STATUS
approved