Find the number of ways in which boys and girls may be seated in a row so that no two girls and no two boys are together.
Find the number of ways as per the given conditions
From the given data, there are boys and girls.
The permutation is an arrangement of items taken out of items and the combination is the selection of items taken out of items irrespective of the arrangement.
The permutation formula is,
So, the number of boys seated in a row in,
ways
The girls can fill the space in ways.
So,
The number of ways in which no girls and no boys sit together
Hence, the number of ways in which boys and girls may be seated in a row so that no two girls and no two boys are together is .