how to arrange mn people for a photograph

147 Views Asked by At

A group of n families, each with m members, are to be lined up for a photograph. In how many ways can the nm people be arranged if members of a family must stay together?

2

There are 2 best solutions below

4
On

$$\begin{equation*} n!(m!)^n \end{equation*}$$

0
On

Decide the order of the families. Then for each individual family, choose the order of its members.