Let us assume that we have a random number generator given by its probability density function. Now, we need to use this distribution to generate a number that has the following property. It minimises the root mean square deviation between itself and random numbers generated by the considered distribution.
My question is this number has a special name. May be it is just a mean or median?