We see
2Mg + O2= 2MgO
Why it is written 2Mg not Mg2
Dear student!
Mg is a metal and all the metals and some other elements also taken as monoatomic elements and so they are represented by their atomic symbol only.
SO, when two atoms of Mg is required , we write 2Mg and not Mg2 .