where d is the equilibrium distance between particles i and j. The summation is over all nearest neighbors of particle i.