What is pseudo-randomness?

A pseudo-random number is like a pretend random number that follows a secret rule, it looks random, but it's not really magic.

Imagine you have a toy box full of marbles, each with a number on it. You shake the box and pick one marble without looking, that’s like a real random number. But if you had a special marble picker that always picked marbles in the same order every time you shook the box, even though it looked like it was picking randomly, that would be pseudo-random.

How It Works

A pseudo-random number generator is like your special marble picker. You start with a seed, maybe the number 5, and then each time you shake the box, it follows a hidden rule to pick the next number. Even though the numbers look random, they’re actually following that secret rule.

Why It Matters

People use pseudo-randomness all the time in games, computers, and even phones! It’s not truly random like rolling dice or flipping coins, but it's good enough for most things, and it doesn’t need any magic.

Take the quiz →

Examples

  1. A coin flip that seems random but is actually based on a hidden rule.
  2. A dice game where the outcome appears random, but it's just following a pattern.
  3. A computer picking numbers to play a game, thinking they are random.

Ask a question

See also

Discussion

Recent activity