Problem: If 5 people have different birthdays, what is the probability that none of them are born on adjacent months?
In this question consider December and January as adjacent.
I know that the probability will be no. of ways not on adjacent months over total, being 12P5.
But at this point I have no idea how to calculate all the scenarios in which the 5 aren’t born on adjacent months.
Can anyone help?
I assume each birthday month and each selection of five birthday months is equally likely.
If we arrange five squares into a circle to represent the five birthday months, and we place an x between all the squares to represent at least a single month with no birthday, we are left with two xs. The number of ways we can place those remaining two xs is:
$$5+4+3+2+1 = 15$$
Or, $5$ ways to place both xs between two squares plus $\binom{5}{2} = 10$ ways to place two xs into $5$ spaces. $$5+10 = 15$$
Now, if we take it that one of the square months is always January, it is pretty obvious that January occurs 15 times and because of symmetry, so does every other month. That means we have a total of $15\cdot 12 = 180$ month slots to fit into a series of $5$ month sequences. Hence, the number of ways you can arrange $5$ months such that no two months are adjacent is: $$\frac{180}{5}= 36$$
Hence the probability is:
$$p = \frac{36}{\binom{12}{5}} = \frac{1}{22}$$