The composition of the compound is 8.7% hydrogen, 74% carbon, and 17.3% nitrogen, and its molar mass is 162 g/mol. We first calculate the mole ratio of each element:
Moles of C=1274=6.167
Moles of H=18.7=8.7
Moles of N=1417.3=1.236
Dividing by the smallest value, 1.236, gives
C:H:N=1.2366.167:1.2368.7:1.2361.236
=4.99:7.04:1≈5:7:1
Thus the empirical formula is C5H7N, and its formula mass is 5×12+7×1+14=60+7+14=81 g/mol.
The multiplication factor is n=Empirical formula massMolar mass=81162=2.
Multiplying the subscripts in the empirical formula by 2 yields the molecular formula
(C5H7N)2=C10H14N2
Hence, the correct answer is Option D (C10H14N2).