Hi,

I think there is no simple formula for that one. Let (number of days) and (number of friends). If denotes the event "day number is nobody's birthday", then we have:

.

Therefore, using inclusion-exclusion formula and the fact that , we get:

.

In your case, I think the probability is approximately 0.783881.