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 A015238 #21 Sep 08 2022 08:44:39 %S A015238 0,-1,4,27,80,175,324,539,832,1215,1700,2299,3024,3887,4900,6075,7424, %T A015238 8959,10692,12635,14800,17199,19844,22747,25920,29375,33124,37179, %U A015238 41552,46255,51300,56699,62464,68607 %N A015238 a(n) = (2*n - 3)n^2. %H A015238 Ivan Panchenko, <a href="/A015238/b015238.txt">Table of n, a(n) for n = 0..1000</a> %H A015238 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4,-6,4,-1). %F A015238 G.f.: x*(-1 + 8*x + 5*x^2)/(1-x)^4. - _Ivan Panchenko_, Nov 09 2013 %F A015238 From _G. C. Greubel_, Jul 30 2016: (Start) %F A015238 a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). %F A015238 E.g.f.: (-x + 3*x^2 + 2*x^3)*exp(x). (End) %t A015238 Table[(2 n^3 - 3 n^2), {n, 0, 40}] (* _Vincenzo Librandi_, Aug 03 2014 *) %o A015238 (Magma) [2*n^3-3*n^2: n in [0..40]]; // _Vincenzo Librandi_, Aug 03 2014 %o A015238 (PARI) a(n)=(2*n-3)*n^2 \\ _Charles R Greathouse IV_, Jul 30 2016 %K A015238 sign,easy %O A015238 0,3 %A A015238 _N. J. A. Sloane_, Dec 11 1999