All books

Professional

Apps About Coach Log in Start reading

Mathematics · Glossary

What is Prime?

Also known as: prime number

Definition 29.13 High School Mathematics · Chapter 29 — Arithmetic

An integer p≥2p \geq 2 is prime if its only positive divisors are 11 and pp.

Examples

Example 29.18 (Application to cryptography)

Fermat’s theorem makes exponentiation modulo nn reversible when the exponents are chosen suitably — the heart of the RSA cryptosystem. With p,qp, q large primes and n=pqn = pq, one publishes nn and an exponent ee; encryption is x↦xe mod nx \mapsto x^e \bmod n. Decrypting requires an exponent dd with ed≡1(mod(p−1)(q−1))ed \equiv 1 \pmod{(p-1)(q-1)}, which only someone knowing pp and qq can compute — and recovering p,qp, q from nn means factoring a number hundreds of digits long, which no known algorithm does in reasonable time.

Read in context →