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”).

Expansion of x/(1 - 10*x - 7*x^2).
2

%I #35 Dec 30 2023 23:41:54

%S 0,1,10,107,1140,12149,129470,1379743,14703720,156695401,1669880050,

%T 17795668307,189645843420,2021028112349,21537802027430,

%U 229525217060743,2446016784799440,26066844367419601,277790561167792090,2960373522249858107,31548269150673125700

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

%H Vincenzo Librandi, <a href="/A015589/b015589.txt">Table of n, a(n) for n = 0..900</a>

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

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

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

%t CoefficientList[Series[x/(1-10x-7x^2),{x,0,30}],x] (* or *) LinearRecurrence[ {10,7},{0,1},31] (* _Harvey P. Dale_, Nov 26 2011 *)

%o (Sage) [lucas_number1(n,10,-7) for n in range(0, 18)] # _Zerinvary Lajos_, Apr 26 2009

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

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

%Y Cf. A015579, A099371.

%K nonn,easy

%O 0,3

%A _Olivier Gérard_

%E Extended by _T. D. Noe_, May 23 2011