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.
Table[n(2x^2+2x+1-n)-x(x+1)(6x^2+2x+1)/6+floor((n-x^2)/(x+1))(2x+1)(n-x^2-x),{n,1,100}], where x=floor(sqrt(n))
Natural Language
Math Input
Extended Keyboard
Examples
Upload
Random