I'm not sure which board this post should be in. If a mod could move it to the appropriate board if this isn't the correct one, that'd be great.
So let A be an array of n integers A,...,A[n-1]. where n is a positive number.
If , is ?
If not, how would you write in summation notation, S is the sum of all the values stored in the array A up to the i'th element, where i < n?