#11
|
|||
|
|||
Re: A birthday puzzle
I wrote a simple simulation and ran 1MM a couple of times --20 came out as the highest frequency both times.
|
#12
|
|||
|
|||
Re: A birthday puzzle
I come up with 23rd. (It may be 22nd. I worked it with the chances that the people ahead have not paired up.) My line/logic may be flawed though.
|
#13
|
|||
|
|||
Re: A birthday puzzle
I'm still trying to figure out what I messed up. I just ran through an array with random numbers between 1-365 to represent the days (ignoring leap years). As I randomized each date, I compared it to all previous people in line. If it matched, saved it and continued to the next trial. Then I divided by the number of trials.
Edit: Is it more accurate to look for the most common occurring element or the mean for this problem? |
#14
|
|||
|
|||
Re: A birthday puzzle
You should stand 23rd in line. The reason being is that the more people in front of you, the more likely it is to have already occurred. Since 23 people is the number required for there to be at least 50% chance of two people having the same birthday, you expect that any spot after that in line it has already occurred.
|
#15
|
|||
|
|||
Re: A birthday puzzle
Seems like it depends on how long the line is. If there's a billion people in line then someone will almost surely win after the first ticket is purchased. Your best chance of getting in on it would then seem to be by standing second in line.
PairTheBoard |
#16
|
|||
|
|||
Re: A birthday puzzle
Huh?
|
#17
|
|||
|
|||
Re: A birthday puzzle
[ QUOTE ]
Huh? [/ QUOTE ] Huh? PairTheBoard |
#18
|
|||
|
|||
Re: A birthday puzzle
Why would the number of people in line affect the likelihood of the 2nd person's birthday matching the first person's?
|
#19
|
|||
|
|||
Re: A birthday puzzle
Because you would only have 1 birthdate in the pool to match against.
|
#20
|
|||
|
|||
Re: A birthday puzzle
[ QUOTE ]
Why would the number of people in line affect the likelihood of the 2nd person's birthday matching the first person's? [/ QUOTE ] It wouldn't. But it would effect the chance of any person in line getting more than one shot at it. The game will be over as soon as the first ticket is bought. If you don't match birthdays with the first in line you are just out of luck because you won't get any more chances. But if you do match birthdays your most advantageous place to be is second in line so that someone in front of you who also matches won't take the prize away from you. PairTheBoard |
|
|