- #1
njama
- 216
- 1
Homework Statement
Hello!
I just want to be sure if I did solve the task correctly.
The task is:
Prove that bn is odd for integers n>=1
b1=1
b2=3
bk=bk-2+2bk-1 for k>=3
Homework Equations
The Attempt at a Solution
Induction basis:
b1=1 true 1 is odd
b2=3 true 2 is odd
Now the question is:
Could I use the strong (complete) induction?
If I can use it, the solution is simple:
Let the recurrence relation is true for all k, such that n<k and n=k i.e n<=k
bk=bk-2+2bk-1
then for n=k+1
bk+1=bk-1+2bk
bk-1 is odd and 2bk is even therefore odd+even=odd
Is this correct?
Thank you.
Regards.