The structures, stability and electronic attributes of the Mg n N and Mg n N 2 (n=1–6) clusters have been investigated by using density functional theory. N 2 molecules prefer to approach more Mg atoms for Mg n1 N 2 (n=1–5) clusters. Structural stability of the Mg n N and Mg ...