- #1
MinusTheBear
- 22
- 0
Homework Statement
I don't see why this is a combination problem, because to me dealing with bit strings means that order matters.
How many bit strings contain exactly eight 0s and 10 1s if every 0 must be immediately followed by a 1?
Homework Equations
The Attempt at a Solution
Since every 1 immediately has a 0 following it, I thought about each 1 containing a 0 right after it as one item. That is, "10" is a single entity. This means that I have eight "10"'s and two 0's. Making a total of 10 items.
Since it is a bit string, I thought order matters since 10 10 10 10 10 10 10 10 0 0 is different from 10 0 10 0 10 10 10 10 10 10. Therefore, it's a permutation.
So I have P(10,8) * P(2,2). This was wrong. The solution is C(10,8) * C(2,2).
I guess my question is, what does it mean that order doesn't matter? I must be misunderstanding what that means.