This is a problem from Mathematics Analyses and Approaches HL (IB). Do note that this is not homework or any sort of submission, I'm doing it merely out of interest. I need to prove the following conjecture using the principle of mathematical induction:
$$ {{2^n-(-1)^n}\over {3}} \; \text{is an odd number for all} \; n \in Z^+ $$
And here is my proof:
$$ \text{If} \; n=1, \; {{2^1-(-1)^1}\over {3}} = 1, \; \therefore P_1 \; \text{is true} $$
$$ \text{If} \; P_k \; \text{is true}, \; {{2^k-(-1)^k}\over {3}} = 2A+1 \; \text{where A} \in Z $$
$$ \text{And now,} \; {{2^{k+1}-(-1)^{k+1}}\over {3}} \implies {2({2^k)+(-1)^k}\over {3}} $$
$$ \text{from} \; P_k, \; 2^k = 6A + 3+(-1)^k $$
$$ \implies {2({6A + 3+(-1)^k)+(-1)^k}\over {3}} $$
$$ \implies {{12A+6+3(-1)^k}\over {3}} $$
$$ \implies 4A+2+(-1)^k $$
$$ \implies 2(2A+1)+(-1)^k $$
Now, my reasoning here is that two times any integer always gives an even number. We know that $2A+1$ is an integer, so $2(2A+1)$ has to be even. Now, any subtracting 1 from or adding 1 to any even number gives an odd number. As $2(2A+1)$ is even, $2(2A+1)+(-1)^k$ has to be odd.
Is this proof correct? Anything I should do differently or elaborate on?
Yes it is absolutely fine, as an alternative by exhaustion we have for $n=2k$
$${{2^n-(-1)^n}\over {3}}={{2^{2k}-1}\over {3}}\implies \frac{2^{2k}-1}{3}+1=\frac{2^{2k}+2}{3}=2\frac{2^{2k-1}+1}{3}$$
and for $n=2k+1$
$${{2^n-(-1)^n}\over {3}}={{2^{2k+1}+1}\over {3}}\implies \frac{2^{2k+1}+1}{3}+1=\frac{2^{2k}+4}{3}=2\frac{2^{2k}+1}{3}$$