# n-Bit Binary Strings with Fixed Digits

Not what you're looking for?

I need to show that the number of n-bit binary strings that contain exactly two occurrences of 10 is C(n+1, 5).

##### Purchase this Solution

##### Solution Summary

It is shown how it may be proven that the number of n-bit binary strings that contain exactly two occurrences of 10 is C(n+1, 5).

##### Solution Preview

Let's look at the number of ways to do this:

It's good to start with a simple example to gain insight into how the problem will work. For example, take some number of length n:

1010xxxxxx...... where the x's are the numbers which could be anything. We already have the two exaples of the '10', so no more can appear in the latter string of numbers.

So, if we have a string of length m, how many possible values are there which *don't* include 10? Well, once we place a '1' in the number, it can't be followed by any '0's, so they will be like:

11111.....

01111....

00111.....

00011....

.

.

00000...

Get the idea? If the string is of length m, then this means there are m+1 different ways to do it. Again, this is only when you can't have 10 ...

##### Purchase this Solution

##### Free BrainMass Quizzes

##### Multiplying Complex Numbers

This is a short quiz to check your understanding of multiplication of complex numbers in rectangular form.

##### Graphs and Functions

This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.

##### Solving quadratic inequalities

This quiz test you on how well you are familiar with solving quadratic inequalities.

##### Know Your Linear Equations

Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.

##### Probability Quiz

Some questions on probability