Dirichlet hyperbola method