Analytic number theory and applications