keisoku

Random Integer Generator

Generate uniform random integers within a range. Choose the count and whether duplicates are allowed.

Input

Enter a minimum, maximum and count, then press generate to create uniform random integers within the range.

You can request from 1 to 1000 values.

Result

Enter values and press the generate button.

How it works

  • Every integer from the minimum to the maximum is chosen with equal probability, producing a uniform distribution.
  • With duplicates allowed, the same value may appear more than once. Without duplicates, each value appears at most once, like drawing without replacement.
  • When duplicates are not allowed, the count cannot exceed the total number of integers in the range.
  • The mean is the sum of the generated values divided by the count. The minimum and maximum are the smallest and largest generated values.
  • Random numbers are produced in your browser only when you press the generate button, and each press gives a different result.

Reviews

Tell us what you think of this calculator.

Write a review

  1. Home
  2. Random Integer Generator