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

Home > Probability
Birthday Line (Posted on 2004-03-29) Difficulty: 3 of 5
At a movie theater, the manager announces that they will give a free ticket to the first person in line whose birthday is the same as someone who has already bought a ticket. You have the option of getting in line at any time. Assuming that you don't know anyone else's birthday, that birthdays are distributed randomly throughout the year, etc., what position in line gives you the greatest chance of being the first duplicate birthday?

from http://www.ocf.berkeley.edu/~wwu/riddles/hard.shtml

See The Solution Submitted by Victor Zapana    
Rating: 3.5556 (9 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution | Comment 19 of 21 |

Suppose there are n persons before you. The probability that there is no duplication in birth dates in these n persons is

C(365, n)/C(365+n-1, n)

Then the probability that you will get a duplication is

p(n) = C(365, n)/C(365+n-1, n) * n/365.

Now the task is to find out n that maximize p(n):

set p(n+1)/p(n) = (365-n)(n+1)/(365+n)/n=1, which yields n=13.


  Posted by Ruopeng Wang on 2004-06-10 23:06:58
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 (3)
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