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 solution (method of solving for Ryan) | Comment 4 of 21 |
Ryan,

Here's a method of getting the solution, you are more than welcome to adapt this to accommodate Feb. 29th:

One can set this up rather easily in a spreadsheet (Excel).

In B6 set up 1 (B7 = 2, B8 = 3, etc...)

In D6 set up 1.
In D7 set up "=D6*(365-B7+1)/365", and then copy that down

In F7 set up "=(B7-1)/365*D6", and then copy that down...

column B represents the position in line
column D represents the chance that no has YET had a duplicate, and
column F represents the chance that given that no one has had a duplicate already, that THIS position will create the duplicate.

Looking at column F, one will note that this chance increases until position 20, after which it decreases.
  Posted by Thalamus on 2004-03-29 13:49:47
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
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