Duality in Analytic Number Theory