I wanted to know if my answer and the method I used is correct or not...
First, we pick $6$ out of $30$ people for the $6$ single rooms = $^{30}C_6$ They can be in any of rooms $\implies ^{30}C_6 \cdot 6!$
Then, we pick $12$ people out of remaining $24$ and pair them up for $6$ dual rooms $= \dfrac{^{24}C_{12} \cdot 12!}{(2^6 \cdot 6!)}$
Next, we take remaining people and form groups of $\implies \dfrac{12!}{(4^3 \cdot 3!)}$
Finally,we multiply all three terms...
Ans $ = \dfrac{^{30}C_6 \cdot 6! \cdot 12! \cdot {^{24}C_{12} \cdot 12!}}{(2^6 \cdot 6!) \cdot {(4^3 \cdot 3!)}} $
But there can be other ways like first choosing triplets then pairs then singles or pairs then triplets then singles and so on, so do we ignore them or add them?
MathJax goes over the top of my head, so I ask you to bear with me.
First, you choose 6 out of the 30 for the single rooms, giving you 30C6, and these can be arranged in 6! ways, giving you 30C6 * 6!
Next, choose 12 out of the remaining 24, 24C12, now, arranging them in duos for room-sharing, gives you 24C12 * 12C2 options, and these people can be arranged in 6 rooms, so multiply by 6!.
Entire thing now is (30C6 * 6!) * (24C12 * 12C2 * 6!)
Now for the remaining 12 people, 12C12 (selecting 12 people out of the 12 people) , then 12C3 (finding how many ways they can be arranged in groups of 3), and multiplying by 4!, due to the four rooms, giving (12C12 * 12C3 * 4!)
Final answer comes out to be (30C6 * 6!) * (24C12 * 12C2 * 6!) * (12C12 * 12C3 * 4!).
That's what I got, at-least.