All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
Same Name (Posted on 2003-10-11) Difficulty: 4 of 5
Suppose there are n people in an office. At Christmas they have a random gift exchange in which every name is writen on scraps of paper, mixed around in a hat, and then everyone draws a name at random to determine who they are to get a gift for.

What is the probability nobody draws their own name?

See The Solution Submitted by Ravi Raja    
Rating: 3.6667 (6 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution A recursive solution | Comment 1 of 7
I read that each number for n gift people followed a pattern:



n: H(n)

-----

1: 0

2: 1

3: 2

4: 9

5: 44

6: 265

7: 1854

8: 14853



Multiply the H(n-1) by the n people, then add 1 if n is odd and subtract 1 if n is even to get H(n)

  Posted by Gamer on 2003-10-11 08:59:20
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (5)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information