0

suppose $m$ men and $n$ women from a single line in such a way that no two men are next to each other and no women are next to each other how many lineup are possible ?

Never solved these problems before with $m$ and $n$

2 Answers2

1

Hint: this is only possible if $m=n$ or $n \pm 1$

Archaick
  • 2,273
1

If my understanding of your question is okay then no lineups are possible if $|m-n|>1$.

If $|m-n|=1$ then there are $m!n!$ possibilities.

If $m=n$ then there are $2m!n!=2n!n!=2m!m!$ possibilities. Factor $2$ because the person most left can be a man or a woman.

drhab
  • 151,093