Question: how to find n in empirical formula?
Answer: Assume 100 g of sample.
Convert all percentages to a mass in grams.
Find the relative atomic mass of each element present using the Periodic Table.
Calculate the moles of each element present: n = mass ÷ relative atomic mass.