On a piece of coursework I am working on, we are asked to perform some calculations involving the following:

As you can see, it is possible for $(N-1)/2$ to be fractional, e.g. in the case $N=4$. How exactly do I go about computing this sum, as I have never seen fractions being involved before.