Hardy's interests covered many topics of pure mathematics:- Diophantine analysis, summation of divergent series, Fourier series, the Riemann zeta function and the distribution of primes.
Find out more at: https://mathshistory.st-andrews.ac.uk/Biographies/Hardy/