If the length of a set is odd then I know that the index of the median is $\frac{(n+1)}{2}$ but I'm not sure what it is when the length of the set is even. Some places I find say that it is still $\frac{(n+1)}{2}$ but some say that it is $\frac{n}{2}$.
I know this is probably an easy question that's been answered everywhere but I couldn't find it. Thanks.