cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A198396 a(n) = 6^n - 6*n.

This page as a plain text file.
%I A198396 #35 Sep 11 2024 10:57:44
%S A198396 1,0,24,198,1272,7746,46620,279894,1679568,10077642,60466116,
%T A198396 362796990,2176782264,13060693938,78364164012,470184984486,
%U A198396 2821109907360,16926659444634,101559956668308,609359740010382,3656158440062856,21936950640377730,131621703842267004,789730223053602678
%N A198396 a(n) = 6^n - 6*n.
%H A198396 Vincenzo Librandi, <a href="/A198396/b198396.txt">Table of n, a(n) for n = 0..1000</a>
%H A198396 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (8,-13,6).
%F A198396 a(n) = 8*a(n-1) - 13*a(n-2) + 6*a(n-3) for n > 2.
%F A198396 G.f.: (1-8*x+37*x^2)/((1-6*x)*(1-x)^2). - _Vincenzo Librandi_, Jan 04 2013
%F A198396 E.g.f.: exp(x)*(exp(5*x) - 6*x). - _Elmo R. Oliveira_, Sep 10 2024
%t A198396 CoefficientList[Series[(1 - 8*x + 37*x^2)/((1 - 6*x)*(1 -x)^2), {x, 0, 30}], x] (* _Vincenzo Librandi_, Jan 04 2013 *)
%t A198396 Table[6^n-6n,{n,0,30}] (* or *) LinearRecurrence[{8,-13,6},{1,0,24},30] (* _Harvey P. Dale_, Jul 25 2019 *)
%o A198396 (Magma) [6^n-6*n: n in [0..25]];
%o A198396 (PARI) a(n)=6^n-6*n \\ _Charles R Greathouse IV_, Jul 06 2017
%Y A198396 Cf. A005803, A107583, A107584, A107585.
%K A198396 nonn,easy
%O A198396 0,3
%A A198396 _Vincenzo Librandi_, Oct 26 2011