lift starts at floor 1 and goes up to floor 6. find number ways in which people can leave lift

70 Views Asked by At

A lift can record how many people leave lift at each floor. It starts at floor 1 and goes up to floor 6.
(A) How many different records are possible of people leaving the lift?
(B) what if 8 people consist of 5 men and 3 women and lift can distinguish a man from a woman?

I tried solving part A by doing $C^{n+5-1}_{5-1}$ where $n$ is total number of people in lift

And for part B, I was unable to do anything

1

There are 1 best solutions below

2
On

Since $n$ people each have $5$ different options to decide which floor to leave the lift, and each person's decision on which floor to leave is independent, we get the answer to [A] as $5^n$.