where E ads is the adsorption energy, n the number of nitrogen atoms, E slab-X is the DFT energy of the n nitrogen atoms (N) on the lithium slab, E slab is the energy of the lithium slab alone, and E N2 is the DFT energy of an isolated nitrogen molecule.