How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Primes and Factorisation: Examples and Counterexamples
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- The ZFC Axioms and the Basic Set Constructions
2 · Summary
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
and , with and read off the exponents
Example
Powers are the natural powers of Powers : natural exponents in a monoid and integer exponents in a group, with in the commutative monoid of is a commutative monoid whose group of units is ; equivalently holds exactly for and . For the symbol inside means , the embedding of The naturals embed in the integers.
Reading these against the injective list of primes , which contains every prime divisor of both numbers, For and any injective list of primes containing every prime divisor of , one has ; the exponents are determined by , and for every prime outside the list identifies the exponents as valuations (The -adic valuation of a nonzero integer: the greatest with ):
By For positive integers and and every prime : and ; so the exponent-wise greatest common divisor is the of the divisibility page and not a second notion the minimum row is the valuation vector of and the maximum row that of , so
Two independent checks are carried out below: the Euclidean algorithm of The Euclidean algorithm: for and the remainder descent from terminates, and the last nonzero remainder is returns from the descent , , ; and , as Every common multiple of and is a multiple of , and requires.
Facts & Assumptions
Given: The integers , , and , and the primes , , , .
is a commutative ring: multiplication is associative and commutative, , and multiplication distributes over addition (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals); its order is total, antisymmetric and transitive (The integers form a totally ordered ring, Order on the integers, The naturals embed in the integers).
and in ; and (Powers : natural exponents in a monoid and integer exponents in a group, with , Exponent laws in a group: and for all , and when and commute, Semigroup and monoid, is a commutative monoid whose group of units is ; equivalently holds exactly for and , The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity).
For and an injective list of primes containing every prime divisor of : , the exponents are determined by , and for a prime off the list (For and any injective list of primes containing every prime divisor of , one has ; the exponents are determined by , and for every prime outside the list, The fundamental theorem of arithmetic: every integer is a product of primes, and the factorisation is unique up to order — if with every and prime, then and for some , Every integer is a finite product of primes: there are and a list of primes with , the case being the empty product, The -adic valuation of a nonzero integer: the greatest with , For a prime and a nonzero integer : and ; holds exactly for ; exactly when ; ; and , for nonzero integers , and whenever , and are all nonzero).
For positive and every prime : and ; and a positive integer with those valuations is the , respectively the (For positive integers and and every prime : and ; so the exponent-wise greatest common divisor is the of the divisibility page and not a second notion, Common divisor, and the greatest common divisor , with the convention , Common multiple, and the least common multiple , taken to be when or , Every common divisor of and divides ; consequently exactly when , , , and every common divisor of and divides — a characterisation that holds at as well).
For and there is exactly one pair with and , and exactly when (Division with remainder in : for and there are unique with and , Divisibility in : when for some integer , Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and ).
The remainder descent from with terminates and its last nonzero remainder is (The Euclidean algorithm: for and the remainder descent from terminates, and the last nonzero remainder is ).
If is prime and then or (Euclid's lemma: if is prime and then or ).
An integer is prime when and its only positive divisors are and (Prime and composite integers: is prime when and its only positive divisors are and ); and a divisor of a nonzero satisfies (If and then and ; hence the set of divisors of a nonzero integer is bounded above by ).
Verification
The two products are correct: , , and with ; likewise , and .
, , and are prime, and they are pairwise distinct. Each exceeds ; and a positive divisor of such a number satisfies by [L8], so the candidates are the finitely many integers in that range, and each is settled by its remainder under [L5]: has only and as candidates; for the extra candidate gives ; for the extra candidates give remainders , , ; and for the extra candidates give remainders , , , , . In each case no divisor other than and the number itself survives.
The list is injective and consists of primes, and it contains every prime divisor of and of . Injectivity and primality are step 1.2. For the covering: if is prime and , repeated use of [L9] gives , or , and being a positive divisor of a prime with forces to be that prime; likewise forces .
By [L3] applied to with this list, the exponents in step 1.1 are the valuations: , , , .
By [L3] applied to : , , , .
Taking minima entrywise gives , and ; by [L3] the valuations of against this list are exactly those exponents, so has the valuation vector of and therefore equals it by [L4].
Taking maxima entrywise gives , and ; the same argument gives .
First check, the Euclidean algorithm. and with ; and with ; and with . By the uniqueness in [L5] these are the divisions of the descent, whose last nonzero remainder is , so by [L6], agreeing with step 4.1.
Second check, the product formula. and , and so ; this is [L7], agreeing with steps 4.1 and 4.2.
The factorisations, the valuation table, and both values of and are verified, and the two independent checks agree.
Remarks
-
The cross-check is the point of the example. The Euclidean algorithm: for and the remainder descent from terminates, and the last nonzero remainder is computes without ever mentioning a prime, and the exponent recipe computes it without ever performing a division; they return the same integer because For positive integers and and every prime : and ; so the exponent-wise greatest common divisor is the of the divisibility page and not a second notion proves the recipe identifies the of Common divisor, and the greatest common divisor , with the convention rather than defining a rival.
-
Which method is practical is a separate question. Factoring and is easy because they are small; for large integers the Euclidean algorithm is the only one of the two that runs, since no factorisation is needed. Nothing here claims anything about the cost of either procedure.
-
The exponent columns matter. and are what make the same list serve both numbers, and clause 2 of For and any injective list of primes containing every prime divisor of , one has ; the exponents are determined by , and for every prime outside the list is the statement that every prime off the list contributes as well.
is prime, and it is the only even prime: every even integer is composite
Example
Call an integer even when (Divisibility in : when for some integer ), where . Then:
- is prime (Prime and composite integers: is prime when and its only positive divisors are and );
- every even integer is composite.
So is the only even prime, and every other prime is odd.
Facts & Assumptions
Given: The integer .
is prime when and every positive divisor of is or ; an integer that is not prime is composite (Prime and composite integers: is prime when and its only positive divisors are and ).
Divisibility is reflexive; means for some (Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and , Divisibility in : when for some integer ).
The order on is total, antisymmetric and transitive and is compatible with addition (The integers form a totally ordered ring, Order on the integers); is a commutative ring (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).
is injective, preserves addition and order, and has as image exactly the nonnegative integers, with and (The naturals embed in the integers).
On : exactly when (Discreteness: is the immediate successor); (The natural numbers (von Neumann)); for every (Order on the natural numbers).
Verification
: is nonnegative and differs from by injectivity of . Adding gives , so .
There is no integer strictly between and : if then with , so and hence , because preserves the order.
Claim 1. Let be a positive divisor of . Since , [L2] gives , and gives , so by step 1.2.
Claim 2. Let with . Then , so ; and is a positive divisor of with (by step 1.1) and (since ).
The only integers with are and : if then , so by step 1.2 applied to , that is , and with antisymmetry gives . Both and do divide . Hence the only positive divisors of are and , and , so is prime.
So has a positive divisor other than and , hence is not prime; being greater than , it is composite.
Claims 1 and 2 are established, and together they say is the only even prime: an even prime satisfies , hence by step 3.1's argument, and is excluded because such an is composite by step 3.2; so .
Remarks
-
"Even" is defined here as divisibility by , not by a new notion of parity. That is Divisibility in : when for some integer applied at , so no second vocabulary is introduced, and the odd integers are exactly those with remainder under Division with remainder in : for and there are unique with and .
-
This is why parity sufficed for the -adic case elsewhere in the library. The published The -adic absolute value gives an ultrametric on , in which every triangle is isosceles and every point of a ball is a centre ↗ builds the -adic valuation from parity alone and records that the general -adic valuation needs primality and unique factorisation. At "not divisible by " is a single condition that the division algorithm decides; for a general prime the corresponding step is Euclid's lemma: if is prime and then or .
-
The smallest prime is , and there is no smaller one to miss. and are excluded by the clause of Prime and composite integers: is prime when and its only positive divisors are and , and negative integers by the same clause, so the classification here is complete rather than a convention about where to start.
No rational squares to or to , and none cubes to : three instances of the rational-root corollary
Example
Powers are the natural powers of Powers : natural exponents in a monoid and integer exponents in a group, with in the commutative monoid of the field (The rationals form a field, Field), and , , is the embedding of The integers embed in the rationals. There is no with
Each is an instance of A rational root of is an integer: if , , and is the image of , then is the image of an integer: such an would have to be for an integer , and the remaining work is to rule out the finitely many integer candidates by size, which is done below.
Facts & Assumptions
Given: The integers , , , , , and the rationals they name under .
If , , and , then for some (A rational root of is an integer: if , , and is the image of , then is the image of an integer).
is injective and preserves addition and multiplication (The integers embed in the rationals); is a field, so is a commutative monoid (The rationals form a field, Field, Semigroup and monoid, The rationals as equivalence classes of pairs of integers, Arithmetic on the rationals).
and in a monoid (Powers : natural exponents in a monoid and integer exponents in a group, with ); the exponent laws hold for natural exponents in a monoid (Exponent laws in a group: and for all , and when and commute).
; exactly when ; ; for (The absolute value of an integer, Absolute value in : ; exactly when ; ; ; ; and exactly when ).
is a commutative ring; its order is total, antisymmetric and transitive, is compatible with addition, and positives are closed under multiplication (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals, The integers form a totally ordered ring, Order on the integers, The integers have no zero divisors; multiplicative cancellation).
is injective and order preserving with image the nonnegative integers, , (The naturals embed in the integers); exactly when , and (Discreteness: is the immediate successor, The natural numbers (von Neumann), Order on the natural numbers).
Verification
, and every integer satisfies : with , so and preserves the order. Consequently implies for all integers , by applying this to .
Monotonicity of squaring and cubing on the nonnegative integers: if then and , since and have both factors nonnegative.
Suppose has . By [L1] with we get for some ; then , so by injectivity of .
Now , and . If then ; if then ; and if then by step 1.2. Since and force , and forces , no value remains, so no such exists.
Suppose . As in step 1.3, with , so . Now , , , and gives ; none of , , is , and the four ranges are exhaustive by step 1.1. So no such exists.
Suppose . As before with . If then , since is a product of three nonpositive factors and is therefore nonpositive. So ; and , while gives by step 1.2. No value remains, so no such exists.
The three claims are established.
Remarks
-
A fourth instance was already in the library, proved differently. The published FALSE: some rational number squares to 2 refutes "some rational number squares to " on the construction pages, by parity alone and long before primes were available here. The case , of A rational root of is an integer: if , , and is the image of , then is the image of an integer gives the same conclusion from Euclid's lemma instead, and the two agree.
-
Nothing here asserts that a real square root of exists. The statement is entirely about : no rational squares to . That contains such a number is a separate fact, proved elsewhere in the library from completeness, and it is not used or needed above.
-
The size argument is the whole of the remaining work. Once the corollary has reduced the question to integers, each case is a finite check, because squaring and cubing are monotone on the nonnegative integers and the candidate values overshoot immediately.
For every there are consecutive composite integers: with , each of is composite
Example
Let , write for the embedding of The naturals embed in the integers, and put
the finite product of The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity taken in the commutative monoid of is a commutative monoid whose group of units is ; equivalently holds exactly for and ; so is the product of the integers , and when .
Then is composite (Prime and composite integers: is prime when and its only positive divisors are and ) for every . Those integers are , consecutive because consecutive values of change the summand by . So for every there is a run of consecutive composite integers.
Facts & Assumptions
Given: and .
and ; the value depends only on the entries named (The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity, is a commutative monoid whose group of units is ; equivalently holds exactly for and , Semigroup and monoid).
that is not prime is composite; is prime when and its only positive divisors are and (Prime and composite integers: is prime when and its only positive divisors are and ).
Divisibility is reflexive and transitive and is linear: and give ; means for some (Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and , Divisibility in : when for some integer ).
Induction on (The principle of mathematical induction).
is injective, preserves addition, multiplication and order, and has as image the nonnegative integers, with and (The naturals embed in the integers).
On : and , so ; addition is commutative (Addition of natural numbers, Addition is commutative, The natural numbers (von Neumann)); means for some (Order on the natural numbers); exactly when (Discreteness: is the immediate successor); and , with exactly when (On the order is membership: ).
is a commutative ring; its order is total, antisymmetric and transitive, is compatible with addition, and positives are closed under multiplication (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals, The integers form a totally ordered ring, Order on the integers).
Verification
in , and every integer satisfies : with , so and preserves the order.
Fix and put . Then : since we have , so for some , and the splitting law gives , while . Rearranging by associativity and commutativity, for an integer .
For every , , where . Indeed in gives ; and in because , so .
Hence , by linearity applied to and .
. Let be the set of with . Then , the empty product being . If then has both factors , so the product is positive and hence by step 1.1. By induction , so .
, because ; in particular and .
So is a positive divisor of with and , and ; therefore is not prime, and being greater than it is composite.
As runs over the integers run over , each obtained from the previous by adding , since . All of them are composite by step 5.1.
Remarks
-
The factorial is available at this point, and is deliberately not used. The factorial and the falling factorial , defined by recursion in defines by recursion in , on a page this one may cite. The real-valued copy in For every real , ↗ is a separate object and is already declared as a forward reference. Neither is a factorial on : naming as one would create a dictionary obligation this page cannot discharge. The finite product of The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity in does everything needed, and is only in the informal sense.
-
The case is real and vacuous. The empty product is , there is no , and the claim asserts nothing — correctly, since a run of consecutive composites is no claim at all.
-
This says the gaps are unbounded and nothing about where the primes are. It is entirely compatible with Euclid's theorem: for every and every list of primes there is a prime not among ; consequently the set of primes is not finite: primes keep coming, and yet one can always find a stretch of any prescribed length containing none. No claim is made here about how large must be, or about the smallest run of a given length.
In the multiplicative monoid of positive integers one more than a multiple of , the element has two genuinely different factorisations into irreducibles, and
Statement refuted
Refuted claim. Let be a commutative monoid (Semigroup and monoid) whose underlying set consists of integers , contains , and is closed under the multiplication of (Binary operation on a set; associativity, commutativity, and a subset closed under the operation, Left identity, right identity, and two-sided identity for a binary operation). Call with irreducible in when there are no with , and . Then factorisation into irreducibles of is unique up to order: if
with every and irreducible in , then and for every , for some (The symmetric group : the bijections of a set under composition, The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity).
Witness. Take
with the multiplication of (Divisibility in : when for some integer ). Then , and are irreducible in , and
two lists of irreducibles of that no permutation matches, since and .
Numerals. For the symbol inside means , the embedding of The naturals embed in the integers.
Facts & Assumptions
Given: The set above and the integers , , , , .
A monoid is a set with an associative binary operation and a two-sided identity, and is commutative when the operation is (Semigroup and monoid, Binary operation on a set; associativity, commutativity, and a subset closed under the operation, Left identity, right identity, and two-sided identity for a binary operation).
is a commutative monoid ( is a commutative monoid whose group of units is ; equivalently holds exactly for and ); is a commutative ring with and distributivity (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).
means for some ; divisibility is reflexive and transitive and is linear (Divisibility in : when for some integer , Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and ).
For and there is exactly one pair with and , and exactly when (Division with remainder in : for and there are unique with and ).
Every integer has a prime divisor (Every integer has a prime divisor; indeed the least divisor of that exceeds is prime); a prime satisfies and has only and as positive divisors (Prime and composite integers: is prime when and its only positive divisors are and ).
If is prime and then or (Euclid's lemma: if is prime and then or ).
A product of two nonzero integers is nonzero, and with gives (The integers have no zero divisors; multiplicative cancellation).
The order on is total, antisymmetric and transitive, is compatible with addition, and positives are closed under multiplication (The integers form a totally ordered ring, Order on the integers); is injective and order preserving with image the nonnegative integers (The naturals embed in the integers, The natural numbers (von Neumann), Order on the natural numbers, Discreteness: is the immediate successor).
Counterexample
in , and every integer satisfies : with , so because preserves the order. Consequently implies .
is a commutative monoid under the multiplication of . It contains , since and . It is closed: if and then , so ; and give . Associativity, commutativity and the identity are inherited from .
, , and lie in : , , and , and all four exceed . And : , whose remainder is nonzero, so by [L5].
Every with satisfies . Indeed and for some , so and hence by step 1.1, giving and .
is prime. It exceeds ; a positive divisor of satisfies by [L6] and step 1.1, and the intermediate candidates are ruled out by their remainders: , and . So the only positive divisors are and .
and are irreducible in . If or with both , then and by step 2.1, so by monotonicity of multiplication by a positive factor; but .
is irreducible in . Suppose with and . Each of and has a prime divisor by [L7]; if then , so by [L8], and being a positive divisor of the prime with forces . Hence , and symmetrically ; write , .
Then , and , so by cancellation. Since and we get , hence ; likewise ; and with both forces , since would give . So , contradicting from step 1.3.
The two factorisations. and , and by [L3] the lists and of length have and . All four entries are irreducible in by steps 3.1 and 4.1.
No permutation matches them. For the value is or , and differs from both. So the refuted claim fails for at the element , with : the lists have the same length and still no permutation carries one to the other.
Remarks
-
Existence is not the issue; uniqueness is. Every element of greater than does factor into irreducibles of , by exactly the descent that proves Every integer is a finite product of primes: there are and a list of primes with , the case being the empty product in : a smallest factor above is irreducible, and the quotient is smaller. What fails in is the second half of The fundamental theorem of arithmetic: every integer is a product of primes, and the factorisation is unique up to order — if with every and prime, then and for some .
-
What fails is Euclid's lemma. In , is irreducible and is a product of two elements of that divides inside , since ; yet and , because and have nonzero remainders. So the analogue of Euclid's lemma: if is prime and then or is false in , and by For an integer : is prime if and only if, for all integers and , implies or that property, and not indecomposability, is what unique factorisation actually needs.
-
The example needs nothing beyond and divisibility. The classical witness for this phenomenon uses algebraic integers, which are not available at this point in the reading order; is a subset of closed under multiplication, and every claim above is a statement about integers.
If were admitted as a prime, uniqueness would fail: , lists of different lengths that no permutation matches
Statement refuted
Refuted claim. The clause in Prime and composite integers: is prime when and its only positive divisors are and is an arbitrary convention: replacing it by would leave The fundamental theorem of arithmetic: every integer is a product of primes, and the factorisation is unique up to order — if with every and prime, then and for some true as stated.
Write prime for the modified notion — and the only positive divisors of are and — so that is prime and every prime is prime. The claim under refutation is that for lists of primes, still forces and for some (The symmetric group : the bijections of a set under composition, The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity).
Witness. The lists , and , of lengths , and , all consist of primes and all have product . So fails already between the first two, and no permutation can exist because the index sets have different sizes.
Numerals. For the symbol inside means , the embedding of The naturals embed in the integers.
Facts & Assumptions
Given: The integers , , and , and the three lists above.
is prime when and its only positive divisors are and (Prime and composite integers: is prime when and its only positive divisors are and ).
exactly when or ( is a commutative monoid whose group of units is ; equivalently holds exactly for and ); means for some (Divisibility in : when for some integer ).
For and there is exactly one pair with and , and exactly when (Division with remainder in : for and there are unique with and ).
If with then ; equivalently there is no bijection between two distinct natural numbers (The pigeonhole principle on , Equinumerous sets, and , Injection, surjection, bijection).
A permutation of the von Neumann natural is a bijection (The symmetric group : the bijections of a set under composition); (On the order is membership: , The natural numbers (von Neumann)).
is a commutative ring with ; its order is total, antisymmetric and transitive (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals, The integers form a totally ordered ring, Order on the integers); is injective and order preserving with image the nonnegative integers (The naturals embed in the integers, Discreteness: is the immediate successor, Order on the natural numbers).
Every is a finite product of primes (Every integer is a finite product of primes: there are and a list of primes with , the case being the empty product).
Counterexample
, and every integer satisfies : with , so since preserves the order.
All three products are . By [L2], ; ; and .
is prime: , and a positive divisor of satisfies , hence or by [L3], and positivity leaves , which is itself.
and are prime, hence prime. Each exceeds ; a positive divisor of such an satisfies by [L4] and step 1.1, and the intermediate candidate for is settled by , whose remainder is nonzero. For there is no intermediate candidate.
The three lists consist of primes, by steps 2.1 and 2.2, and their lengths are , and , which are pairwise distinct natural numbers.
So the uniqueness clause fails at its very first assertion: taking and gives with , so "" is false.
Nor could the clause be rescued by dropping "" and asking only for a bijection: a permutation in the sense of [L7] is a bijection between index sets, and by [L6] no bijection exists between the distinct naturals and .
Existence, by contrast, survives the change: is still a factorisation into primes, and every still has one by [L9], since every prime is prime. So it is precisely the uniqueness half that forces the convention .
Remarks
-
The failure is not a technicality about lists. Under the modified definition an integer would have infinitely many factorisations, one for each number of padding factors , so no formulation of uniqueness survives: neither "the same length", nor "the same multiset of factors", nor "the same exponent vector", since would carry an arbitrary exponent.
-
Existence is what makes the convention a genuine choice rather than a necessity. Both notions give factorisations of every , and the difference shows up only when one asks whether the factorisation is unique. That is exactly the asymmetry Prime and composite integers: is prime when and its only positive divisors are and appeals to when it excludes .
-
is excluded for a different reason. It is not that would break uniqueness; it is that has every positive integer as a divisor, so it fails the divisor clause outright, and a product containing the factor is rather than the integer being factored.
FALSE: for every finite list of distinct primes, is prime
Statement
False claim: for every and every injective list of primes (Prime and composite integers: is prime when and its only positive divisors are and , Injection, surjection, bijection),
is prime, the product being that of The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity in the commutative monoid of is a commutative monoid whose group of units is ; equivalently holds exactly for and .
The true statement is Euclid's theorem: for every and every list of primes there is a prime not among ; consequently the set of primes is not finite, which concludes only that this integer has a prime divisor not on the list — never that it is itself prime.
Witness: and . Here and
so has the positive divisor , which is neither nor : it is composite.
Numerals. For the symbol inside means , the embedding of The naturals embed in the integers.
Facts & Assumptions
Given: The integers .
is prime when and its only positive divisors are and ; an integer that is not prime is composite (Prime and composite integers: is prime when and its only positive divisors are and ).
Every integer has a prime divisor, and the least divisor of exceeding is prime (Every integer has a prime divisor; indeed the least divisor of that exceeds is prime).
For and there is exactly one pair with and , and exactly when (Division with remainder in : for and there are unique with and ).
means for some ; divisibility is transitive (Divisibility in : when for some integer , Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and ).
is a commutative ring; its order is total, antisymmetric and transitive, is compatible with addition, and positives are closed under multiplication; a product of two nonzero integers is nonzero (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals, The integers form a totally ordered ring, Order on the integers, The integers have no zero divisors; multiplicative cancellation).
is injective and order preserving with image the nonnegative integers, , (The naturals embed in the integers); exactly when and (Discreteness: is the immediate successor, The natural numbers (von Neumann), Order on the natural numbers).
Refutation
, and every integer satisfies ; consequently implies .
: indeed and , and . So .
A composite integer has a prime divisor with . Let be the least divisor of exceeding , which is prime by [L3], and write . Then , since and ; and , since would make prime. So , and , so is a divisor of exceeding and minimality gives ; multiplying by gives .
and , and ; also . So has a positive divisor other than and itself, hence is not prime, and being greater than it is composite.
, , , , and are prime. Each exceeds , so by step 2.1 it suffices to check the primes with at most the number. For and there is none, since the least prime is and . For and only qualifies, and , . For and only and qualify, since , and , , , . In every case no such divisor exists, so none of the six is composite, and each is therefore prime.
The six are pairwise distinct, and the list is therefore an injective list of primes of length .
: applying [L2] six times, , , , , and . Hence the integer named by the claim is .
Steps 4.1, 5.1 and 2.2 exhibit an injective list of primes whose product plus is composite: the claim is false.
Remarks
-
Re-reading the true theorem shows it never says otherwise. Euclid's theorem: for every and every list of primes there is a prime not among ; consequently the set of primes is not finite takes , applies Every integer has a prime divisor; indeed the least divisor of that exceeds is prime to get a prime divisor of , and then shows is not among the . Primality of is never claimed and is never used.
-
The promise the theorem does make is kept here. is prime — by step 2.1 the only candidates are the primes with , that is since , and , , , all have nonzero remainder — and is not among , exactly as Euclid's theorem: for every and every list of primes there is a prime not among ; consequently the set of primes is not finite promises. Nothing is claimed here about .
-
Smaller lists do not refute the claim. For with the first primes in order, the six values , , , , and are classically known to be prime; this item does not verify that, and it is beside the point — one witness suffices, and no amount of small cases could establish a universal claim.
FALSE: is prime for every natural number
Statement
False claim: for every the integer
is prime (Prime and composite integers: is prime when and its only positive divisors are and ), where is the embedding of The naturals embed in the integers and the square is the natural power of Powers : natural exponents in a monoid and integer exponents in a group, with in the commutative monoid of is a commutative monoid whose group of units is ; equivalently holds exactly for and . As usual a numeral inside means .
Witness: . Here
so has the positive divisor , which is neither nor : it is composite, not prime.
The failure is structural rather than accidental: , so the whole expression is .
Facts & Assumptions
Given: The integers , and .
is prime when and its only positive divisors are and ; an integer that is not prime is composite (Prime and composite integers: is prime when and its only positive divisors are and ).
is a commutative ring: multiplication is associative and commutative, , and multiplication distributes over addition (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).
The order on is total, antisymmetric and transitive and is compatible with addition (The integers form a totally ordered ring, Order on the integers); is injective and order preserving with image the nonnegative integers, , (The naturals embed in the integers, Discreteness: is the immediate successor, The natural numbers (von Neumann), Order on the natural numbers).
Refutation
, since is nonnegative and differs from by injectivity of .
At the expression equals . By [L2], , and distributivity gives ; adding and using distributivity again, .
Arithmetically , , , and ; so the value at is .
, since ; and .
, because ; and , because ; and .
So has a positive divisor other than and itself, hence is not prime; being greater than it is composite. The claim therefore fails at .
Remarks
-
Checking small cases proves nothing here, and that is the point of the item. The values at are classically known to be prime — this is Euler's polynomial, and the fact is not verified above, since it is not needed for a refutation. A claim that survives forty consecutive tests and fails at the forty-first is exactly the situation a universal statement has to be proved out of, not tested out of.
-
The witness is not isolated. fails for the same structural reason: , again divisible by and again neither nor itself. What both cases exploit is that divides the constant term, so it divides the whole value whenever it divides .
-
The refuted claim is about , which contains . At the value is , so the claim is not vacuous at its first index; the witness is needed.
FALSE: every Fermat number is prime
Statement
Powers are the natural powers of Powers : natural exponents in a monoid and integer exponents in a group, with in the commutative monoid of is a commutative monoid whose group of units is ; equivalently holds exactly for and , and is the embedding of The naturals embed in the integers; a numeral inside means .
False claim: every Fermat number is prime (Prime and composite integers: is prime when and its only positive divisors are and ). That is: for every which is a power of two — meaning for some — the integer
is prime.
Witness: , so and . The integer is not prime, because
while is neither nor .
Euler's verification is used below rather than a ten-digit division: is simultaneously and , and those two readings together force to divide . Congruence notation is not available at this point in the library, so every step is written as a divisibility statement with an explicit witness.
Facts & Assumptions
Given: The integers , , and the powers named below.
is prime when and its only positive divisors are and ; an integer that is not prime is composite (Prime and composite integers: is prime when and its only positive divisors are and ).
Exponent laws for natural exponents in a monoid: , , and when (Exponent laws in a group: and for all , and when and commute).
means for some ; divisibility is reflexive and linear, so and give (Divisibility in : when for some integer , Divisibility is reflexive and transitive on , and is linear: if and then for all integers ; also implies , and ).
is a commutative ring: addition and multiplication are associative and commutative, , multiplication distributes over addition, and every has an additive inverse; we write for (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).
The order on is total, antisymmetric and transitive, is compatible with addition, and positives are closed under multiplication (The integers form a totally ordered ring, Order on the integers); is injective, preserves addition, multiplication and order, and has as image the nonnegative integers, with , (The naturals embed in the integers, Discreteness: is the immediate successor, The natural numbers (von Neumann), Order on the natural numbers, Addition of natural numbers).
Induction on (The principle of mathematical induction).
Refutation
, and every integer satisfies : with , so because preserves the order.
The small powers, by repeated doubling from [L2]: , , , , , , , , , . Also and .
for every : the set of such contains , since , and if then has both factors , so the product is positive and hence by step 1.1. Induction finishes it.
and : indeed and , while .
Put , so and ; hence .
: by [L3], , and , so . Hence ; also and , and .
, by expanding the right side with distributivity: the terms , and cancel. Hence .
, using [L3] with and commuting and . So .
From step 2.2, , so , using from [L3].
Now , and by steps 5.1 and 6.1; subtracting, linearity gives .
So has a positive divisor other than and itself, hence is not prime, and being greater than it is composite. Since by step 1.2, the natural number is a power of two and the claim fails there.
Remarks
-
The first five Fermat numbers are prime, which is why the claim was believed. For the values are , , , and , all classically known to be prime; that is not verified here, since the refutation needs only the single witness at . Fermat conjectured primality for all ; Euler produced the divisor .
-
Why the two readings of are both needed. is what makes divide , and is what converts that into a statement about . Either alone says nothing.
-
Nothing is claimed about the cofactor. The refutation needs only that is a divisor of lying strictly between and ; the complementary factor is neither computed nor analysed here, and its primality is not asserted.
Sources
Standard references
Recommended treatments; not extraction sources.
- Fundamental theorem of arithmetic (Wikipedia)
- P-adic valuation (Wikipedia)
- Prime number (Wikipedia)
- Parity (mathematics) (Wikipedia)
- Old Dominion University: Two is the only even prime
- Rational root theorem (Wikipedia)
- Square root of 2 (Wikipedia)
- Wichita State University notes: Logic and proofs
- Michigan State University Math 310 course notes
- University of Minnesota Duluth number theory solutions
- Prime gap (Wikipedia)
- Harvey Mudd College Math Fun Facts: Gaps in primes
- Hilbert number (Wikipedia)
- San Diego State University notes: Introduction to factorisation
- Janssen and Lindsey, Rings with Inquiry: Primes and Factorization
- Euclid number (Wikipedia)
- Euclid's theorem (Wikipedia)
- Discrete mathematics notes: Prime numbers and Euclid's argument
- Formula for primes (Wikipedia)
- Lucky numbers of Euler (Wikipedia)
- Purdue University MA 341 Lecture 2
- Fermat number (Wikipedia)
- Millersville University notes: Fermat numbers