0 0 votes Number of ways we can assign 5 persons into 3 different rooms, so that each room contains at least 1 person is _____________ Mathematical Logic + – iita 1.3k views answer comment Share Follow Print See 1 comment 1 1 comment reply dd commented Feb 3, 2017 i reshown by dd Feb 3, 2017 reply Follow flag answer given 150 ? 0 0 replyShare Please log in or register to add a comment.
Best answer 4 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 Samujjal Das answered Feb 3, 2017 • selected Feb 5, 2017 by Sushant Gokhale Samujjal Das comment Share Follow See 1 comment 1 1 comment reply iita commented Feb 3, 2017 reply Follow flag can't be this solved by pigeon hole...??? I thought it is that concept... 0 0 replyShare Please log in or register to add a comment.