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.
%I A249992 #31 Nov 12 2024 08:18:00 %S A249992 1,0,7,6,49,84,379,882,3157,8448,27391,78078,242425,710892,2165443, %T A249992 6430794,19423453,58008216,174548935,522598230,1569891841,4705481220, %U A249992 14124832267,42357719586,127106713189,381253030704,1143893309839,3431411494062,10294771353097 %N A249992 Expansion of 1/((1+x)*(1+2*x)*(1-3*x)). %H A249992 Colin Barker, <a href="/A249992/b249992.txt">Table of n, a(n) for n = 0..1000</a> %H A249992 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (0,7,6). %F A249992 G.f.: 1/((1+x)*(1+2*x)*(1-3*x)). %F A249992 a(n) = ( 3^(n+2) + (2^(n+4) - 5)*(-1)^n )/20. - _Colin Barker_, Dec 28 2014 %F A249992 a(n) = 7*a(n-2) + 6*a(n-3). - _Colin Barker_, Dec 28 2014 %F A249992 E.g.f.: (9/20)*exp(3*x) + (4/5)*exp(-2*x) - (1/4)*exp(-x). - _Robert Israel_, Dec 28 2014 %p A249992 seq((9/20)*3^n+(4/5)*(-2)^n-(1/4)*(-1)^n, n=0 .. 100); # _Robert Israel_, Dec 28 2014 %t A249992 LinearRecurrence[{0, 7, 6}, {1, 0, 7}, 29] (* _Jean-François Alcover_, Oct 05 2017 *) %t A249992 CoefficientList[Series[1/((1+x)(1+2x)(1-3x)),{x,0,30}],x] (* _Harvey P. Dale_, May 26 2020 *) %o A249992 (PARI) Vec(1/((1+x)*(1+2*x)*(1-3*x)) + O(x^50)) \\ _Michel Marcus_, Dec 28 2014 %o A249992 (Magma) [(3^(n+2) + (-1)^n*(2^(n+4) - 5))/20: n in [0..50]]; // _G. C. Greubel_, Jul 21 2022 %o A249992 (SageMath) [(3^(n+2) +(-1)^n*(2^(n+4) -5))/20 for n in (0..50)] # _G. C. Greubel_, Jul 21 2022 %Y A249992 Cf. A249993. %Y A249992 Cf. A000392: expansion of x^3/((1-x)*(1-2*x)*(1-3*x)). %Y A249992 Cf. A091002: expansion of x^2/((1-x)*(1+2*x)*(1-3*x)). %Y A249992 Cf. A094705: expansion of x/((1+x)*(1-2*x)*(1-3*x)). %K A249992 nonn,easy %O A249992 0,3 %A A249992 _Alex Ratushnyak_, Dec 27 2014