Uh oh! Wolfram|Alpha doesn't run without JavaScript.
Please enable JavaScript. If you don't know how, you can find instructions
here
.
Once you've done that, refresh this page to start using Wolfram|Alpha.
= 1/2 n^3 - n^2(n+1)/2 - 1/2 n^2 + (n(n+1)(2n+1))/12 + n(n+1)/4
Natural Language
Math Input
Extended Keyboard
Examples
Upload
Random