All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
Happy Birthday (Posted on 2003-03-27) Difficulty: 3 of 5
Find the least positive integer 'N' so that, in a room containing 'N' people, the odds that two of the people have the same birthday (not the year, just the day) are more than 50%.

[Note: Forget about Leap Year. Assume that a year has 365 days and that people are born randomly throughout the year].

See The Solution Submitted by Ravi Raja    
Rating: 3.8333 (6 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Explanation to Puzzle Answer Comment 7 of 7 |
(In reply to Puzzle Answer by K Sengupta)

The probability that a person does not have the same birthday as another person is 364/365

In a group of N people there are comb(N, 2) comparisons (or, combinations). Each one of the N(N-1)/2 comparisons has the probability of not being a match.

Therefore, for N people, the probability of not a match is:
(364/365)^(N(N-1)/2)

So, the probability of a match is:
 1 - (364/365)^(N(N-1)/2)
By the given problem:
1 - (364/365)^(N(N-1)/2) =1/2
=> (364/365)^(N(N-1)2) =1/2
=> N(N-1)/2 = (log 2)/log(365/364) ~= 252.6519888
=> N ~= 22.9845
=> N ~= 23 
Consequently,  the least value of the positive integer N is 23.

As a CHECK:
1 - (364/365 )^253 
~= 1 - 0.49952
= 0.50048
which is indeed very close to 1/2.



  Posted by K Sengupta on 2022-07-03 23:16:42
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information