I have no clue how to go about doing this question using induction. It states that the Fibonacci sequence is defined as:
F0 = 0
F1 = 1
Fn = Fn-2 + Fn-1 for n>=2
Let S(n) = Fo + F1 + F2 +...+ Fn. Prove that S(n)= Fn+2 -1
I have no clue how to go about doing this question using induction. It states that the Fibonacci sequence is defined as:
F0 = 0
F1 = 1
Fn = Fn-2 + Fn-1 for n>=2
Let S(n) = Fo + F1 + F2 +...+ Fn. Prove that S(n)= Fn+2 -1
Let us prove that $$S(n)=\sum_{i=0}^{n}F_i=F_{n+2}-1$$ for all non-negative integers $n$ by induction.
For $n=0$, it holds trivially since $F_2=1$.
Assume that it holds for $n=k$, i.e. $$S(k)=\sum_{i=0}^{k}F_i=F_{k+2}-1.$$ Then, we have $$\begin{align}S(k+1)&=\sum_{i=0}^{k+1}F_i\\&=F_{k+1}+\sum_{i=0}^{k}F_k\\&=F_{k+1}+F_{k+2}-1\\&=F_{k+3}-1\\&=F_{(k+1)+2}-1.\end{align}$$
Hence, it holds for $n=k+1$.
Hence, $S(n)=\sum_{i=0}^{n}F_i=F_{n+2}-1$ for all non-negative integers $n$. Q.E.D.