I am given the sequence $a_0 = 0$, $a_1 = 1$, and for all $n \geq 2$, $a_n = a_{n-1} + 2a_{n-2}$. I must prove that if $3 \mid n$, then $3 \mid a_n$. By logic, if $3 \nmid n$, then the conclusion $3 \mid a_n$ is automatically true. So, I should only prove that $3 \mid a_n$ is true for multiples of 3, right? So what I did was suppose $3 \mid n$ and try to prove that $3 \mid a_{3n}$. I will argue by induction on $n$.
- Base Case. Suppose $n = 0$. Then, $3 \mid 0 = a_0$. So, the base case holds.
- Induction Hypothesis Suppose $3 \mid a_{3k}$ for some integer $k \geq 0$. We must show that $3 \mid a_{3k+1}$.
I know that $a_{3k+1} = a_{3k} + 2a_{3k-1}$, which implies $a_{3k+1} = 3m + 2a_{3k-1}$ for some integer $m$. I don't know how to continue the proof from here. Is it even correct so far? Please help!