# Random Number Generator

**Random Number Generator** will generate a sequence of numbers between the two numbers of your choice.
Fill the fields bellow and press the *Generate* button.

## Random Number Generator

The Random Number Generator that is available on this page is an online tool that allows you to quickly generate a string of random numbers.
The number of numbers to be generated depends on the value that is given in the `Number of random numbers to be generated` field.
You should enter any number greater than zero (e.g. 1, 10, 100, etc). When you have already entered how many numbers we want to draw,
you need to specify from which range these numbers are to be generated.
To do so, you should fill in the fields `Minimal value of random number`> and `Maximum value of random number` accordingly.
For example by entering 1 and 100. The first number must be smaller than the second.

The option `Unique numbers (no repeat)`> is also available. If it is selected, the numbers to be generated will not be repeated (they will be unique).
The important thing is that if this option is checked, and you want to generate more numbers than the range allows,
you will only get as many numbers as there are within this range.
For example, if you want to draw 10 numbers from the range from 1 to 5, you will only get 5 numbers from this range,
which will be given in a random order.

### Number lottery

Many people take part in lottery (like eurojackpot) where the goal is to match some numbers (e.g. 6 correct numbers out of 49). To take part in this you need to enter a few numbers (e.g. 6) from the range (e.g. 1 to 49), send your numbers on a special coupon and wait for the draw in the evening hoping that it is the numbers you have entered that will be drawn. You can either give your numbers, which for some reason we think will be drawn, or you can rely entirely on the lottery draw and use the random method, i.e. draw (generate) the appropriate numbers.

To draw such numbers and play one of the games with the "random numbers to be generated" method,
in the *Number of random numbers to be generated* field you have to enter how many numbers you have to cross out on the coupon (e.g. 6)
and set the minimum and maximum value (e.g. from 1 to 49).
Press the *Generate* button. This will give you 6 numbers, which you can enter on the coupon and send it.

### Where can a number generator be used?

One application is already mentioned above, i.e. generating numbers for games of chance (e.g. lotteries).

Another can be to select the winner. For example, when you have 10 people and pick one winner, you should number people from 1 to 10,
in the *Number of random numbers to be generated* enter the value 1, and set the range from 1 to 10, select the unique option
and press the *Generate* button. In this way we will draw the winnings. It is random number generator from 1 to 10.

This way I used to use at work to draw a person to call and order a lunch for our team.