Given the set $$B=\left\{\frac{1}{n}+(-1)^n, n \in \mathbb N\right\}$$ I have to find $\sup B$, $\inf B$, $\max B$, $\min B$.$$$$ For $n=even:$
$$B_{even}=\left\{\frac{1}{2k}+1, k=1,2,...\right\}$$
For $n=odd:$
$$B_{odd}=\left\{\frac{1}{2k+1}-1, k=0,1,2,...\right\}$$
So, $\max B= 1+ \frac{1}{2}=\frac{3}{2}$, $\sup B =\frac{3}{2}$, $\min B=-1$, $\nexists \inf B$. Is this correct?