Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2012-07-28 02:23:02

mojorising
Member
Registered: 2012-07-28
Posts: 6

binary sequences 5 from 9 how many combinations?

Hi

I can't remeber how to do this. It has got something to do with factorials i think.

I want to know how many combinations there are for a 9 digit binary sequence where 5 of the bits must be 1 and 4 of the bits must be 0

e.g.

111110000
111101000
111100100
111100010
111100001
111010001
111001001
...
....

etc.

Can anybody tell me the answer and also possibly how the calculation is done?

Thanks?

Offline

#2 2012-07-28 03:29:32

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: binary sequences 5 from 9 how many combinations?

Hi mojorising;

Also the question is phrased incorrectly. In combinations order does not count so there is only one combination. You are asking how many permutations are there.

Welcome to the forum.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2012-07-28 03:30:27

mojorising
Member
Registered: 2012-07-28
Posts: 6

Re: binary sequences 5 from 9 how many combinations?

actually no
4 in 9 and 5 in 9 are the same problem so the anser is

1 in 9 answer is 9
2 in 9 answer is 8 x 7
3 in 9 answer is 7 x 6 x 5
4 in 9 answer is 6 x 5 x 4 x 3 (same as 5 in 9)

(= 6!/2! ?)
= 360

?

Offline

#4 2012-07-28 03:32:31

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: binary sequences 5 from 9 how many combinations?

Hi;

Please see post # 2


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#5 2012-07-28 04:19:36

mojorising
Member
Registered: 2012-07-28
Posts: 6

Re: binary sequences 5 from 9 how many combinations?

OK, thanks Bobby.

I am trying to get me head around the calculation but in the meantime I will take your word for it!

Is there a link to somewhere that has an explanation of why that factorial ratio/product is the right answer?

Offline

#6 2012-07-28 04:31:12

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: binary sequences 5 from 9 how many combinations?

Hi;

but in the meantime I will take your word for it!

In math we do not have to take anyone's word for anything. Convince yourself of it, go here:

http://www.mathwarehouse.com/probabilit … -items.php

http://www.regentsprep.org/Regents/math … ermRep.htm

http://www.youtube.com/watch?v=3VBdsNCSBXM


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#7 2012-07-28 05:45:01

mojorising
Member
Registered: 2012-07-28
Posts: 6

Re: binary sequences 5 from 9 how many combinations?

great thanks

Offline

#8 2012-07-28 05:46:20

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: binary sequences 5 from 9 how many combinations?

Hi;

You are welcome. After you watch the video come back if you have a question.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#9 2012-07-28 05:54:18

Bob
Administrator
Registered: 2010-06-20
Posts: 10,582

Re: binary sequences 5 from 9 how many combinations?

hi mojorising

welcome to the forum!

Here's how I would explain it:

Pretend for a moment that the 9 objects are different.  In the diagram below I've called them 1a 1b etc and I've shown two possible arrangements.

How many are there?

Well I've made it a permutation problem ... how many ways can you arrange 9 different objects ... 9!

But the objects are not all different. A zero looks much like another. so I've ended up counting the same arrangements over and over.

But how many times too many?

If you look at the two arrangements I've shown, you can see I got the second by just shuffling around some of the ones and, separately, some of the zeros.

I can shuffle the ones in 5! ways and I can shuffle the zeros in 4! ways.

So if I now drop the letters from the problem I need to divide 9! by those two factorials.

Thus 9! / (5!.4!)

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#10 2012-07-28 18:00:29

mojorising
Member
Registered: 2012-07-28
Posts: 6

Re: binary sequences 5 from 9 how many combinations?

Thanks Bobby, video is good

Thanks Bob, that is good way of thinking about the problem

Offline

#11 2012-07-28 20:56:50

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: binary sequences 5 from 9 how many combinations?

Hi mojorising;

You are welcome.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#12 2012-07-28 20:57:06

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: binary sequences 5 from 9 how many combinations?

Hi mojorising;

You are welcome. Combinatorics is fantastic!


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB