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 A143698 #21 May 31 2021 03:56:39 %S A143698 0,12,72,180,336,540,792,1092,1440,1836,2280,2772,3312,3900,4536,5220, %T A143698 5952,6732,7560,8436,9360,10332,11352,12420,13536,14700,15912,17172, %U A143698 18480,19836,21240,22692,24192,25740,27336,28980,30672,32412 %N A143698 12 times hexagonal numbers: 12*n*(2*n-1). %C A143698 Sequence found by reading the line from 0, in the direction 0, 12,..., in the square spiral whose vertices are the generalized tetradecagonal numbers A195818. - _Omar E. Pol_, Oct 02 2011 %H A143698 Ivan Panchenko, <a href="/A143698/b143698.txt">Table of n, a(n) for n = 0..1000</a> %H A143698 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1). %F A143698 a(n) = 24*n^2 - 12*n = 12*A000384(n) = 6*A002939(n) = 4*A094159(n) = 3*A085250(n) = 2*A152746(n). %F A143698 a(n) = a(n-1) + 48*n - 36, with a(0)=0. - _Vincenzo Librandi_, Dec 14 2010 %F A143698 From _G. C. Greubel_, May 30 2021: (Start) %F A143698 G.f.: 12*x*(1 + 3*x)/(1-x)^3. %F A143698 E.g.f.: 12*x*(1 + 2*x)*exp(x). (End) %p A143698 seq(12*n*(2*n-1), n=0..40); # _G. C. Greubel_, May 30 2021 %t A143698 Table[24n^2-12n,{n,0,40}] (* or *) LinearRecurrence[{3,-3,1},{0,12,72},40] (* _Harvey P. Dale_, Sep 24 2015 *) %o A143698 (PARI) a(n)=24*n^2-12*n \\ _Charles R Greathouse IV_, Jun 17 2017 %o A143698 (Sage) [12*n*(2*n-1) for n in (0..40)] # _G. C. Greubel_, May 30 2021 %Y A143698 Cf. A000384, A002939, A085250, A094159, A152746, A154617. %K A143698 easy,nonn %O A143698 0,2 %A A143698 _Omar E. Pol_, Jan 23 2009