mortgageman
Well-known Member
- Joined
- Jun 30, 2005
- Messages
- 2,015
I think I have it….and used Excel to get there!!
I created a 25 x 25 grid and in each cell entered “=1/365” being the probability that each person will share a birthday with a specific other person. (obviously cells which refer to a person sharing with themselves is left blank).
Summing each row will give you 24/365 which is the probability of one person sharing a birthday with anyone else in the room.
Summing the whole 25 x 25 grid gives you 25(24/365) or 600/365 which needs to be divided by 2 to remove duplicates (i.e. person 2 sharing with person 3 and person 3 sharing with person 2).
So the final answer is:
In a room of 25 people, the probability that any 2 of them share the same birthday is 600/730 (or 60/73), which equates to approximately 0.82192
I didn't try to follow your post, but as I hope you have seen from the links provided in the past few days, your answer of 82% for n=25 is incorrect.