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 Looking at it the other way | Comment 1 of 7
The math works out easier when considering N people and the odds that NO two people have the same birthday. For 2 people, the odds are 364/365. For three people, the 2-person scenario must be true first, and for the third person not to share a b-day with either, the odds are 363/365. Using this logic, the odds of no two people sharing a birthday is:

2 people = 364/365
3 people = 364/365 * 363/365
4 people = 364/365 * 363/365 * 362/365
etc.

If you keep multiplying these fractions, you will find that 22 people have a 52% chance of no common birthdays. 23 people have a 0.49% chance of no common birthdays or, inversely, a 51% chance that at least two people share the same birthday. The answer is N = 23 people.
  Posted by Bryan on 2003-03-27 08:40:02

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