login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A015562 Expansion of x/(1 - 7*x - 5*x^2). 4

%I #34 Dec 30 2023 23:41:36

%S 0,1,7,54,413,3161,24192,185149,1417003,10844766,82998377,635212469,

%T 4861479168,37206416521,284752311487,2179298263014,16678849398533,

%U 127648437104801,976933306726272,7476775332607909,57222093861886723

%N Expansion of x/(1 - 7*x - 5*x^2).

%H Vincenzo Librandi, <a href="/A015562/b015562.txt">Table of n, a(n) for n = 0..1000</a>

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (7,5).

%F a(n) = 7*a(n-1) + 5*a(n-2).

%t Join[{a=0,b=1},Table[c=7*b+5*a;a=b;b=c,{n,100}]] (* _Vladimir Joseph Stephan Orlovsky_, Jan 17 2011 *)

%t LinearRecurrence[{7, 5}, {0, 1}, 30] (* _Vincenzo Librandi_, Nov 14 2012 *)

%o (Sage) [lucas_number1(n,7,-5) for n in range(0, 21)] # _Zerinvary Lajos_, Apr 24 2009

%o (Magma) [n le 2 select n-1 else 7*Self(n-1) + 5*Self(n-2): n in [1..30]]; // _Vincenzo Librandi_, Nov 14 2012

%o (PARI) x='x+O('x^30); concat([0], Vec(x/(1-7*x-5*x^2))) \\ _G. C. Greubel_, Dec 30 2017

%K nonn,easy

%O 0,3

%A _Olivier GĂ©rard_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 16:38 EDT 2024. Contains 371794 sequences. (Running on oeis4.)