This really is a question about the semantics of the sigma notation for writing long sums in a concise way. Let's say we have a sum given by the following notation,
$$\sum_{i = 0}^{n} (\frac{1}{n} + i^2)$$
My question now is rather simple. For a given $n$, let's say $n = 3$, would this sum written out look like this,
$$\sum_{i = 0}^{3} (\frac{1}{3} + i^2) = (\frac{1}{3} + 0^2) + (\frac{1}{3} + 1^2) + (\frac{1}{3} + 2^2) + (\frac{1}{3} + 3^2)$$
or like this,
$$\sum_{i = 0}^{3} (\frac{1}{3} + i^2) = \frac{1}{3} + 0^2 + 1^2 + 2^2 + 3^2$$
Basically, my question is, whether the constant term $\frac{1}{n}$ is only counted once in the sum or for every iteration. I realize this may seem like a stupid or obvious question to some, which is why its so difficult finding anything related to this specific thing.