Algebra 2 (1st Edition)

$P(x)=1-\frac{_{365}P_x}{365^x}$
The probability is $1$ minus the probability of all of them having birthdays on different days, which is: $P(x)=1-\frac{_{365}P_x}{365^x}$ (following the logic of earlier parts of the exercise).