login
Expansion of 1/((1-3x)(1-10x)).
2

%I #24 Aug 08 2019 18:47:42

%S 1,13,139,1417,14251,142753,1428259,14284777,142854331,1428562993,

%T 14285688979,142857066937,1428571200811,14285713602433,

%U 142857140807299,1428571422421897,14285714267265691,142857142801797073

%N Expansion of 1/((1-3x)(1-10x)).

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

%F a(n) = (10^(n+1) - 3^(n+1))/7 = 10*a(n-1) + 3^n = 3*a(n-1)+10^n. - _Henry Bottomley_, Jul 25 2001

%F a(n) = 13*a(n-1) - 30*a(n-2), n >= 2. - _Vincenzo Librandi_, Mar 14 2011

%t Join[{a=1,b=13},Table[c=13*b-30*a;a=b;b=c,{n,60}]] (* _Vladimir Joseph Stephan Orlovsky_, Feb 01 2011 *)

%t CoefficientList[Series[1/((1-3x)(1-10x)),{x,0,20}],x] (* or *) LinearRecurrence[{13,-30},{1,13},20] (* _Harvey P. Dale_, May 04 2018 *)

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_