more useful options | |
PerlMonks |
Re^3: Birthday Chancesby morgon (Priest) |
on Jul 29, 2010 at 23:14 UTC ( [id://852015]=note: print w/replies, xml ) | Need Help?? |
it would stand to reason when the possibilities get larger than 366, you are probably going to have two people with the same birthday
Not probably but definitely. If you have a group of 366 (or more) people you always have 2 people that share the same birthday (assuming a non-leap year). This reasoning is called "pigeonhole principle".
In Section
Cool Uses for Perl
|
|