Name every integer and add a new constant asserted to be prime and unequal to every named integer. Every finite part is satisfied by an ordinary prime outside a finite list, using Euclid's theorem. Compactness theorem with the elementary diagram gives an elementary extension with the desired prime. A countable elementary substructure retaining that prime cannot be isomorphic to the integer ring, since any unital ring isomorphism fixes every standard integer.
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, for a contradiction, that the monic irreducible polynomials in the polynomial ring form a finite list . The list is nonempty because itself is monic and irreducible. PutThis has positive degree, so it is a nonzero nonunit. Every such polynomial over a field has an irreducible polynomial as a factor: repeatedly factor a reducible polynomial, with the positive degrees strictly decreasing until an irreducible factor is reached. Dividing that factor by its leading coefficient makes it monic; call it .
By the assumed completeness of the list, for some . But then divides both and , hence their difference . A positive-degree polynomial cannot divide . This contradiction proves there are infinitely many monic irreducible polynomials over every field. This is the polynomial version of Euclid's theorem; it does not require the field itself to be infinite.
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 elements are first-order definable in the ring first-order language. For instance let mean and useIn the integer ring this defines prime elements up to the harmless choice of sign. Expand the first-order language by names for every integer and a new constant . Take the elementary diagram of together withEvery finite subset is satisfiable in : choose a positive prime integer outside the finitely many excluded values, using the Euclid's theorem. Compactness theorem gives a first-order model of the entire set. The complete-diagram argument embeds elementarily into its reduct; identify that copy with the original integer ring.
The resulting elementary extension contains , a prime element unequal to every named standard integer. ThereforeThe construction rules out all standard integers, not merely the finite list appearing in any one approximation.
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
.