JEE Challenger
More from Permutations and Combinations

Find Number of Valid Binary Integers Ending in One

Comprehension Passage

Let ana_n denote the number of all nn-digit positive integers formed by the digits 0,10, 1 or both such that no consecutive digits in them are 00. Let bn=b_n = the number of such nn-digit integers ending with digit 11 and cn=c_n = the number of such nn-digit integers ending with digit 00.

The value of b6b_6 is

Options

A

7

B

8

Correct
C

9

D

11

Step-by-Step Solution

To find the value of b6b_6, we first analyze the rules for forming the nn-digit integers using the digits 00 and 11:

  1. Since the numbers are positive nn-digit integers, the first digit must always be 11 (it cannot be 00).
  2. No two consecutive digits can be 00.
  3. bnb_n is the number of such nn-digit integers ending in 11.
  4. cnc_n is the number of such nn-digit integers ending in 00.
  5. an=bn+cna_n = b_n + c_n is the total number of such nn-digit integers.

Recurrence Relations:

  • An nn-digit valid integer ending in 11 can be formed by appending 11 to any valid (n−1)(n-1)-digit integer (ending in either 11 or 00). Hence: bn=bn−1+cn−1=an−1for n≥2b_n = b_{n-1} + c_{n-1} = a_{n-1} \quad \text{for } n \ge 2

  • An nn-digit valid integer ending in 00 can only be formed by appending 00 to a valid (n−1)(n-1)-digit integer that ends in 11 (to avoid consecutive zeros). Hence: cn=bn−1for n≥2c_n = b_{n-1} \quad \text{for } n \ge 2

  • The total number of valid nn-digit integers satisfies: an=bn+cn=an−1+an−2for n≥3a_n = b_n + c_n = a_{n-1} + a_{n-2} \quad \text{for } n \ge 3

Computing Values Step-by-Step:

  • For n=1n = 1:

    • Valid integers: {1}\{1\}
    • b1=1b_1 = 1, c1=0  ⟹  a1=1c_1 = 0 \implies a_1 = 1
  • For n=2n = 2:

    • b2=a1=1b_2 = a_1 = 1 (integer: 1111)
    • c2=b1=1c_2 = b_1 = 1 (integer: 1010)
    • a2=b2+c2=2a_2 = b_2 + c_2 = 2
  • For n=3n = 3:

    • b3=a2=2b_3 = a_2 = 2 (integers: 101,111101, 111)
    • c3=b2=1c_3 = b_2 = 1 (integer: 110110)
    • a3=b3+c3=3a_3 = b_3 + c_3 = 3
  • For n=4n = 4:

    • b4=a3=3b_4 = a_3 = 3
    • c4=b3=2c_4 = b_3 = 2
    • a4=b4+c4=5a_4 = b_4 + c_4 = 5
  • For n=5n = 5:

    • b5=a4=5b_5 = a_4 = 5
    • c5=b4=3c_5 = b_4 = 3
    • a5=b5+c5=8a_5 = b_5 + c_5 = 8
  • For n=6n = 6:

    • b6=a5=8b_6 = a_5 = 8

Thus, the value of b6b_6 is 88.

Correct Option: (B)