Put N balls into a bag numbered between Minimum number and Maximum number. Mix the balls thoroughly. Pick out one ball and write down its number. Repeat the process m times (either with replacement or without replacement).

without replacements with replacements

How many sets of numbers do you want to generate? (1–50)
How many numbers in each set? (1–50)
Minimum number? (0–9999)
Maximum number? (0–9999)