%I #23 Sep 08 2022 08:44:40
%S 1,16,195,2210,24521,270396,2976415,32746870,360234741,3962640176,
%T 43589217035,479481914730,5274302648161,58017333896356,
%U 638190687176055,7020097601917790,77221073750104781,849431811638310936
%N Expansion of 1/((1-2x)(1-3x)(1-11x)).
%H Vincenzo Librandi, <a href="/A016280/b016280.txt">Table of n, a(n) for n = 0..200</a>
%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (16,-61,66).
%F a(n) = 4*2^n/9 - 9*3^n/8 + 121*11^n/72. - _Antonio Alberto Olivares_, Feb 06 2010
%F a(n) = 16*a(n-1) - 61*a(n-2) + 66*a(n-3). - _Vincenzo Librandi_, Jun 25 2013
%t CoefficientList[Series[1 / ((1 - 2 x) (1 - 3 x) (1 - 11 x)), {x, 0, 20}], x] (* _Vincenzo Librandi_, Jun 25 2013 *)
%o (Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-2*x)*(1-3*x)*(1-11*x)))); /* or */ I:=[1, 16, 195]; [n le 3 select I[n] else 16*Self(n-1)-61*Self(n-2)+66*Self(n-3): n in [1..20]]; // _Vincenzo Librandi_, Jun 25 2013
%K nonn,easy
%O 0,2
%A _N. J. A. Sloane_
|