1.0g of O atoms =116g atoms of O
=116∗6.02∗1023 atoms
=6.02∗102316 atoms
1.0g of O2=132mol of O2=132∗6.02∗1023
molucles =2∗132∗6.02∗1023 atoms
=6.02∗102316 atoms
1.0g of O3=148mol of O3=148∗6.02∗1023
molucles =3∗148∗6.02∗1023 atoms
=6.02∗102316 atoms
Thus, all of them contain equal number of atoms.