If we have a random integer generator (like a dice: $\{1,2,3,4,5,6\}$) with a few possible outcomes, is there a way to generate a uniformly distributed with more possible outcomes?(for example: $\{1,2,3,4,\dots,100\}$)
I think I should group bigger set into groups with same number of members and choose between them? Like:
$\{1,2,...,36\} \Rightarrow \{\{1,\dots,6\},\{7,\dots,12\},\dots,\{31,\dots,36\}\}$ random number one $= 3 \Rightarrow \{13,14,15,16,17,18\}$ random number two $= 2 \Rightarrow \{14\}$
But is there any mathematical operation $(+,/,*,-,\log, \dots)$ to do with random number one and two?