Mathematics (JEE)HardCAT · MBA placement

A binary string of length 6 is chosen uniformly at random. What is the probability that no two adjacent digits are equal?

  1. A. 1/16
  2. B. 1/32
  3. C. 1/64
  4. D. 1/8

Correct answer: B. 1/32

Only the two alternating strings 010101 and 101010 have no two adjacent equal digits, so the probability is 2/64 = 1/32. Option 1/16 is 4/64, which is a count that includes two non-alternating strings by mistake.

More Permutations, Combinations and Probability questions

Exams that ask this topic