986 views
0 votes
0 votes
Number of ways we can assign 5 persons into 3 different rooms, so that each room contains at least 1 person is _____________

1 Answer

Best answer
4 votes
4 votes

This is same as the number of onto functions from a set of 5 objects to a set of 3 objects.

Required number of ways = $3^{5}-\binom{3}{1}\left ( 3-1 \right )^{5}+\binom{3}{2}\left ( 3-2 \right )^{5}$ = 150

selected by

Related questions

0 votes
0 votes
1 answer
1
iita asked Jan 24, 2017
1,271 views
The number of integers between 1 and 1000 inclusive have a sum of digits equal to 10 is_______
0 votes
0 votes
1 answer
2
Satyansh asked Sep 22, 2022
559 views
Number of ways to assign 5 different people in 3 different rooms, so that each room contains at least one person?
0 votes
0 votes
1 answer
3
Abheet Gupta asked Jan 16, 2019
335 views
Can someone suggest me a good read material for combinatorics (recurrence relation and generating function specially) which will be helpful in solving the kind of questio...
0 votes
0 votes
0 answers
4
Raghav Khajuria asked Sep 25, 2018
514 views
no of ways to select 22 people out of 40 people for cricket team of 11 each