Three ladies have each brought a child for admission to a school. The head of the school wishes to interview the six people one by one, taking care that no child is interviewed before its mother. In how many different ways can the interviews be arranged?
I tried to apply concept of balanced parenthesis so there can be 5 different permutations for balanced parenthesis with 6 strings
12 $\left \{ \left \{ \right \} \left \{ \right \} \right \}$
6 $\left \{ \right \} \left \{ \right \} \left \{ \right \}$
12 $\left \{ \right \} \left \{ \left \{ \right \} \right \} $
12 $ \left \{ \left \{ \right \} \right \} \left \{ \right \} $
36 $ \left \{ \left \{ \left \{ \right \} \right \} \right \} $
i'm getting 78 permutations but answer is 90 which permutations are missing?
One way to organize the count is to case it by the following pattern (where $\text{P}$ denotes one of the parents, and $\text{C}$ denotes one of the children):
which yields a total of $$36+24+12+12+6=90$$
For an alternate, more sophisticated approach, you can argue as follows . . .
Label the parents-child pairs as$\;\;P_1,C_1,\;\;P_2,C_2,\;\;P_3,C_3$.
Place $P_1,C_1$ in the queue, but allow flexible space before them, after them, and between them, to allows for potential later insertions.
To place $P_2,C_2$, since there are $3$ available flexible spaces, there are ${\large{\binom{3}{1}}}$ ways to place $P_2,C_2$ in the same space, and ${\large{\binom{3}{2}}}$ ways to place $P_2,C_2$ in two distinct spaces.
As before, allow flexible space before the beginning of the queue, after the end of the queue, and between any two people in the queue, to allow for potential later insertions.
To place $P_3,C_3$, since there are $5$ available flexible spaces, there are ${\large{\binom{5}{1}}}$ ways to place $P_3,C_3$ in the same space, and ${\large{\binom{5}{2}}}$ ways to place $P_3,C_3$ in two distinct spaces.
It follows that the total number of ways is $$ \left( {\small{\binom{3}{1}}}+{\small{\binom{3}{2}}} \right) \left( {\small{\binom{5}{1}}}+{\small{\binom{5}{2}}} \right) =(6)(15) =90 $$ With the same reasoning, for $n$ parent-child pairs, the number of ways is \begin{align*} &\prod_{k=2}^n \left[{\small{\binom{2k-1}{1}}}+{\small{\binom{2k-1}{2}}}\right]\\[4pt] =\;&\prod_{k=2}^n k(2k-1)\\[4pt] =\;&\left(\prod_{k=2}^n k\right)\left(\prod_{k=2}^n (2k-1)\right)\\[4pt] =\;&n!\left(\prod_{k=2}^n (2k-1)\right)\\[4pt] =\;&n!\left(\frac{(2n-1)!}{2^{n-1}(n-1)!}\right)\\[4pt] =\;&\frac{n\Bigl((2n-1)!\Bigr)}{2^{n-1}}\\[4pt] =\;&\frac{(2n)!}{2^{n}}\\[4pt] \end{align*} which, for $n=3$, yields $$\frac{6!}{2^3}=\frac{720}{8}=90$$ matching our previously calculated result.
But there's an even easier way . . .
Start by placing the $2n$ people in the queue in any order, yielding $(2n)!$ ways.
But with that count, each parent-child pair can occur in two ways; once in an acceptable order, and once in an unacceptable order.
Thus, our count of $(2n)!$ is inflated by a factor of $(2)\cdots(2)$, with $n$ factors of $2$, one for each parent-child pair.
Hence, to correct the count, simply divide by $2^n$, yielding $$\frac{(2n)!}{2^{n}}$$ $$\text{Voila!}$$