What is a random number?
A random number is a number nobody can predict. But there are actually two kinds of them!
Natural random
Nobody can predict what nature does next. That is why nature makes "true random numbers."
A lava lamp is a great real-world source of natural randomness. It is a decorative lamp holding soft wax and a watery liquid in a glass jar. A bulb below heats the wax so it floats up, then it cools and sinks again, over and over. The shapes keep changing and never repeat exactly.
One company actually makes true random numbers from these ever-changing lava lamps. Cloudflare, a large U.S. internet company, lines a wall of its San Francisco lobby with about 100 lava lamps and films them nonstop with a camera. The unpredictable motion of the blobs becomes true random numbers.
The lava-lamp wall in Cloudflare's lobby · Source: Cloudflare blog ▶
Pseudo random
Random numbers a computer makes fast, by calculation. ("Pseudo" means "close to.") Not truly natural, but they come out just as evenly.
Try it — roll the dice
It rolls using computer (pseudo) random numbers. Roll many times — do the results come out as evenly as natural random?
Total rolls 0
