Am I doing this right?
S={$(-1)^n$|n$\in$natural numbers}
I got that
S =\begin{cases} -1, & \text{if $n$ is odd} \\ 1, & \text{if $n$ is even} \end{cases}S={$(-1)^n$n|n$\in$natural numbers}
I got that
S =\begin{cases} -\infty, & \text{if $n$ is odd} \\ \infty, & \text{if $n$ is new} \end{cases}