Oscillatory integrals and stationary phase estimates in analytic number theory