Here's the balanced chemical equation:
3Mg + N₂ → Mg₃N₂
This reaction is a combination reaction where two elements combine to form a single compound.