Q.

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 = the number of such n-digit integers ending with digit 0.                        [2012]

 

Q.  The value of b6 is 

1 7  
2 8  
3 9  
4 11  

Ans.

(2)

 an=number of all n-digit positive integers formed by the digits 0,1 or both such that no consecutive digits are 0.

and bn=number of such n-digit integers ending with 1

and cn=number of such n-digit integers ending with 0

Clearly, an=bn+cn  (an can end with 0 or 1)

Also bn=an-1

and cn=an-2  [ if last digit is 0, second last has to be 1]

 an=an-1+an-2,  n3

Also a1=1, a2=2

Now by this recurring formula, we get

       a3=a2+a1=3

       a4=a3+a2=3+2=5

        a5=a4+a3=5+3=8

Also b6=a5=8