\[M_{2}=\frac{n!}{1^{a_{1}}(a_{1}!)\,2^{a_{2}}(a_{2}!)\,\cdots\,n^{a_{n}}(a_{n}!%
)}.\]