create a normal random number between 0 and 10, then use that as the input to a mathematical function that returns what you want....
in other words, draw the distribution you want on a graph, then do a least square fit on it to get the function, then use that function: something like this:

/e
might want to do some rounding at the end if you want an integer
This post was edited by Azrad on Jan 28 2013 05:42am