Dyson also did work in a variety of topics in mathematics, such as topology, analysis, number theory and random matrices In 1973 the number theorist Hugh Lowell Montgomery was visiting the Institute for Advanced Study and had just made his pair correlation conjecture concerning the distribution of the zeros of the Riemann zeta function. He showed his formula to the mathematician Atle Selberg, who said that it looked like something in mathematical physics and that Montgomery should show it to Dyson, which he did. Dyson recognized the formula as the pair correlation function of the Gaussian unitary ensemble, which physicists have studied extensively. This suggested that there might be an unexpected connection between the distribution of primes (2, 3, 5, 7, 11, ...) and the energy levels in the nuclei of heavy elements such as uranium.