|
#1
|
|||
|
|||
Re: A birthday puzzle
I still like the idea of going with a twin brother or sister.
|
#2
|
|||
|
|||
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.
|
#3
|
|||
|
|||
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? |
#4
|
|||
|
|||
Re: A birthday puzzle
[ QUOTE ]
If it matched, saved it and continued to the next trial. Then I divided by the number of trials. [/ QUOTE ] I just looked at frequency. 20 has the highest class frequency in every trial. |
#5
|
|||
|
|||
LetYouDown, can you post your code? (NM)
Maybe we can find the flaw.
|
#6
|
|||
|
|||
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.
|
#7
|
|||
|
|||
Re: A birthday puzzle
[ QUOTE ]
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. [/ QUOTE ] No. |
#8
|
|||
|
|||
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 |
#9
|
|||
|
|||
Re: A birthday puzzle
Huh?
|
#10
|
|||
|
|||
Re: A birthday puzzle
[ QUOTE ]
Huh? [/ QUOTE ] Huh? PairTheBoard |
|
|