It is named after Bernhard Riemann , who wrote about it in the memoir `` On the Number of Primes Less Than a Given Magnitude '' , published in 1859 . It is named after Bernhard Riemann , who in the memoir `` On the Number of Primes Less Than a Given Magnitude '' , published in 1859 , established a relation between its zeros and the distribution of prime numbers .