evinda
Gold Member
MHB
- 3,741
- 0
We have an elevator with 8 people and 5 floors.With how may ways can these 8 people get out of the elevator,when we know that at the first floor no one gets out?
I used the formula x_{1}+x_{2}+x_{3}+x_{4}+x_{5}=8 ,where x_{1}=0.So,it is \binom{n+k-1}{k}=\binom{4+8-1}{8}=\binom{11}{8}=495 ,right?Or do I have to replace n with 5?Because,the formula is satisfied for x_{i} \geq 0 ..
I used the formula x_{1}+x_{2}+x_{3}+x_{4}+x_{5}=8 ,where x_{1}=0.So,it is \binom{n+k-1}{k}=\binom{4+8-1}{8}=\binom{11}{8}=495 ,right?Or do I have to replace n with 5?Because,the formula is satisfied for x_{i} \geq 0 ..