login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A075664 Sum of next n cubes. 9

%I #37 Sep 08 2022 08:45:07

%S 1,35,405,2584,11375,38961,111475,278720,627669,1300375,2516921,

%T 4604040,8030035,13446629,21738375,34080256,52004105,77474475,

%U 112974589,161603000,227181591,314375545,428825915,577295424,767828125,1009923551,1314725985,1695229480,2166499259

%N Sum of next n cubes.

%H Vincenzo Librandi, <a href="/A075664/b075664.txt">Table of n, a(n) for n = 1..1000</a>

%H <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 a(1)=1; a(n)=sum(i^s, {i, n(n-1)/2+1, n(n-1)/2+1+n}).

%F a(n) = (n^7 + 4n^5 + 3n^3)/8. - _Charles R Greathouse IV_, Sep 17 2009

%F G.f.: x*(1+27*x+153*x^2+268*x^3+153*x^4+27*x^5+x^6)/(1-x)^8. - _Colin Barker_, May 25 2012

%F a(n) = n^3*(n^2 + 1)*(n^2 + 3)/8 = A000578(n)*A002522(n)*A117950(n)/8. - _Philippe Deléham_, Mar 09 2014

%e s=3; a(1) = 1^s = 1; a(2) = 2^s + 3^s = 2^3+3^3 = 35; a(3) = 4^s + 5^s + 6^s = 64 + 125 + 216 = 405.

%e a(1) = 1*2*3/8 = 1;

%e a(2) = 8*5*7/8 = 35;

%e a(3) = 27*10*12/8 = 405;

%e a(4) = 64*17*19/8 = 2584;

%e a(5) = 125*26*28/8 = 11375; etc. - _Philippe Deléham_, Mar 09 2014

%p A075664:=n->(n^7 + 4n^5 + 3n^3)/8; seq(A075664(n), n=1..30); # _Wesley Ivan Hurt_, Mar 10 2014

%t i1 := n(n-1)/2+1; i2 := n(n-1)/2+n; s=3; Table[Sum[i^s, {i, i1, i2}], {n, 20}]

%t CoefficientList[Series[(1 + 27 x + 153 x^2 + 268 x^3 + 153 x^4 + 27 x^5 + x^6)/(1 - x)^8, {x, 0, 40}], x](* _Vincenzo Librandi_, Mar 11 2014 *)

%t With[{nn=30},Total/@TakeList[Range[(nn(nn+1))/2]^3,Range[nn]]] (* Requires Mathematica version 11 or later *) (* or *) LinearRecurrence[{8,-28,56,-70,56,-28,8,-1},{1,35,405,2584,11375,38961,111475,278720},30] (* _Harvey P. Dale_, Jun 05 2021 *)

%o (Magma) [(n^7+4*n^5+3*n^3)/8: n in [1..30]]; // _Vincenzo Librandi_, Mar 11 2014

%o (PARI) a(n)=(n^7+4*n^5+3*n^3)/8 \\ _Charles R Greathouse IV_, Oct 07 2015

%Y Cf. A006003 (s=1), A072474 (s=2), A075664-A075670 (s=3-10), A075671 (s=n).

%K nonn,easy

%O 1,2

%A _Zak Seidov_, Sep 24 2002

%E Formula from _Charles R Greathouse IV_, Sep 17 2009

%E More terms from _Vincenzo Librandi_, Mar 11 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)