Say I have this problem, for example:
How many atoms are in 39.6g of pure tungsten?
So what I would know here is that first off the molar mass of tungsten is $183.84\,\text g/\text{mol}$. While I understand this, what I don't understand is how I would get the number of atoms in this sample from here. Intuitively it's obvious that (rounding calculations to 2 decimal places)$$\text{Number of atoms in }1\text{ g of tungsten}:\dfrac{1\text{ mol}}{183.84}\\=\dfrac{6.02\times10^{23}}{183.84}\text{ atoms}=3.27\times10^{21}\text{ atoms}$$and therefore the number of atoms in 39.6g of tungsten is equal to$$3.27\times10^{21}\times39.6=129.492\times10^{21}\\=1.29492\times10^2\times10^{21}=1.29\times10^{23}\text{ atoms}$$But my question is this:
Why does this method work? Intuitively it seems that the number of atoms in a given mass of a pure substance is calculated as$$(\text{atomic mass})^{-1}\times\text g\times1\text{ mol}$$however it doesn't exactly make sense as to why I would be taking the reciprocal of $\text{atomic mass}\times\text{mol}^{-1}$ if I'm not taking the reciprocal of $\text g$ along with that.