N people sit down at random a classroom containing n+p seats

  • Thread starter Thread starter indigojoker
  • Start date Start date
  • Tags Tags
    Classroom Random
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
indigojoker
Messages
240
Reaction score
0
n people sit down at random a classroom containing n+p seats. There are m red seats (m<=n) in the classroom, what is the probability that all red seats will be occupied?

I know the bottom should be n+p choose n but I'm not sure what the numerator should be, any ideas would be great.

I was thinking n+p choose m since that will give the different ways that the red seats could be chosen, times n+p choose n-m which gives the choices that the non-red seats could be chosen.

Or: [tex]\frac{ C^{n+p} _{m} C^{n+p} _{n-m} } { C^{n+p} _{n} }[/tex]

Does this logic make sense?
 
Physics news on Phys.org


indigojoker said:
I was thinking n+p choose m since that will give the different ways that the red seats could be chosen, times n+p choose n-m which gives the choices that the non-red seats could be chosen.
Close, but after having allocated m people amongst the n+p seats there are now only n+p-m seats to allocate the remaining n-m people.
 


then:
[tex] \frac{ C^{n+p} _{m} C^{n+p-m} _{n-m} } { C^{n+p} _{n} }[/tex]?
 


indigojoker said:
then:
[tex] \frac{ C^{n+p} _{m} C^{n+p-m} _{n-m} } { C^{n+p} _{n} }[/tex]?
EDIT: my error; see the other post.
 
Last edited: