Random Number Generator

Generate a set of random numbers within a range, with or without duplicates.

What "random" means here

This generates pseudo-random numbers using the browser's built-in random function — statistically fine for games, sampling, or picking a winner, but not cryptographically secure, so it shouldn't be used for anything security-sensitive like generating passwords or encryption keys.

Why repeated results can look "unrandom"

True randomness sometimes produces streaks or clusters, like the same number twice in a row, that feel wrong intuitively. Humans are generally poor at recognizing genuine randomness, which often looks more patterned than expected.