Question
Question: Let \[{a_n}\] denote the number of all n-digit positive integers formed by the digits \[0,\;1,\] or ...
Let an denote the number of all n-digit positive integers formed by the digits 0,1, or both such that no consecutive digits in them are 0. Let bn= The number of such n-digit integers ending with digit 1 and cn= Then number of such n-digit integers with digit 0. The value of b6 is
A) 7
B) 8
C) 9
D) 11
Solution
Here the term bn is representing n-digit positive integers formed by digits 0,1, or both such that no consecutive digits in them are 0and also ending with 1. To find the value of b6, find values of some starting terms of an and then find relation between the terms, similarly find some bn terms and relation between them. And use that relation to get required value.
Complete step-by-step solution:
To find the value of b6 we will find some terms of an and then try to find relation between the terms, as follows
Now we can see that,
a1+a2=a3 a2+a3=a4Similarly we can write that,
a3+a4=a5 a4+a5=a6Now, in a1 we can see that there is no c1 but there exist a b1 that is 1
And in a2 there is one b1 that is 11
And similarly we can write that,
b3=b1+b2=1+1=2 b4=b2+b3=1+2=3
Going on further, we will get
b5=b3+b4=2+3=5 b6=b4+b5=3+5=8
So we get the required value of b6=8
Note: This type of problems does not have a particular way to be solved but they can be solved by understanding the algorithm in them. So when you tackle this type of question again then your first step should be to write a few terms, so that you will get a physical appearance about the algorithm and then you can solve it more clearly.