50 odd numbers from 1 to 100. Each equally likely.
An integer is odd when it cannot be divided evenly by two. Formally, every odd number takes the form 2k + 1 for some integer k. The odd numbers form an infinite arithmetic sequence with common difference 2: … −5, −3, −1, 1, 3, 5, 7, 9 … extending in both directions without end. In any range of consecutive integers, approximately half are odd. For the range 1 to 100, there are exactly 50 odd values, and this tool selects from them with perfectly uniform probability.
One of mathematics' most elegant patterns connects odd numbers to perfect squares. The sum of the first n odd numbers always equals n². Start adding: 1 = 1². Then 1 + 3 = 4 = 2². Then 1 + 3 + 5 = 9 = 3². Then 1 + 3 + 5 + 7 = 16 = 4². The Pythagoreans discovered this pattern in the fifth century BCE, and the proof is visual: each successive odd number forms an L-shaped border (a gnomon) that wraps around the previous square to create the next larger one. Two and a half millennia later, this identity remains a standard introduction to mathematical proof by induction.
A perfect number equals the sum of its proper divisors. The number 6 is perfect (1 + 2 + 3 = 6), and so is 28 (1 + 2 + 4 + 7 + 14 = 28). Euclid proved around 300 BCE that certain expressions produce even perfect numbers, and Euler later proved that every even perfect number has Euclid's form. All 51 known perfect numbers are even. Whether an odd perfect number exists is one of the oldest unsolved problems in all of mathematics: over two thousand years of searching, and extensive computation has proven that if one exists it must exceed 101500. The answer remains unknown. Every prime number greater than 2 is odd, so odd numbers carry the weight of most of number theory on their shoulders.
Selecting a random odd number from a range is a two-step process. First, the tool identifies all odd integers between 1 and 100: an arithmetic sequence starting at 1, stepping by 2, yielding 50 values. Then crypto.getRandomValues() generates a uniform random index into that sequence. The result is a perfectly uniform selection among all odd numbers in the range, computed entirely in your browser. The server delivers this page; your device picks the number.
Have each student generate 50 odd numbers and record their results. The running average should converge toward the midpoint of the odd values in the range. For the default range 1 to 100, the odd midpoint is 50 (the average of 1, 3, 5, …, 99). Some students will see averages of 44; others will see 55. The class average will sit close to 50. This exercise demonstrates the law of large numbers using a familiar number concept, and it naturally leads to the question: does restricting to odd numbers change the distribution? The answer: uniform selection from any evenly spaced subset remains uniform.
For a cross-concept activity, compare results from the random even number tool with the same range. The odd average converges to one value; the even average converges to another. The difference is always exactly 1. Ask students to explain why.
Every number generated on this page comes from your browser's cryptographic random number generator. The server delivers the page and its educational content. Your device performs the selection. Roll history lives in your browser's localStorage, under your control. The server stores no accounts, records no results, and sets no tracking cookies.
The URL defines the range completely. Change it directly in the address bar:
Pick a preset or type your own minimum and maximum. The URL updates, the tool reloads.
Send this link. Same range, different number. Compare results.
Daily Inspiration
Jury-selected work from the A' Design Award, presented fresh each morning.