# How many ways can 8 people be seated in a row?

I am stuck with the following question,

How many ways can 8 people be seated in a row? if there are 4 men and 4 women and no 2 men or women may sit next to each other.

I did it as follows, As 4 men and 4 women must sit next to each other so we consider each of them as a single unit. Now we have we 4 people(1 men group, 1 women group, 2 men or women) they can be seated in 4! ways.
Now each of the group of men and women can swap places within themselves so we should multiply the answer with 4!*4!

Thanks

-
I don't understand how you get a third factor of $4!$. There are only two ways do divide the eight aligned seats into "man-seats" and "woman-seats" without violating the rule that no two men and no two women amy sit next to each other. –  Rasmus Oct 23 '11 at 11:49

Once you have chosen where to seat the men and where the women you can permute the two groups arbitrarily, giving $4!$ possibilities each. So in total the number of possible constellations is $$2\cdot 4!\cdot 4!=1152.$$