%I #25 Mar 13 2023 15:05:29
%S 1,0,48,488,4064,32728,262096,2097096,16777152,134217656,1073741744,
%T 8589934504,68719476640,549755813784,4398046510992,35184372088712,
%U 281474976710528,2251799813685112,18014398509481840,144115188075855720
%N 8^n - 8*n.
%H Vincenzo Librandi, <a href="/A198398/b198398.txt">Table of n, a(n) for n = 0..1000</a>
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (10,-17,8).
%F a(n) = 10*a(n-1)-17*a(n-2)+8*a(n-3) for n>2.
%F G.f.: (1 - 10*x + 65*x^2)/((1 - 8*x)*(1 -x)^2). - _Vincenzo Librandi_, Jan 04 2013
%t CoefficientList[Series[(1 - 10*x + 65*x^2)/((1 - 8*x)*(1 -x)^2), {x, 0, 30}], x] (* _Vincenzo Librandi_, Jan 04 2013 *)
%t LinearRecurrence[{10,-17,8},{1,0,48},30] (* _Harvey P. Dale_, Mar 13 2023 *)
%o (Magma) [8^n-8*n: n in [0..25]];
%o (PARI) a(n)=8^n-8*n \\ _Charles R Greathouse IV_, Jul 06 2017
%Y Cf. A005803, A107583, A107584, A107585.
%K nonn,easy
%O 0,3
%A _Vincenzo Librandi_, Oct 26 2011
|