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 A058372 #31 Oct 22 2023 15:06:47 %S A058372 2,3,1,-6,-20,-43,-77,-124,-186,-265,-363,-482,-624,-791,-985,-1208, %T A058372 -1462,-1749,-2071,-2430,-2828,-3267,-3749,-4276,-4850,-5473,-6147, %U A058372 -6874,-7656,-8495,-9393,-10352,-11374,-12461,-13615,-14838,-16132,-17499,-18941,-20460,-22058,-23737 %N A058372 a(n) = -(n + 1)*(2*n^2 + n - 12)/6. %H A058372 Paolo Xausa, <a href="/A058372/b058372.txt">Table of n, a(n) for n = 0..10000</a> %H A058372 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4,-6,4,-1). %F A058372 G.f.: (2 - 5*x + x^2)/(1 - x)^4. %t A058372 LinearRecurrence[{4,-6,4,-1},{2,3,1,-6},100] (* _Paolo Xausa_, Oct 22 2023 *) %o A058372 (Magma) [-(n + 1)*(2*n^2 + n - 12)/6 : n in [0..80]]; // _Wesley Ivan Hurt_, Aug 19 2022 %K A058372 sign,easy %O A058372 0,1 %A A058372 _N. J. A. Sloane_, Dec 18 2000