What is the probability of someone else in a room having the same birthday as me and no other people sharing a birthday? What is the probability that at least one person in a room of $n$ people (excluding me) has the same birthday as I and that nobody else in the room shares a birthday on a different date? For practical purposes, pretend that leap years don't exist.




As a follow-up, what is the expected number of people that have the same birthday as I in a room of $n$ people (excluding me) if nobody else in the room shares a birthday on a different day?
The probability is:

[Explanantion:Spoiler]


   Choose n birthdays from 364 days(except the one which you have), all different dates then select one person whose birthday you want to change to yours and arrange the rest.Total ways of selecting birthdays will be $365^n$.  In case of 366 persons select one person to have same birthday as you and arrange the rest 364 persons with the remaining 364 dates.


$$\frac{\binom{364}{n}\binom{n}{1}(n-1)!}{365^n}:\quad n\le 364\\\frac{\binom{365}1364!}{365^n}:n=365\\0:n\ge366$$
Sorry I know combinatorics and haven't yet covered probability or expected value.
The probability is:

[Explanantion:Spoiler]


   Choose n birthdays from 364 days(except the one which you have), all different dates then select one person whose birthday you want to change to yours and arrange the rest.Total ways of selecting birthdays will be $365^n$.  In case of 366 persons select one person to have same birthday as you and arrange the rest 364 persons with the remaining 364 dates.


$$\frac{\binom{364}{n}\binom{n}{1}(n-1)!}{365^n}:\quad n\le 364\\\frac{\binom{365}1364!}{365^n}:n=365\\0:n\ge366$$
Sorry I know combinatorics and haven't yet covered probability or expected value.