I am trying to evaluate the limit $$\lim\sup\limits_{n\to \infty}\sqrt[n]{|a_n|}$$ $$a_n=\left[1-(-2)^n\right]$$. What I did here is notice that this sequence can be written as the following:$$ a_{2n+1}=3$$ $$a_{2n}=1$$
From here it is really clear that the $\lim\sup a_n=3$, but this is a wrong answer, the correct answer is $2$.
I do not understand what is wrong in my assumptions