Finding the Number of Bit Strings with 8 Zeros and 10 Ones

  • Context: MHB 
  • Thread starter Thread starter alexmahone
  • Start date Start date
  • Tags Tags
    Bit Strings
Click For Summary
SUMMARY

The discussion focuses on calculating the number of bit strings containing exactly eight 0s and ten 1s, with the condition that each 0 must be immediately followed by a 1. The correct approach involves treating each pair of 0 and 1 as a single unit (01), resulting in the arrangement of ten objects: (01),(01),(01),(01),(01),(01),(01),(01),1,1. The final calculation yields 45 distinct bit strings, derived from the formula $$\dfrac{10!}{8!2!}$$, confirming that the indistinguishability of the 1s is crucial to the solution.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with factorial notation and calculations
  • Knowledge of permutations and arrangements
  • Basic grasp of binary representation and bit strings
NEXT STEPS
  • Study combinatorial principles in depth, focusing on permutations and combinations
  • Learn about the application of factorials in probability and statistics
  • Explore advanced topics in discrete mathematics
  • Practice problems involving arrangements of indistinguishable objects
USEFUL FOR

Mathematicians, computer scientists, students studying discrete mathematics, and anyone interested in combinatorial problem-solving.

alexmahone
Messages
303
Reaction score
0
How many bit strings contain exactly eight 0s and 10 1s if every 0 must be immediately followed by a 1?
 
Physics news on Phys.org
Alexmahone said:
How many bit strings contain exactly eight 0s and 10 1s if every 0 must be immediately followed by a 1?

Attempt? (Wondering)
 
I like Serena said:
Attempt? (Wondering)

x01x01x01x01x01x01x01x01x

I thought that since there are 9 positions for the 9th 1 and 8 positions for the 10th 1, there would be 9x8=72 strings. But this is just wrong since the 1s are indistinguishable.
 
Alexmahone said:
x01x01x01x01x01x01x01x01x

I thought that since there are 9 positions for the 9th 1 and 8 positions for the 10th 1, there would be 9x8=72 strings. But this is just wrong since the 1s are indistinguishable.

Two scenarios: either one of those x'es is 11 and the others are empty, or 2 of those 9 x'es are 1. (Thinking)
 
My thinking goes like this.

You have ten objects to arrange: (01),(01),(01),(01),(01),(01),(01),(01),1,1

So the answer is $$\dfrac{10!}{8!2!}=45$$
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
3
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 66 ·
3
Replies
66
Views
7K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K