a) We should choose 4 place from 14 for 1. And another will fill with 0.
(414)=4!(14−4)!14!=1001
b) We should choose 4, 3, 2, 1, 0 place from 14 for 1. And another will fill with 0.
(014)+(114)+(214)+(314)+(414)=
1+14+91+364+1001=1471
c) We have 214 different bit strings of length 14. 1471 of them contains at most four 1 and 1001 contains four 1. Means bit strings of length 14 that contain at least four 1 is
214−1471+1001=15 914
d) We should choose 7 place from 14 for 1. And another will fill with 0.
(714)=7!(14−7)!14!=3432
Comments