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 A071244 #23 Aug 07 2024 01:14:09 %S A071244 0,0,2,11,36,90,190,357,616,996,1530,2255,3212,4446,6006,7945,10320, %T A071244 13192,16626,20691,25460,31010,37422,44781,53176,62700,73450,85527, %U A071244 99036,114086,130790,149265,169632,192016,216546,243355,272580,304362,338846,376181 %N A071244 a(n) = n*(n-1)*(n^2 + 2)/6. %D A071244 T. A. Gulliver, Sequences from Arrays of Integers, Int. Math. Journal, Vol. 1, No. 4, pp. 323-332, 2002. %H A071244 Vincenzo Librandi, <a href="/A071244/b071244.txt">Table of n, a(n) for n = 0..2000</a> %H A071244 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (5,-10,10,-5,1). %F A071244 a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5), n > 4, a(0)=0, a(1)=0, a(2)=2, a(3)=11, a(4)=36. - _Yosu Yurramendi_, Sep 03 2013 %F A071244 From _G. C. Greubel_, Aug 06 2024: (Start) %F A071244 G.f.: x^2*(2 + x + x^2)/(1 - x)^5. %F A071244 E.g.f.: (1/6)*x^2*(6 + 5*x + x^2)*exp(x). (End) %t A071244 Table[n(n-1)(n^2+2)/6,{n,0,50}] (* or *) LinearRecurrence[{5,-10,10,-5,1},{0,0,2,11,36},50] (* _Harvey P. Dale_, Nov 27 2022 *) %o A071244 (Magma) [n*(n-1)*(n^2+2)/6: n in [0..40]]; // _Vincenzo Librandi_, Jun 14 2011 %o A071244 (PARI) a(n)=n*(n-1)*(n^2+2)/6; \\ _Joerg Arndt_, Sep 04 2013 %o A071244 (SageMath) %o A071244 def A071244(n): return binomial(n,2)*(n^2+2)//3 %o A071244 [A071244(n) for n in range(41)] # _G. C. Greubel_, Aug 06 2024 %Y A071244 Cf. A071239. %K A071244 nonn,easy %O A071244 0,3 %A A071244 _N. J. A. Sloane_, Jun 12 2002