For odd values of $n$, we have $(-1)^n = -1$, so the term becomes $1 - (-1)/n = 1 + 1/n$. For even values of $n$, we have $(-1)^n = 1$, so the term becomes $1 - 1/n$.
Now, let's consider the odd and even terms separately. For odd terms, we have $1 + 1/n$, where
Show more…