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 A074742 #29 Jul 12 2023 06:47:20 %S A074742 2,3,7,15,28,47,73,107,150,203,267,343,432,535,653,787,938,1107,1295, %T A074742 1503,1732,1983,2257,2555,2878,3227,3603,4007,4440,4903,5397,5923, %U A074742 6482,7075,7703,8367,9068,9807,10585,11403,12262,13163,14107,15095,16128,17207,18333 %N A074742 a(n) = (n^3 + 6n^2 - n + 12)/6. %D A074742 A. Schultze, Advanced Algebra, Macmillan, London, 1910; p. 552. %H A074742 Vincenzo Librandi, <a href="/A074742/b074742.txt">Table of n, a(n) for n = 0..10000</a> %H A074742 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4,-6,4,-1). %F A074742 From _R. J. Mathar_, Sep 23 2008: (Start) %F A074742 G.f.: (2 - 5*x + 7*x^2 - 3*x^3)/(1-x)^4. %F A074742 a(n) = A027965(n+1), n > 0. (End) %F A074742 E.g.f.: exp(x)*(12 + 6*x + 9*x^2 + x^3)/6. - _Stefano Spezia_, Jul 12 2023 %t A074742 Table[(n^3 + 6n^2 - n + 12)/6, {n, 0, 49}] (* _Alonso del Arte_, Jan 13 2012 *) %t A074742 CoefficientList[Series[(2-5x+7x^2-3x^3)/(1-x)^4,{x,0,50}],x] (* or *) LinearRecurrence[ {4,-6,4,-1},{2,3,7,15},50] (* _Harvey P. Dale_, Aug 05 2022 *) %o A074742 (PARI) a(n)=n*(n^2+6*n-1)/6+2 \\ _Charles R Greathouse IV_, Jan 13 2012 %o A074742 (Magma) [(n^3 + 6*n^2 - n + 12)/6: n in [0..50]]; // _Vincenzo Librandi_, Jan 13 2012 %Y A074742 Cf. A027965. %K A074742 nonn,easy %O A074742 0,1 %A A074742 _Susanna Cuyler_, Sep 06 2002