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

The Euclidean Algorithm and Greatest Common Divisors

Quick fact

The Euclidean algorithm is one of the oldest algorithms still in use, dating back to ancient Greece (c. 300 BC). It can compute the GCD of two numbers without ever factoring them.

Why this is interesting

You've probably had to find the greatest common divisor of two numbers in school—like 12 and 18. But what if the numbers are 2,057,983 and 1,011, which is pretty hard to factor? The Euclidean algorithm finds the answer in just a few steps, and it’s been doing it for over 2,000 years.