in Combinatory edited by
403 views
4 votes
4 votes
How many bit strings of length $6$  have more no of zeros than ones??

We can solve this drawing tree but it takes so much time Is there any other way??
in Combinatory edited by
403 views

1 Answer

7 votes
7 votes
Best answer
You should use permutation and combination as follow:-

You have $6$ length bit string in which you want more no of zeros than ones.

So all possible combination are as follows-

$4$ zeros and $2$ one

$5$ zeros and $1$ one

$6$ zeros and $0$ one

C(6,4) + C(6,5) + C(6,6).

This would be-

$15 + 6 + 1$

Ans = $22$.

So, there are $22$ such strings.
selected by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true