My Birthday Problem

Its my Birthday! How many people do I need to invite to obtain at least 50% chance that at least one of them shares the same birthday as MY birthday? Assume a year has exactly 365 days.


The answer is 253.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Eddie The Head
May 1, 2014

Let us consider that we have invited n n people.

So the probability that the first person does not share birthday with me is 364 365 \frac{364}{365} . The same holds for the second,third fourth person etc.

Following this argument the probability that among the n n people I have invited no one shares their birthday with me is ( 364 365 ) n (\frac{364}{365})^{n} .

So the probability that at least one person shares birthday with me will be 1 ( 364 365 ) n 1-(\frac{364}{365})^{n} .

We want this to be equal to half and hence we have 1 ( 364 365 ) n = 0.5 1-(\frac{364}{365})^{n} = 0.5 .

Solving for n n we get n = 253 n = 253 to be the minimum integral value for which this holds true hence out answer is 253 \boxed{253} .

Satyen Nabar
Apr 30, 2014

The probability that person 1 does not match my birthdate is 364/365. The probability that person 2 does not match my birthdate remains 364/365 and similarly 364/365 so on for person 3 and 4 etc. Multiplying these probabilities, i.e (364/365)^n at n= person 253 the probability of not matching falls below 50%. Thus the probability of matching is above 50 % if i invite 253 ppl.

I think you should put the logic in this way..

Following your argument the probability that among the n n people you have invited no one shares their birthday with you is ( 364 365 ) n (\frac{364}{365})^{n} .

So the probability that at least one person shares birthday with you will be 1 ( 364 365 ) n 1-(\frac{364}{365})^{n} .

We want this to be equal to half and hence we have 1 ( 364 365 ) n = 0.5 1-(\frac{364}{365})^{n} = 0.5 .

Eddie The Head - 7 years, 1 month ago

Yes Eddie you described it perfectly! That`s why l voted your solution up :-)

Satyen Nabar - 7 years, 1 month ago

Wow and it just so happens my birthday is in 4 days :)

Aayush Gupta - 7 years, 1 month ago
Rishy Fishy
Jan 29, 2017

The probability that NONE of my friends that I invited has the same birthday as me is equal to 1 ( 364 365 ) x 1-(\frac{364}{365})^{x}

So we need to find out a value of n where 1 ( 364 365 ) n 1-(\frac{364}{365})^{n} = 0.5

1 ( 364 365 ) n 1-(\frac{364}{365})^{n} = 0.5

( 364 365 ) n \frac{364}{365})^{n} = 0.5

log( 364 365 ) n \frac{364}{365})^{n} = log 0.5

n (log 364 365 ) \frac{364}{365}) = log 0.5

n= l o g ( 364 / 365 ) l o g ( 0.5 ) \frac{log (364/365)}{log (0.5)}

n = 252.65

So I have to have at least 253 friends over

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...