Let us now calculate the number of microstates associated with any distribution. Let N distinguishable particles be distributed in \(r\) quantum states, as follows: \(N_{1}\) particles in \(\epsilon_{1}\), \(N_{2}\) in \(\epsilon_2 \),........,\(N_r\) in \(\epsilon_r\). The number of microstates of this macrostate is given by the equation:.