The full mass density of state A at point r is a sum over the mass distributions of all Nat nuclei where i is the Gaussian width of nucleus i in state B. Now, we turn our attention to the integral in (3). It can be expanded as This type of integrals is analogous to 1s two-electron integrals 80 and can be solved analytically, as discussed next.