In Happy Birthday
, the question was if there are N people in a room, what is the probability that there are at least two people in the room who share a birthday?
What if instead exactly two was required? If there are N people in a room, what is the probability that there are exactly two people in the room who share a birthday?
(Note: Assume leap year doesn't exist, and the birthdays are randomly distributed throughout the year.)
(In reply to re(3): thoughts
I'm not arguing that I'm right, I'm trying to figure out where I went wrong. I ran simulations too.
In any "exactly two" scenario, there will be n-1 birthdays that don't match and one that matches one of the other n-1 birthdays. That's the reason I set up the formula the way I did.
I guess I'm starting to see where I may need to multiply my formula by ((n-1) or n or n/2) in order to account for the multiple potential occupants of that nth position, but that still doesn't fix the formula.
Can my approach be fixed or is Charlie's the only way to go?
Edited on June 12, 2006, 8:01 am
Edited on June 12, 2006, 9:02 am