login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A240137
Sum of n consecutive cubes starting from n^3.
9
0, 1, 35, 216, 748, 1925, 4131, 7840, 13616, 22113, 34075, 50336, 71820, 99541, 134603, 178200, 231616, 296225, 373491, 464968, 572300, 697221, 841555, 1007216, 1196208, 1410625, 1652651, 1924560, 2228716, 2567573, 2943675, 3359656, 3818240, 4322241, 4874563
OFFSET
0,3
COMMENTS
Sum_{i>=1} 1/a(i) = 1.0356568858420883122567711052556541...
Consider the partitions of 2n into two parts (p,q) where p <= q. Then a(n) is the total volume of the family of cubes with side length q. - Wesley Ivan Hurt, Apr 15 2018
A180920 lists the numbers k such that a(k) is a square. - Jon E. Schoenfield, Mar 13 2022
FORMULA
G.f.: x*(1 + 30*x + 51*x^2 + 8*x^3)/(1 - x)^5.
a(n) = n^2*(3*n - 1)*(5*n - 3)/4 = A000326(n)*A000566(n).
a(n) = A116149(-n), with A116149(0)=0.
a(n) = Sum_{j=n..2n-1} j^3. - Jon E. Schoenfield, Mar 13 2022
EXAMPLE
a(3) = 216 because 216 = 3^3 + 4^3 + 5^3.
MAPLE
A240137:=n->n^2*(3*n-1)*(5*n-3)/4; seq(A240137(n), n=0..40); # Wesley Ivan Hurt, May 09 2014
MATHEMATICA
Table[n^2 (3 n - 1) (5 n - 3)/4, {n, 0, 40}]
CoefficientList[Series[x (1 + 30 x + 51 x^2 + 8 x^3)/(1 - x)^5, {x, 0, 40}], x] (* Vincenzo Librandi, May 09 2014 *)
PROG
(Sage) [n^2*(3*n-1)*(5*n-3)/4 for n in [0..40]]
(Magma) [n^2*(3*n-1)*(5*n-3)/4: n in [0..40]];
(PARI) a(n)=n^2*(3*n-1)*(5*n-3)/4 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Subsequence of A217843.
Cf. A116149: sum of n consecutive cubes after n^3.
Cf. A050410: sum of n consecutive squares starting from n^2.
Cf. A000326 (pentagonal numbers): sum of n consecutive integers starting from n.
Cf. A126274: n-th triangular number (A000217) * n-th pentagonal number (A000326).
Sequence in context: A345655 A101628 A064013 * A020262 A224104 A300523
KEYWORD
nonn,easy
AUTHOR
Bruno Berselli, Apr 02 2014
STATUS
approved