Poster :
Here's how to generate a random number between 1 and 10 with a six-sided die 🎲
1 - Throw the die 𝑁 times and sum the results (S)
2 - Calculate the residue class (mod 10)
3 - The distribution on [1,10] tends to a uniform distribution as 𝑁→∞
Commentor's Solution :
Throw the dice until you don't get a 6. Note the number ( n ). Throw again. Add 5 to n if this second throw is an odd number.