The Birthday Problem

There are N N people in a concert. What is the minimum value of N N such that you can be certain that there are at least 20 people in the concert with the same birthday?

Assume there are 366 different possible birthdays, taking into account the leap day.


The answer is 6955.

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.

4 solutions

Geoff Pilling
Dec 10, 2016

You can have 19 19 people born on each day of the year, and that gives you 19 366 = 6954 19 \cdot 366 = 6954 people, and you don't yet have 20 20 people with the same birthday. However, if you introduce just one more person, you are guaranteed that he will have the same birthday as 19 19 other people.

Therefore, the minimum number N N is:

N = 19 366 + 1 = 6954 + 1 = 6955 N = 19 \cdot 366 + 1 = 6954 + 1 = \boxed{6955}

Very poorly worded problem.if you add 19 people you are guaranteed either 20 or as many as 38 who each could say they have the same birthday as someone else. Should have said "all of the 20 have the same birthday as each other"

Greg Grapsas - 4 years, 6 months ago

Good explanation, this is a classic problem on the pigeonhole principle. =)

Jester Koh - 4 years, 6 months ago
Ryan L.
Dec 15, 2016

This is a direct application of the pigeonhole principle. Let's denote our n n people at the concert as pigeons and the 366 366 birthdays will be the boxes the pigeons fly into.

By the division principle we know that if we have n n pigeons and 366 366 boxes, then at least one box contains n 366 \lceil \frac{n}{366} \rceil or more pigeons.

But we want one box to contain at least 20 20 pigeons. That is, we desire to have n 366 20 \lceil \frac{n}{366} \rceil \ge 20 .

Then

n 366 20 n 366 > 19. \lceil \frac{n}{366} \rceil \ge 20 \Rightarrow \frac{n}{366} > 19.

and solving our inequality gives

n > 6 , 954 n > 6,954 .

Thus, we see that if n n must be greater than 6 , 954 6,954 and n n is an integer, the minimum value of n n is n = 6 , 955 n=6,955 .

Saya Suka
Apr 24, 2021

Answer
= (20 – 1) × 366 + 1
= 19 × 366 + 1
= 6955


Apoorva Singal
Dec 17, 2016

the minimum number of people with different birthdays we can have is 366. Any number above that means two people share a birthday. Assuming again that if all people born beyond the first set of 366 people also have different birthdays we can have 366+366 as a set of people where for sure atleast 2 people will share birthdays. For three people it's 366x3. You might think for 20 people it's 366x20, but heres is the trick. At 366x19 we make sure that atleast 19 people share same birthday. Adding +1 to it ensures there is a single set of 20 people atleast that's share the same birthday.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...