In a hotel, four rooms are available. Six persons are to be accommodated in these four rooms in such a way that each of these rooms contains at least one person and at most two persons. Then the number of all possible ways in which this can be done is
Open in App
Solution
We have four rooms and six people.
By grouping, 6→(1,1,2,2) ∴ Required number of ways =6!1!1!2!2!2!2!×4! =7202×2×2×2×24 =1080