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!)
A206809 Sum_{0<j<k<=n} k^3-j^3. 3
7, 52, 208, 608, 1463, 3080, 5880, 10416, 17391, 27676, 42328, 62608, 89999, 126224, 173264, 233376, 309111, 403332, 519232, 660352, 830599, 1034264, 1276040, 1561040, 1894815, 2283372, 2733192, 3251248, 3845023, 4522528, 5292320 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
Partial sums of A206808. For a guide to related sequences, see A206817.
LINKS
FORMULA
a(n) = (n*(-4-15*n-5*n^2+15*n^3+9*n^4))/60. G.f.: x^2*(x^2+10*x+7) / (x-1)^6. - Colin Barker, Jul 11 2014
EXAMPLE
a(3) = (8-1) + (27-1) + (27-8) = 52.
a(4) = a(3) + (64-1) + (64-8) + (64-27) = 208.
MATHEMATICA
s[k_] := k^3; t[1] = 0;
p[n_] := Sum[s[k], {k, 1, n}];
c[n_] := n*s[n] - p[n];
t[n_] := t[n - 1] + (n - 1) s[n] - p[n - 1]
Table[c[n], {n, 2, 50}] (* A206808 *)
Flatten[Table[t[n], {n, 2, 35}]] (* A206809 *)
PROG
(PARI) vector(100, n, n*(9*n^4+60*n^3+145*n^2+150*n+56)/60) \\ Colin Barker, Jul 11 2014
(PARI) Vec(x^2*(x^2+10*x+7)/(x-1)^6 + O(x^100)) \\ Colin Barker, Jul 11 2014
(Sage) [sum([sum([k^3-j^3 for j in range(1, k)]) for k in range(2, n+1)]) for n in range(2, 33)] # Danny Rorabaugh, Apr 18 2015
CROSSREFS
Sequence in context: A352242 A138849 A057675 * A027542 A254946 A258845
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Feb 15 2012
STATUS
approved

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 27 01:58 EDT 2024. Contains 372004 sequences. (Running on oeis4.)