When 0.273 g of Mg is heated strongly in a nitrogen (N2) atmosphere, a chemical reaction occurs. The product of the reaction weighs 0.378 g. Empirical formula of the compound is:
A. MgN
B. Mg3N2
C. MgN2
D. Mg2N