Diophantine approximation and analytic number theory