| Draw | Value | Copy |
|---|---|---|
| Draw {{ row.index }} | {{ row.value }} |
| Metric | Value | Copy |
|---|---|---|
| {{ row.label }} | {{ row.value }} |
Random integers are whole numbers chosen from a bounded set, and they are useful for fair draws, simulations, sampling, and quick decisions where bias would mislead results. A random number generator without repeats can cycle through a range so every value appears once before you reset, which is handy for raffles or assigning order fairly.
You define the smallest and largest value, then pick how many numbers to draw each time, and decide whether repeats are allowed. The output shows the latest pick and a running history so you can judge coverage, while summary statistics and a simple frequency view help you spot clustering that occurs by chance.
Try a tight range to inspect behavior, then widen it as your task demands and compare the mean to the midpoint over time. Unique draws reduce duplicates and will eventually exhaust the range, so plan to clear history or expand limits when the app tells you there is nothing new to draw.
Consistency matters for interpretation, so keep the same range when comparing runs and avoid switching options midstream. When results drive a real decision, repeat a few times to see how much they vary and use the distribution, not a single outcome.
Random integers here come from a finite set observed at a moment in time. Let X be the outcome and define the inclusive bounds min and max. With repeats allowed, each draw is independent and uniformly distributed over the set of integers in the range. With repeats disallowed, sampling proceeds without replacement across the maintained history until all values are used.
The computation maps a uniform real u in the half‑open interval [0, 1) to the integer lattice defined by the bounds. The range size N equals the count of integers between min and max, inclusive. The summary reports the running mean and median of the history so you can compare the central tendency to the range midpoint.
| Symbol | Meaning | Unit/Datatype | Source |
|---|---|---|---|
| min | Lower inclusive bound | integer | Input |
| max | Upper inclusive bound | integer | Input |
| N | Range size (max−min+1) | integer | Derived |
| n | Quantity per draw | integer ≥ 1 | Input |
| u | Uniform real on [0, 1) | real | Derived |
| X | Random outcome | integer | Derived |
| R | Unique values remaining (no‑repeats) | integer | Derived |
| Field | Type | Min | Max | Step/Pattern | Error Text | Placeholder |
|---|---|---|---|---|---|---|
| Minimum | integer | −9 007 199 254 740 991 | — | — | Enter a valid integer range with Minimum < Maximum and Quantity ≥ 1. | — |
| Maximum | integer | −9 007 199 254 740 991 | — | — | Enter a valid integer range with Minimum < Maximum and Quantity ≥ 1. | — |
| Quantity per draw | integer | 1 | — | step = 1 | Quantity exceeds the unique values remaining with no‑repeat enabled. | — |
| No repeat | boolean | — | — | switch | All unique values in the current range are exhausted. Clear history or expand the range. | — |
| Input | Accepted Families | Output | Encoding/Precision | Rounding |
|---|---|---|---|---|
| Bounds and quantity | Integers | Latest value, history, stats | Numbers, CSV (RFC 4180), JSON snapshot | Mean/median displayed with two decimals |
Processing is browser‑based. Exports are created with local blobs for download. Clipboard operations use the platform clipboard API with a safe fallback when permissions are limited.
Identical inputs produce different sequences by design. Mean and median converge toward the midpoint over many draws with repeats allowed; without repeats, coverage becomes uniform by construction.
No data is transmitted or stored server‑side. Highlighted JSON is derived from internal data structures. Outcomes are purely random and have no monetary value.
Random integers for fair draws and simulations, with optional unique coverage.
Example: min = 1, max = 100, quantity = 5, no repeats on → five distinct integers between 1 and 100 are added to history.
No. Generation, history, and exports are handled locally on your device; nothing is sent to a server.
Clipboard and downloads use device‑level APIs.With repeats allowed, each integer has equal chance per draw. Expect variation in small samples; the chart and stats help verify coverage.
History exports as CSV with RFC 4180 quoting and as pretty JSON. A structured JSON snapshot also includes inputs, status, stats, and recent history.
Yes. After the page loads, generation and exports work locally. Results do not depend on network access.
No. It is not designed for regulated drawings or security‑critical randomness. Use approved systems where required.
Enable the no‑repeat option, then generate. Each value appears at most once until you clear history or change the range.
It simply means those integers have not been drawn yet. Over more draws, gaps tend to close under uniform sampling.
No purchase or sign‑in prompts appear in the interface. Licensing terms are not displayed within the app.