Follow your curiosity

What discovery has been shared with you?

FACTREE gives you something interesting to discover every day — and something worth talking about together.

Start with one fact. Explore it, go deeper, then follow whichever branch catches your imagination.

Choose subjects for a surprise

Exploring any topic

Begin your discovery

Your next discovery is one click away.

Choose one or more subjects above, or leave Any Topic selected and let curiosity decide.

Mathematics

Linear Congruential Generators and Pseudo-Random Numbers

Quick fact

A linear congruential generator can produce billions of numbers from just one starting value, yet the entire sequence repeats after at most m steps (its period).

Why this is interesting

Flip a coin thousands of times and you get a pattern — but a simple formula can mimic that randomness with a few arithmetic steps? How can a deterministic recipe appear so random?