On the equilibrium distribution of the impurity atoms in real crystals