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

Finite Automata and the Regular Languages They Recognize

Quick fact

Finite automata can recognize exactly the regular languages, a class that includes all patterns that can be described by regular expressions. Yet they are powerful enough to model the lexical analysis phase of every compiler.

Why this is interesting

You’ve probably used a vending machine that knows the exact sequence of coins and buttons, yet has almost no memory. How can such a simple device decide which strings of actions are 'valid'?