Riddle #678

logicmathprobability

The same birthday

What is the least number of people that need to be in a room such that there is greater than a 50% chance that at least two of the people have the same birthday?
Only 23 people need to be in the room. Our first observation in solving this problem is the following: (the probability that at least 2 people have the same birthday + the probability that nobody has the same birthday) = 1.0 What this means is that there is a 100% chance that EITHER everybody in the room has a different birthday, OR at least two people in the room have the same birthday (and these probabilities don't add up to more than 1.0 because they cover mutually exclusive situations). With some simple re-arranging of the formula, we get: the probability that at least 2 people have the same birthday = (1.0 - the probability that nobody has the same birthday) So now if we can find the probability that nobody in the room has the same birthday, we just subtract this value from 1.0 and we'll have our answer. The probability that nobody in the room has the same birthday is fairly straightforward to calculate. We can think of this as a "selection without replacement" problem, where each person "selects" a birthday at random, and we then have to figure out the probability that no two people select the same birthday. The first selection has a 365/365 chance of being different than the other birthdays (since none have been selected yet). The next selection has a 364/365 chance of being different than the 1 birthday that has been selected so far. The next selection has a 363/365 chance of being different than the 2 birthdays that have been selected so far. These probabilities are multiplied together since each is conditional on the previous. So for example, the probability that nobody in a room of 3 people have the same birthday is (365/365 * 364/365 * 363/365) =~ 0.9918 More generally, if there are n people in a room, then the probability that nobody has the same birthday is (365/365 * 364/365 * ... * (365-n+2)/365 * (365-n+1)/365) We can plug in values for n. For n=22, we get that the probability that nobody has the same birthday is 0.524, and thus the probabilty that at least two people have the same birthday is (1.0 - 0.524) = 0.476 = 47.6%. Then for n=23, we get that the probability that nobody has the same birthday is 0.493, and thus the probabilty that at least two people have the same birthday is 1.0 - 0.493) = 0.507 = 50.7%. Thus, once we get to 23 people we have reached the 50% threshold.
89.44 %
54 votes

Similar riddles

See also best riddles or new riddles.

logicmathshort

Three brothers

Dean Sam and Castiel are three brothers. Interestingly their current age is prime. What's more interesting that difference between their ages is also prime. How old are they?
Sam : 2 Dean : 5 Castiel : 7 Age diff 7 - 2 = '5' is prime 7 - 5 = '2' is prime 5 - 2 = '3' is prime
93.22 %
37 votes

logicmathshort

Hockey stick

Hockey Stick and ball cost $50. If the Stick cost $49 more than the ball. What is the cost of each ?
Hockey Stick $49.50 & ball $0.50.
93.22 %
37 votes

logicmathshort

Maths logical problem

The digits 0-9(0,1,2,3,4,5,6,7,8,9) can be rearranged into 3628800 distinct 10 digits numbers. How many of these numbers are prime?
None. The sum of numbers from 0-9(0,1,2,3,4,5,6,7,8,9) is 45 and therefore can be divisible by 3 and 9.
93.05 %
36 votes

logicmathshort

Eight eights

Using eight eights and addition only, can you make 1000?
888 + 88 + 8 + 8 + 8 = 1000
93.05 %
36 votes

logicmath

Pizza

How can you divide a pizza into 8 equal slices using only 3 straight cuts?
Cut 1: Cut the pizza straight down the middle into two halves. Cut 2: Keeping the two halves in the place, cut the pizza straight down the middle at right angles to the first cut (you will be left with 4 equal quarters) Cut 3: Pile the 4 quarters on top of each other and cut through the middle of the pile. You will be left with 8 equal slices.
93.05 %
36 votes

logicmath

Trains

A train leaves from Halifax, Nova Scotia heading towards Vancouver, British Columbia at 120 km/h. Three hours later, a train leaves Vancouver heading towards Halifax at 180 km/h. Assume there's exactly 6000 kilometers between Vancouver and Halifax. When they meet, which train is closer to Halifax?
Both trains would be at the same spot when they meet therefore they are both equally close to Halifax.
92.67 %
34 votes

logicmathshort

Three positive whole numbers

Find three positive whole numbers that have the same answer added together or when multiplied together.
1,2, & 3. 1 x 2 x 3 = 6 and 1 + 2 + 3 = 6
92.67 %
34 votes

logicmathshort

A clock

A clock chimes 5 times in 4 seconds. How many times will it chime in 10 seconds?
11 times. It chimes at zero and then once every second for 10 seconds.
92.67 %
34 votes

logicmathshort

An electric train

If an electric train is going east at 60 miles an hour and there is a strong westerly wind, which way does the smoke from the train drift?
here is no smoke coming from electric trains.
92.02 %
31 votes

logicmath

Cards in the dark

You are standing in a pitch-dark room. A friend walks up and hands you a normal deck of 52 cards. He tells you that 13 of the 52 cards are face-up, the rest are face-down. These face-up cards are distributed randomly throughout the deck. Your task is to split up the deck into two piles, using all the cards, such that each pile has the same number of face-up cards. The room is pitch-dark, so you can't see the deck as you do this. How can you accomplish this seemingly impossible task?
Take the first 13 cards off the top of the deck and flip them over. This is the first pile. The second pile is just the remaining 39 cards as they started. This works because if there are N face-up cards in within the first 13 cards, then there will be (13 - N) face up cards in the remaining 39 cards. When you flip those first 13 cards, N of which are face-up, there will now be N cards face-down, and therefore (13 - N) cards face-up, which, as stated, is the same number of face-up cards in the second pile.
91.39 %
49 votes