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.
2^n-1 + 3 * 2^(n-3) -1 + sum_(j=3)^(n-1)((j^2 + j (j + 1)/2 - 1) 2^(n - j - 1) - j) - (n-1)
Natural Language
Math Input
Extended Keyboard
Examples
Upload
Random