Solution
= Solution
For both boxes to be empty, each ball must avoid two specified boxes. The individual avoidance <probability> is $(n-2)/n$, and the choices of different balls are independent. Therefore
$$
\boxed{\mathbb P(M_1=0,M_2=0)=\left(1-\frac2n\right)^n.}
$$
This also covers $n=2$, when the answer is zero.