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 A151675 #25 Jan 22 2025 06:01:50 %S A151675 8,27,63,122,210,333,497,708,972,1295,1683,2142,2678,3297,4005,4808, %T A151675 5712,6723,7847,9090,10458,11957,13593,15372,17300,19383,21627,24038, %U A151675 26622,29385,32333,35472,38808,42347,46095,50058,54242,58653,63297 %N A151675 Row sums of A154685. %H A151675 Vincenzo Librandi, <a href="/A151675/b151675.txt">Table of n, a(n) for n = 1..1000</a> %H A151675 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4,-6,4,-1). %F A151675 From _R. J. Mathar_, May 31 2009: (Start) %F A151675 a(n) = n*(2*n^2 + 5*n + 9)/2. %F A151675 a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). %F A151675 G.f.: x*(8 - 5*x + 3*x^2)/(1-x)^4. (End) %F A151675 a(n) = A162261(n) + 8*n. - _L. Edson Jeffery_, Oct 12 2012 %F A151675 E.g.f.: (1/2)*x*(16 + 11*x + 2*x^2)*exp(x). - _G. C. Greubel_, Jan 21 2025 %t A151675 CoefficientList[Series[(8-5*x+3*x^2)/(1-x)^4,{x,0,40}],x] (* _Vincenzo Librandi_, Jun 30 2012 *) %o A151675 (Magma) I:=[8, 27, 63, 122]; [n le 4 select I[n] else 4*Self(n-1)-6*Self(n-2)+4*Self(n-3)-Self(n-4): n in [1..50]]; // _Vincenzo Librandi_, Jun 30 2012 %o A151675 (Python) %o A151675 def A151675(n): return n*(2*n**2 +5*n+9)//2 %o A151675 print([A151675(n) for n in range(1,51)]) # _G. C. Greubel_, Jan 21 2025 %Y A151675 Cf. A154685, A162261. %K A151675 nonn,easy %O A151675 1,1 %A A151675 _N. J. A. Sloane_, May 31 2009 %E A151675 Extended by _R. J. Mathar_, May 31 2009