where n C and n N are the number of C and N atoms in the system, respectively i.e., n C +n N = n a and E e i e j ij is the two-body energy for a set of atoms ij of element types e i e j . Similarly, for a three-body interaction: