Ask your own question, for FREE!
Mathematics 25 Online
OpenStudy (dayton):

How many bit strings of length 15 have bits 1, 2, and 3 equal to 101, or have bits 12, 13, 14, and 15 equal to 1001 or have bits 3, 4, 5, and 6 equal to 1010? (Let’s count bits left to right so 101000000000000 has 101 for bits 1,2,and 3.)

ganeshie8 (ganeshie8):

careful- you have 3 constraints given. first and last are overlapping !

ganeshie8 (ganeshie8):

1, 2, and 3 equal to 101 : 2^12 ways 12, 13, 14, and 15 equal to 1001 : 2^11 ways 3, 4, 5, and 6 equal to 1010 : 2^11 ways so far its simple i suppose, eh ?

OpenStudy (dayton):

So would I then add 2^11 + 2^1

ganeshie8 (ganeshie8):

may i knw why you would do that... .

OpenStudy (dayton):

i want to know how many different possibilities for strings there are. I dont want to count the same ones more than once. H ow do I know which ones not to count?

ganeshie8 (ganeshie8):

does my first reply make sense ?

ganeshie8 (ganeshie8):

2nd one... where i listed down, number of strings possible for each given constraint separately

OpenStudy (dayton):

so my solution would be to add those numbers together?

OpenStudy (dayton):

and get 16777216

ganeshie8 (ganeshie8):

thats half of the solution, we need to subtract overlapping ones. if you see, first and last constraints have "3" in common right ?

OpenStudy (dayton):

okay....

ganeshie8 (ganeshie8):

so, im still not sure if you're comfortable with- how i worked out first part. does that make sense to you fully ?

OpenStudy (dayton):

I am now very confused. I am sorry.

ganeshie8 (ganeshie8):

its okay. let me explain first part ok

OpenStudy (dayton):

I appreciate it

ganeshie8 (ganeshie8):

|dw:1345171397086:dw|

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!