where n sites is the fraction of sites on which a localized electron/hole could reside (typically a transition metal site), and x is the concentration of localized electrons/holes. Of course, the localized charges are not distributed randomly, as the charges will interact electrostatically with one another, and so the above formula should only be regarded as an approximation to the configurational atomic entropy. More sophisticated approximations have been made in the literature.