Hello,
I am brand new to Mathematica. The below summation of a summation correctly displays the formula symbolically, but then provides an error. This formula appears to work in Wolfram Alpha. The question is, what am I doing incorrectly within Mathematica to obtain the same results?
Mathematica
Sum [Sum[ 1, {j = i + 1, n - 1}], {i = 0, n - 2}]
WolframAlpha
sum (sum 1, j=i+1 to n-1), i=0 to n-2
https://www.wolframalpha.com/input/?i=sum+%28sum+1%2C+j%3Di%2B1+to+n-1%29%2C+i%3D0+to+n-2
In addition, have a look at the syntax (yellow at the top) of Sum https://reference.wolfram.com/language/ref/Sum.html
Hi The code to be written is as follows with "," without "=" sign
Sum[Sum[1, {j, i + 1, n - 1}], {i, 0, n - 2}]
Thank you! For some reason I was receiving these via email, but not seeing the post here. It's not cache, as I tried multiple browsers. But no worries, thanks so much for the help and pointers. Exactly what I needed.