I need some help with the algebra here.
I have the following explanation, and I really can't follow the algebra. Could you also maybe give me some tips on how to think about such problems.
$a_n = 1 + (−1)^n$
Basis Step: Specify $a_1$ by $a_1 = 1 + (−1)^1 = 0$.
Recursive Step: Give a rule for finding $a_{n+1}$ from $a_n$, for $n ≥ 1$:
$a_{n+1} = 1 + (−1)^{n+1}$
$= 1 + (−1)^n(−1)$
$= 1 + [((−1)^n + 1) − 1] (−1)$
$= 1 + (a_n − 1)(−1)$
$= 2 − a_n$
Thank you!
To get from $(-1)^n(-1)$ to $[((-1)^n + 1) - 1](-1)$, you need to add $0$ (which doesn't change anything) in the sense that you add and subtract $1$. In particular, $\color{#aa0000}{ 1 - 1} = 0$, so $$(-1)^n(-1) = [(-1)^n + \color{#aa0000}{1 - 1}](-1) = [((-1)^n + 1) - 1](-1)$$
Does that make sense?