English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am looking for the smartest explanation from a pedagogical point of view.

2006-10-14 14:07:00 · 4 answers · asked by ted 3 in Science & Mathematics Mathematics

Draco: Sorry, but I don't get your reasoning. (n-1)! is the number of all possible permutations of n-1 hats, but we have n hats in this case.

2006-10-14 14:33:16 · update #1

That's right, I was wrong. So what's the general formula?

2006-10-14 15:07:30 · update #2

I give 10 points for the general formula in the case of n hats.

2006-10-15 21:35:07 · update #3

4 answers

There aren't. Consider 4 men and their hats - they may be distributed in the following ways without any hat being returned to its owner:

[2,1,4,3]
[2,3,4,1]
[2,4,1,3]
[3,1,4,2]
[3,4,1,2]
[3,4,2,1]
[4,1,2,3]
[4,3,1,2]
[4,3,2,1]

Your formula predicts that there are only (4-1)!=6 ways to do this. Yet as you can clearly see, the valid permutations number nine. The hat-check problem is much more complicated than you make it out to be at first - here is an article discussing it:

http://www.vm.ibm.com/DEVPAGES/GREER/MENSHATS.HTML

2006-10-14 14:36:29 · answer #1 · answered by Pascal 7 · 2 0

Not true, is it? Or am I misunderstanding? Look at the case for 4:

1 2 3 4
------------
2 1 4 3
2 3 4 1
2 4 1 3
3 1 4 2
3 4 1 2
3 4 2 1
4 1 2 3
4 3 1 2
4 3 2 1

This is 9 different ways for 4 hats, which according to your question should be 3! = 6. Am I missing something?

Darn, I was too slow. No wonder I was having trouble figuring the actual answer out.

2006-10-14 21:42:02 · answer #2 · answered by sofarsogood 5 · 0 0

It would be n! permutations if a hat was allowed to be in the correct spot (on the owner's head). However, since each hat cannot be on its owner's head, there are n-1 possible locations for each hat and a total of (n-1)! permutations of hats where none of them are on their owner's head.

2006-10-14 21:28:31 · answer #3 · answered by Draco Moonbeam 3 · 0 1

Damn dude. I want what you're smokin'!

2006-10-14 21:14:13 · answer #4 · answered by Anonymous · 0 2

fedest.com, questions and answers