Random Number Generator from 1 to 42

Random Number Generator
Random number from
to

Random number between 1 and 42?

any of the 42 whole numbers from 1 to 42, each with about a 2.38% chance

Generate a number

N = 42 − 1 + 1 = 42 P = 1 ÷ 42 ≈ 2.38%

The Range 1–42 in Numbers

Even / odd numbers21 / 21
Chance of an even number21 / 42 = 50%
Draws for a particular number to reach a 50% chance29

With repeats allowed, each draw misses a particular number with probability 1 − 1/42, so after k draws it has appeared at least once with probability 1 − (1 − 1/42)k. That first reaches 50% at k = 29.

See Also

FAQ

Random number between 1 and 42?

It can be any of the 42 whole numbers from 1 to 42, each with about a 2.38% chance

How many numbers are there from 1 to 42?

42 whole numbers: 42 − 1 + 1 = 42, because both bounds are included. Even numbers among them: 21, odd: 21 — so an even result comes up with a 50% chance.

How many draws does it take to get a particular number from 1 to 42?

With repeats allowed, a particular number has at least a 50% chance of appearing once it has been given 29 draws; after 28 draws the chance is still below 50%. Each draw is independent, so earlier misses do not make it «due».

How to pick several different numbers from 1 to 42?

Set how many numbers you need and tick «No repeats». The generator then draws without replacement, so you can get up to 42 different numbers — the whole range in random order.