I have a problem to understand k in the following induction proof.
Prove that $3^n -1$ is even for any natural number $n$.
Is there anybody that can show me that this is a valid proof and what is k in this case? \begin{align} \tag{Basis} 3^0-1&=0 \\ \tag{Basis} -3^1-1&=2 \\ \tag{Induction step} \text{For $n\geq2$} \qquad 3^n-1&=3\cdot 3^{n-1}-1 \\ &=3\cdot(3^{n-1}-1)+2 \\ &=3\cdot 2k+2 \quad \text{where $k \in\mathbb{Z}$} \\ &=2\cdot(3k+1) \\ \end{align}
I may be mistaken, but it looks like this is a proof of the fact that numbers of the form $3^{n}-1$ for $n \in \mathbb{N}$ are even, meaning they can be expressed as $2k$ for integral $k$. The base cases, the second of which is both superfluous and and mistakenly has a negative in front of the $3^{1}$, show directly that this holds for $n = 0,1$. In the inductive step, it is proven that the claim holds for $n$, assuming that it holds for $n-1$. As you can see, the quantity $3^{n} - 1$ is - after a string of algebraic manipulations including the substitution $3^{n-1}-1=2k$ are performed - shown to be equal to twice an integer. In my mind, an easier proof would be to note that $3^{n}$ is always odd, and thus $3^{n} - 1$ is always even, but maybe this is more a demonstration of the technique of induction than of its result.