Question #155317

How many Combinations of bit strings length 9 have:                       a)    exactly three 0s? 

b)    at least seven 1s?


1
Expert's answer
2021-01-13T19:40:27-0500

If set AA which contains nn elements consists of n1n_1 elements of the first kind, n2n_2 elements of the second kind, ..., and nkn_k elements of kk-th kind (n=n1+n2+...+nkn=n_1+n_2+...+n_k), the number of permutations with repetition is given by:

n!n1!n2!...nk!\frac{n!}{n_1!\cdot n_2!\cdot ...\cdot n_k!}


a) Let us find the number of bit strings length 9 that have exactly three 0s (and thus exactly six 1s):


9!3!6!=98723=84\frac{9!}{3!\cdot 6!}=\frac{9\cdot 8\cdot 7}{2\cdot 3}=84


b) Let us find the number of bit strings length 9 that have  at least seven 1s:


9!7!2!+9!8!1!+1=982+9+1=46\frac{9!}{7!\cdot 2!}+\frac{9!}{8!\cdot 1!}+1=\frac{9\cdot 8}{2}+9+1=46




Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS