Odd prime 2026-10-05
An odd prime is a prime number that is an odd integer. The only even number that is a prime number is , since every other positive even number has as a proper divisor. Thus every prime number greater than is an odd prime. There are infinitely many odd primes, by Euclid's theorem.
Suppose there were only finitely many prime numbers. There is at least one, namely , so this finite set would have a largest element . The integer is greater than and therefore has a prime factor : for example, its least divisor greater than must be a prime number, since any proper factor of that divisor would contradict minimality.
By ii, , contradicting the choice of . Therefore there are infinitely many prime numbers, proving Euclid's theorem by orders of group elements in finite multiplicative groups.
Suppose there were only finitely many prime numbers, say . Work in the infinite group and set . The left cosets are the residue classes modulo , so each is a finite-index subgroup, with .
By part (b)(v), is empty or infinite. But part (a)(ii) identifies it as the nonempty two-element set . This contradiction proves Euclid's theorem:
Prime number Created 2026-09-24 Updated 2026-10-13
A prime number is a positive integer whose only positive divisors are and . The first ten prime numbers are . In contrast, is a composite number because it has a positive divisor strictly between one and itself. The integer one is neither a prime number nor a composite number: the lower bound is part of the definition. Equivalently, the divisor function satisfies for a prime number, whereas and for every composite number .
Prime numbers are the building blocks of positive integers under multiplication. The fundamental theorem of arithmetic says that every integer greater than one is a product of prime numbers, with a unique collection of factors when their order is ignored. For example, and . Their common factors reveal the greatest common divisor , and the combined maximum powers reveal the least common multiple . A complicated divisibility question becomes a comparison of prime exponents.
There is also a useful finite test. If a composite number equals with , then . Therefore some prime factor is at most , and trial division only needs to check prime numbers up to that square root. For , checking suffices; none divides , so it is a prime number. For , the same test finds , giving . To find many prime numbers together, the sieve of Eratosthenes reuses the work by marking multiples.
The division with remainder calculations for make the test explicit:Since , these are all the prime numbers at most its square root, and every remainder is nonzero. Thus the calculation certifies a prime number, without testing the integers individually. In contrast, gives a prime factor and proves that is a composite number.
The definition has a long history. Book VII of Euclid's Elements distinguishes prime numbers from composite numbers through their possible measures; Book IX, Proposition 20 establishes that no finite list exhausts the prime numbers. The modern argument under Euclid's theorem needs only divisibility, so it proves an infinite conclusion without estimating how frequently prime numbers occur. [ref]
https://mathcs.clarku.edu/~djoyce/elements/bookVII/defVII11.html. Euclid, Elements, Book VII, definitions 11–14, David Joyce's edition
[ref]https://mathcs.clarku.edu/~djoyce/elements/bookIX/propIX20.html. Euclid, Elements, Book IX, Proposition 20
.