View Single Post
  #13  
Old 07-25-2005, 01:57 PM
LetYouDown LetYouDown is offline
Senior Member
 
Join Date: Mar 2005
Location: Sharing a smoke w/negativity
Posts: 524
Default 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?
Reply With Quote