Proof. This will be proven by
induction. Due to the presence of
$\lfloor\frac{n}{2}\rfloor$ ,
odd $n$ and
even $n$ should be considered separately. Thus, there are two
base steps:
- If $n=0$ , then $$ s_0=s_0\sum_{k=0}^0 \binom{0-k}{k} B^k A^{0-2k}. $$
- If $n=1$ , then $$ s_1=As_0=s_0\sum_{k=0}^0 \binom{1-k}{k} B^k A^{1-2k}. $$
Now assume that the theorem holds for all nonnegative integers less than or equal to some positive integer $n$ . We must show that the theorem holds for $n+1$ .
Recall that $$ s_{n+1}=As_n+Bs_{n-1}. $$ We can use the induction hypothesis on $s_n$ and $s_{n-1}$ :
First assume that
$n$ is odd. Then the first of the two
summations has
$\lfloor\frac{n}{2}\rfloor=\frac{n-1}{2}$ terms and the second summation has
$\lfloor\frac{n+1}{2}\rfloor=\frac{n+1}{2}$ terms. Therefore, we must split off the
$k=\frac{n+1}{2}$ term from the second summation before combining the two summations:
Now assume that
$n$ is even. Then the two summations have the same
number of terms and can be combined as is:
Hence, the theorem holds for all nonnegative integers
$n$ .
