The Atoms of the Integers
A prime is an integer greater than 1 whose only positive divisors are 1 and itself, like . An integer greater than 1 that is not prime is composite. The number is neither prime nor composite because if 1 were prime, prime factorizations would lose their uniqueness.
The Fundamental Theorem of Arithmetic states that every integer greater than 1 can be written as a product of primes, and this factorization is unique up to factor order. For example, . Primes act as the unique prime fingerprints and building blocks of all integers.
Testing and Theory
Two core principles govern prime numbers:
| Principle | Rule / Method |
|---|---|
| Infinity | There are infinitely many primes (Euclid's theorem) |
| Primality Test | Check divisors only up to |
For the primality test, if with , then . A factor below the square root must exist if the number is composite.
Common pitfall: Thinking 1 is prime, or checking divisors all the way up to . You only need to check up to .