title: Getting a uniform probability distribution with limited means
body: <p>Say you have a coin and you want to randomly select between 3 numbers (or more) with equal probability. If you just flip a coin for each pair then you are giving the survivor of the first round two chances to lose and the distribution is not uniform.</p>
  
  <p>In general you have a function Random(0,1) that returns 0 with .5 probability and 1 with .5 probability. Using this function, make Random(a,b) which returns any integer in the range [a,b] with equal probability.</p>
  
  <p>Any ideas?</p>