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.

A016172 Expansion of 1/((1-6*x)*(1-9*x)).

This page as a plain text file.
%I A016172 #21 Nov 11 2024 03:47:33
%S A016172 1,15,171,1755,17091,161595,1501011,13789035,125780931,1142106075,
%T A016172 10339420851,93417584715,842935044771,7599476096955,68473649036691,
%U A016172 616733026314795,5553418346740611,49997691780110235
%N A016172 Expansion of 1/((1-6*x)*(1-9*x)).
%H A016172 G. C. Greubel, <a href="/A016172/b016172.txt">Table of n, a(n) for n = 0..1000</a>
%H A016172 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (15,-54).
%F A016172 a(n) = (9^(n+1) - 6^(n+1))/3. - Lambert Klasen (lambert.klasen(AT)gmx.net), Feb 05 2005
%F A016172 a(0)=1, a(n) = 9*a(n-1) + 6^n. - _Vincenzo Librandi_, Feb 09 2011
%F A016172 a(0)=1, a(1)=15, a(n) = 15*a(n-1) - 54*a(n-2). - _Vincenzo Librandi_, Feb 09 2011
%F A016172 E.g.f.: 3*exp(9*x) - 2*exp(6*x). - _G. C. Greubel_, Nov 10 2024
%t A016172 Table[(9^(n+1)-6^(n+1))/3, {n,0,30}] (* _Vladimir Joseph Stephan Orlovsky_, Feb 01 2011 *)
%t A016172 CoefficientList[Series[1/((1-6x)(1-9x)),{x,0,30}],x] (* or *) LinearRecurrence[{15,-54},{1,15},30] (* _Harvey P. Dale_, Oct 07 2015 *)
%o A016172 (PARI) Vec(1/((1-6*x)*(1-9*x))+O(x^99)) \\ _Charles R Greathouse IV_, Sep 26 2012
%o A016172 (Magma) [n le 2 select 15^(n-1) else 15*Self(n-1) -54*Self(n-2): n in [1..31]]; // _G. C. Greubel_, Nov 10 2024
%o A016172 (SageMath)
%o A016172 A016172=BinaryRecurrenceSequence(15,-54,1,15)
%o A016172 [A016172(n) for n in range(31)] # _G. C. Greubel_, Nov 10 2024
%Y A016172 Cf. A016129.
%K A016172 nonn,easy
%O A016172 0,2
%A A016172 _N. J. A. Sloane_