It seems like you want to discover analytic number theory. There is a lot of it. A good comprehensive modern book I would recommend is Iwaniec, Kowalski - Analytic number theory. Example areas with applications of harmonic analysis include the circle method and modular forms.