Problem 1267. Calculate the probability that at least two people in a group share the same birthday.
Solution Stats
Problem Comments
-
2 Comments
Massimo Zanetti
on 7 Oct 2016
I assume n is the number of people in the room.....
Edward Huang
on 5 Mar 2020
Although I got the solution, in the case of n=100, however, it results in 1.000, which means there MUST be at least two people share their birthday in a group of 100. Am I missing something here?
Problem Recent Solvers70
Suggested Problems
-
Back to basics 22 - Rotate a matrix
827 Solvers
-
Make a random, non-repeating vector.
5442 Solvers
-
Convert from Base 10 to base 5
225 Solvers
-
Matrix which contains the values of an other matrix A at the given locations.
219 Solvers
-
Unique values without using UNIQUE function
236 Solvers
More from this Author7
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!