This page assists in using a die to generate uniformly distributed random numbers by mapping every throw to a digit in the positional notation of base b where b is equal to the number of sides of the die.
For example, the die numbered 1 to 6 is mapped to the digits 06 to 56. Throwing the die three times can yield numbers from 0006 = 010 (1, 1, 1) to 5556 = 21510 (6, 6, 6). If throwing the die three times yields the numbers 1, 4 and 2, this is interpreted as the number 0316 = 1910.
There’s some theory on why you would want to do this.
Your die is numbered to .
If you throw it time(s), you will obtain a value between 0 and ?.
The results of your throws are .
The resulting value is .