Nepedia
Back to Discover
Fluent Reader
🔢

Pseudoprime

math Maturity 11-13 Next article →

Numbers can sometimes play tricks on us. Most people know about prime numbers. These are numbers that cannot be split into equal groups. A pseudoprime is a number that acts like a prime. It shares a special trait with real prime numbers. However, it is actually a composite number. This means it can be split into smaller parts.

We use math to keep secrets safe. This is called public-key cryptography. It relies on a very hard job. That job is factoring huge numbers into their prime parts. Finding these prime parts is extremely difficult. It is hard to do with very large numbers. Because of this, we use special tests to find primes. Some tests use chance to find an answer. These are called probabilistic primality tests.

Sometimes these chance tests make a mistake. They might say a number is prime when it is not. These mistaken numbers are the pseudoprimes. In 1988, a man named Carl Pomerance studied this. He estimated the cost of factoring big numbers. He said a 144-digit number would cost $10 million. A 200-digit number would cost $100 billion.

There are different ways to test a number. Some tests are called deterministic tests. The AKS primality test is one example. These tests are always sure of their answer. They do not make mistakes like the chance tests. Because they are always right, they have no pseudoprimes. Other tests are grouped by how they work. We have Fermat pseudoprimes and Lucas pseudoprimes.

Math has many names for these tricky numbers. A Fermat pseudoprime follows a rule from Fermat's little theorem. If a number follows this rule but is not prime, it is a pseudoprime. Some numbers are even trickier than others. A Carmichael number is a special kind of Fermat pseudoprime. It works for many different values. Other types include Catalan and Euler pseudoprimes.

312 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.