How lottery number generator works
A lottery number generator picks a set of unique numbers at random from a defined range, mimicking a quick pick. Most lotteries draw a fixed count of numbers without replacement from a pool — for example, 6 numbers from 1 to 49 — so the generator must ensure no repeats within a single ticket.
This generator uses a Fisher-Yates partial shuffle to pick unique numbers fairly: it shuffles the pool of all numbers in the range and takes the last "count" of them, then sorts the result for display. Every number in the range has an equal chance of being picked, and no number can appear twice in one set.
Enter how many numbers you want, the lowest number, and the highest number. The generator returns that many unique numbers from the range, sorted ascending. The API also accepts a seed for reproducible picks, useful for sharing or verifying a draw. It cannot generate more numbers than exist in the range.