Should $\sum_{i=0}^n a + b$ be interpreted as $(\sum_{i=0}^n a) + b$ or $\sum_{i=0}^n (a + b)$
I often see the expression $\sum_{i=0}^n a + b$ in books and wonder whether we take the sum $(\sum_{i=0}^n a) + b$ or $\sum_{i=0}^n (a + b)$. Often I can see which one from context, but is there a general rule ?
Example is: $\sum^{n-1}_{j=0} (-1)^j x^{2j} + (-1)^n \frac {x^{2n}} {1+x^2}$. I misinterpreted this, because I assumed $\sum^{n-1}_{j=0} (-1)^j x^{2j} + (-1)^n \frac {x^{2n}} {1+x^2} = \sum^{n-1}_{j=0} ((-1)^j x^{2j} + (-1)^n \frac {x^{2n}} {1+x^2})$ but it was actually $(\sum^{n-1}_{j=0} (-1)^j x^{2j}) + (-1)^n \frac {x^{2n}} {1+x^2}$.