Clearly a sufficient (but not necessary) condition for an equilibrium (time independent) probability distribution is the so-called detailed balance condition
This method can be used for any probability distribution, but if we choose the Boltzmann distribution
N.B. Z does not appear in this expression! It only involves quantities that we know or can easily calculate .