There's more than one way to do things  
PerlMonks 
Re: Re: Birthday Chancesby thraxil (Prior) 
on Feb 15, 2002 at 15:38 UTC ( #145698=note: print w/replies, xml )  Need Help?? 
you're close on the math. (ignoring leapyears) the probability that n people all have different birthdays is: ((3651)/365) * ((3652)/365) * ((3653)/365) * . . . * ((365n+1)/365) = 365! / ((365n)! * 365^n) setting that equal to 50% and solving is probably harder than just plugging in numbers on a calculator till you get it. 23 is the magic number.
In Section
Cool Uses for Perl

