Distribution problems in number theory