Phần hướng dẫn bên dưới chưa có bằng tiếng Việt nên được hiển thị bằng tiếng Anh. Bản thân máy tính đã được dịch đầy đủ.
Cách sử dụng máy tính này
- Enter the minimum and maximum (both included).
- Choose how many numbers and whether they must be unique.
- Choose integers or decimals, then press Generate.
Công thức
Numbers come from the browser's cryptographically secure generator. Rejection sampling ensures every integer in the range is exactly equally likely, and unique draws use a Fisher–Yates shuffle.
P(any integer in [min, max]) = 1 / (max − min + 1)
Câu hỏi thường gặp
Are the numbers truly random?
They come from your operating system's cryptographic random source, which is suitable for security purposes and far better than typical pseudo-random functions.
How do I pick lottery numbers?
Set the range (e.g. 1 to 49), the count (e.g. 6) and keep 'no repeats' ticked. Every combination is equally likely.
Can I use this for a giveaway?
Yes. Number the entries and draw the needed number of unique winners. For transparency, record your screen or have a witness.