To find the correct ratio of atoms in this compound, it is necessary to find the correct molar ratios. Nitrogen has a molar weight of 14.007 g/mol and Hydrogen has a molar mass of 1.0079 g/mol. It can be calculated then, that there are .294 moles of nitrogen and .873 moles of hydrogen. This ratio is .294 to .873 or approximately 1:3, giving a compound that is NH3, or ammonia.