cp's OEIS Frontend

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.

A245940 (2n^7 + 4n^6 - n^5 - 4n^4 - n^3) / 24.

This page as a plain text file.
%I A245940 #24 Sep 08 2022 08:46:09
%S A245940 0,0,17,279,1960,8875,30555,87122,216384,483570,994125,1909985,
%T A245940 3469752,6013189,10010455,16096500,25111040,38144532,56590569,
%U A245940 82205115,117173000,164182095,226505587,308092774,413668800,548843750,720231525,935578917,1203905304
%N A245940 (2n^7 + 4n^6 - n^5 - 4n^4 - n^3) / 24.
%C A245940 For n > 0: sum of n-th row of triangle A245826.
%H A245940 Reinhard Zumkeller, <a href="/A245940/b245940.txt">Table of n, a(n) for n = 0..10000</a>
%H A245940 <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (8,-28,56,-70,56,-28,8,-1).
%F A245940 a(n) = n^3*(2*n^3 + 2*n^2 - 3*n - 1)*(n + 1)/24 = n^3*(n - 1)*(n + 1)*(2*n^2 + 4*n + 1)/24.
%F A245940 G.f.: x^2*(x^4 + 55*x^3 + 204*x^2 + 143*x + 17) / (x - 1)^8. - _Colin Barker_, Aug 08 2014
%p A245940 A245940:=n->(2*n^7 + 4*n^6 - n^5 - 4*n^4 - n^3) / 24: seq(A245940(n), n=0..30); # _Wesley Ivan Hurt_, Aug 09 2014
%t A245940 Table[(2 n^7 + 4 n^6 - n^5 - 4 n^4 - n^3)/24, {n, 0, 30}] (* _Vincenzo Librandi_, Aug 09 2014 *)
%t A245940 LinearRecurrence[{8,-28,56,-70,56,-28,8,-1},{0,0,17,279,1960,8875,30555,87122},30] (* _Harvey P. Dale_, Apr 19 2018 *)
%o A245940 (Haskell)
%o A245940 a245940 n = n^3 * (2 * n^3 + 2 * n^2 - 3 * n - 1) * (n + 1) `div` 24
%o A245940 (PARI)
%o A245940 concat([0,0], Vec(x^2*(x^4+55*x^3+204*x^2+143*x+17)/(x-1)^8 + O(x^100))) \\ _Colin Barker_, Aug 08 2014
%o A245940 (Magma) [(2*n^7 + 4*n^6 - n^5 - 4*n^4 - n^3) / 24: n in [0..30]] // _Vincenzo Librandi_, Aug 09 2014
%K A245940 nonn,easy
%O A245940 0,3
%A A245940 _Reinhard Zumkeller_, Aug 07 2014