Find Number of Valid Binary Integers Ending in One
Let denote the number of all -digit positive integers formed by the digits or both such that no consecutive digits in them are . Let the number of such -digit integers ending with digit and the number of such -digit integers ending with digit .
The value of is
Options
7
8
9
11
Topics & Concepts
Step-by-Step Solution
To find the value of , we first analyze the rules for forming the -digit integers using the digits and :
- Since the numbers are positive -digit integers, the first digit must always be (it cannot be ).
- No two consecutive digits can be .
- is the number of such -digit integers ending in .
- is the number of such -digit integers ending in .
- is the total number of such -digit integers.
Recurrence Relations:
-
An -digit valid integer ending in can be formed by appending to any valid -digit integer (ending in either or ). Hence:
-
An -digit valid integer ending in can only be formed by appending to a valid -digit integer that ends in (to avoid consecutive zeros). Hence:
-
The total number of valid -digit integers satisfies:
Computing Values Step-by-Step:
-
For :
- Valid integers:
- ,
-
For :
- (integer: )
- (integer: )
-
For :
- (integers: )
- (integer: )
-
For :
-
For :
-
For :
Thus, the value of is .
Correct Option: (B)