Question
Mathematics Question on permutations and combinations
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. Which of the following is correct?
A
a17=a16+a15
B
c17=c16+c15
C
b17=b16+c16
D
a17=c17+b16
Answer
a17=a16+a15
Explanation
Solution
As an=an−1+an−2 for n=17 ⇒a17=a16+a15