What is the formula for magnesium nitride?

MgN3

Mg2N3

Mg3N2

MgN2

The formula for magnesium nitride is Mg3N2.