Page 1 of 1 [ 9 posts ] 

nudel
Tufted Titmouse
Tufted Titmouse

User avatar

Joined: 10 Jul 2008
Age: 36
Gender: Male
Posts: 26

26 May 2009, 11:02 am

Hi,
can anyone here solve this problem?

N married couples are sitting at a round table with exactly 2N chairs. How many ways are there to seat them such that no couple is sitting together and that no two men or two women are sitting next to each other?



ruveyn
Veteran
Veteran

User avatar

Joined: 21 Sep 2008
Age: 88
Gender: Male
Posts: 31,502
Location: New Jersey

26 May 2009, 11:41 am

nudel wrote:
Hi,
can anyone here solve this problem?

N married couples are sitting at a round table with exactly 2N chairs. How many ways are there to seat them such that no couple is sitting together and that no two men or two women are sitting next to each other?


Yes. I can solve this problem.

ruveyn



ruveyn
Veteran
Veteran

User avatar

Joined: 21 Sep 2008
Age: 88
Gender: Male
Posts: 31,502
Location: New Jersey

26 May 2009, 11:53 am

Seriously now.

I got

2*(N)!(N -1)!

given that there were 2*N people, N men, N women.

The factor 2 comes from applying a mirror reflection to an arrangement.

Please check this out.

ruveyn



nudel
Tufted Titmouse
Tufted Titmouse

User avatar

Joined: 10 Jul 2008
Age: 36
Gender: Male
Posts: 26

26 May 2009, 2:24 pm

I am going to reformulate the problem because I think it is easily misunderstood:

There are N married couples to be seated around a table.
The table is round. This means seating arrangements which can be reached by rotating the table are considered identical.
There are two conditions to be fulfilled:
1) No husband and wife are sitting right next to each other.
2) No man is sitting right next to another man and no woman next to another woman.

How many solutions are there to the above conditions?

I didn't solve it myself yet. I think the best way is by using the inclusion-exclusion principle. It can't be too hard, I'm probably going to figure this out tomorrow. Now it is getting late here so I'm going to bed.


Ruveyn, your solution doesn't appear to be correct. For N=2 there should be no solutions but your formula yields 4.



mixtapebooty
Deinonychus
Deinonychus

User avatar

Joined: 25 Dec 2008
Age: 42
Gender: Female
Posts: 381
Location: Richmond, Va

26 May 2009, 3:26 pm

This is a wild guess.

1/3*[(N)(N!)/2]

If N = 5, there are 20 ways to seat the couples.

If N = 4, there are 16 ways to seat the couples.

If N = 3, there are 3 ways to seat the couples.

Would you like proof?



Dianitapilla
Snowy Owl
Snowy Owl

User avatar

Joined: 24 Apr 2009
Age: 38
Gender: Female
Posts: 147
Location: NL

26 May 2009, 3:57 pm

ruveyn wrote:
Seriously now.

I got

2*(N)!(N -1)!

given that there were 2*N people, N men, N women.

The factor 2 comes from applying a mirror reflection to an arrangement.

Please check this out.

ruveyn



I'm still calculating (I have dyscaculia :lmao: ) but my boyfriend said:



Quote:
No. Suppose first a wife sits, and then her husband. The very first wife to sit can choose from 2N chairs. Her husband then only has N-2 chairs to choose from (men must sit next to women and the husband cannot sit next to his wife, which are two chairs). The second woman then has N-1 chairs to choose from - the first woman set the pattern (man-woman-man-woman etc) leaving her N-1 (the first) chairs. The second husband then has N-3 options left.

Generalizing the formula would be 2N*(N-1)!*(N-2)!. For 3 couples that equals 12 options, for 4 couples equals 96.


I'm -off course trying to prove him wrong :lol: XD i'll post later what my conclutions are :wink:


_________________
Dianitapilla


twoshots
Veteran
Veteran

User avatar

Joined: 26 Nov 2007
Age: 39
Gender: Male
Posts: 3,731
Location: Boötes void

26 May 2009, 5:25 pm

mixtapebooty wrote:
This is a wild guess.

1/3*[(N)(N!)/2]

If N = 5, there are 20 ways to seat the couples.

If N = 4, there are 16 ways to seat the couples.

If N = 3, there are 3 ways to seat the couples.

Would you like proof?

If N=3, there are only 2 distinct ways to seat them. This is easily seen by first choosing an arrangement for the men (there are two in this case, or more generally (N-1)!) and then simply exhausting arrangements for putting their wives between them (there is only one valid arrangement for each choice of male seating). Let each couple be A-A', B-B', C-C'.
ABC and ACB are the valid permutations of the three if we only care about who's sitting next to whom. ABC implies A' must be between BC, B' must be between CA, and C' must be between AB. Hence the unique corresponding arrangement is AC'BA'CB'. We can likewise find the unique arrangement for ACB.

And ruveyn's is unfortunately also wrong because it can easily be shown that the answer is less than N!(N-1)!: First choose an arrangement for the men at the table; there are (N-1)!. Then ignore the wife part and find the number of ways you can put women between them; this is equivalent to placing N women in N distinct seats, giving N!. Hence, the answer must be less than N!(N-1)!.

And finally, Dianitapilla's boyfriend's argument is invalid, although I'm not sure if his conclusion is wrong.
Quote:
The second woman then has N-1 chairs to choose from - the first woman set the pattern (man-woman-man-woman etc) leaving her N-1 (the first) chairs. The second husband then has N-3 options left.

This simply doesn't follow at all. Suppose my seating proceeded thus:
A-BA'--------
I claim that B' has N-2 = 4 places he can sit.
A F' B A' C B' D C' E D' F E'
A E' B A' C F' D B' E C' F D'
A D' B A' C E' D F' E B' F C'
A C' B A' C E' D F' E D' F B'
(Check for mistakes, but even if this is wrong I bet the point is true still).


_________________
* here for the nachos.


mixtapebooty
Deinonychus
Deinonychus

User avatar

Joined: 25 Dec 2008
Age: 42
Gender: Female
Posts: 381
Location: Richmond, Va

26 May 2009, 5:57 pm

So,

I'll think about it some more.



mixtapebooty
Deinonychus
Deinonychus

User avatar

Joined: 25 Dec 2008
Age: 42
Gender: Female
Posts: 381
Location: Richmond, Va

26 May 2009, 6:05 pm

This cannot be done with only two couples. So, for N>2 I see,

[(N)(N-1)!] / 3

Edit:
You know, I have quit trying to help someone with their homework, knowing that I will purposefully give wrong answers.

I realize that N(N-1)! = N!