6.0 grams of magnesium contains 1.51 x 10^23 atoms of magnesium. This can be calculated using the following steps:
1. Determine the number of moles of magnesium present in 6.0 grams using the formula: moles = mass/molar mass
2. The molar mass of magnesium is 24 g/mol
3. So, 6.0 g / 24 g/mol = 0.25 moles of magnesium
4. Using Avogadro's number (6.02 x 10^23 atoms/mol), we can determine the number of atoms of magnesium present:
5. 0.25 moles * 6.02 x 10^23 atoms/mol = 1.51 x 10^23 atoms.
Therefore, 6.0 grams of magnesium contains 1.51 x 10^23 atoms of magnesium.