# Trying to understand a step in deriving Maxwell-Boltzman statistics

In the Wikipedia article on Maxwell–Boltzmann statistics, there is a point in the derivation that stumps me. When I get to where

$\displaystyle W=N!\prod\frac{g^{N_i}}{N_i!}$

is quoted as a count of the number of possible ways particles can be found in each state, I am told we want to pick the $N_i$ in such a way as to maximize $W$. Why is it important to maximize $W$?

-