Rad Pro: Random lottery number generator #157
-
It would be nice to create a lottery number generator for Eurojackpot or DE lottery. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No need for that. To generate a random number from 1 to 49, for example, you can use the following procedure:
For example, suppose your RNG gives you these decimals digits: 1274361926759157. The first two digits are 12, so this is your first number. The second two digits are 74, so you discard them and go for the next two, which are 36, so there is your second number. And so on. Do not reuse digits. It will skew probabilities. |
Beta Was this translation helpful? Give feedback.
No need for that. To generate a random number from 1 to 49, for example, you can use the following procedure:
For example, suppose your RNG gives you these decimals digits: 1274361926759157. The first two digits are 12, so this is your first number. The second two digits are 74, so you discard them and go for the next two, which are 36, so there is your second number. And so on.
Do not reuse digits. It will skew probabilities.