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 A152997 #32 Oct 05 2024 04:31:59 %S A152997 0,2,26,72,140,230,342,476,632,810,1010,1232,1476,1742,2030,2340,2672, %T A152997 3026,3402,3800,4220,4662,5126,5612,6120,6650,7202,7776,8372,8990, %U A152997 9630,10292,10976,11682,12410,13160,13932,14726,15542,16380,17240,18122,19026,19952,20900,21870,22862,23876 %N A152997 Twice 13-gonal numbers: a(n) = n*(11*n - 9). %H A152997 G. C. Greubel, <a href="/A152997/b152997.txt">Table of n, a(n) for n = 0..1000</a> %H A152997 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1). %F A152997 a(n) = 11*n^2 - 9*n = A051865(n)*2. %F A152997 a(n) = a(n-1) + 22*n - 20 (with a(0)=0). - _Vincenzo Librandi_, Nov 27 2010 %F A152997 From _G. C. Greubel_, Sep 01 2019: (Start) %F A152997 G.f.: 2*x*(1 + 10*x)/(1-x)^3. %F A152997 E.g.f.: x*(2 + 11*x)*exp(x). (End) %p A152997 seq(n*(11*n-9), n=0..50); # _G. C. Greubel_, Sep 01 2019 %t A152997 Table[n*(11*n-9), {n,0,50}] (* _G. C. Greubel_, Sep 01 2019 *) %o A152997 (Magma) [n*(11*n-9): n in [0..50]]; %o A152997 (PARI) a(n)=n*(11*n-9) \\ _Charles R Greathouse IV_, Jun 17 2017 %o A152997 (Sage) [n*(11*n-9) for n in (0..50)] # _G. C. Greubel_, Sep 01 2019 %o A152997 (GAP) List([0..50], n-> n*(11*n-9)); # _G. C. Greubel_, Sep 01 2019 %Y A152997 Cf. A051865 (13-gonal numbers). %Y A152997 Cf. numbers of the form n*(n*k - k + 4)/2 listed in A226488 (this sequence is the case k=22). - _Bruno Berselli_, Jun 10 2013 %K A152997 easy,nonn %O A152997 0,2 %A A152997 _Omar E. Pol_, Dec 22 2008 %E A152997 Terms a(39) onward added by _G. C. Greubel_, Sep 01 2019