Bernhard Riemann left two famous legacies: the Riemann hypothesis, which deals with the distribution of prime numbers and is the most important open problem in mathematics today, and Riemann's new system of geometry, which Einstein used to develop his general theory of relativity.