S. Golomb noticed that Riemann's zeta function ζ induces a probability distribution on the positive integers, for any s > 1, and studied some of its properties connected to divisibility. The object of this paper is to show that the probability distribution mentioned above is the unique solution of an entropy-maximization problem.