Discrete Structures
§10 Strong Induction, Divisibility, and Primes
6 min read
Strong induction lets the current case use every earlier case, not just the one immediately before it. That extra reach is useful when an integer breaks into factors of unpredictable sizes.
Strong induction
Let be defined for every integer . A proof by strong induction has two parts:
- prove the base case ;
- for an arbitrary , assume for every integer with , then prove .
The strong induction hypothesis is
The first few links look like
“All earlier cases” means earlier cases inside the theorem's stated domain. It does not include itself. Ordinary and strong induction prove the same kinds of natural-number statements, but strong induction can make a proof much more direct.
Divisibility
For integers and , we say that divides , written , when is an integer multiple of :
The expression is a proposition: it is true or false. It is not a fraction. When , a quotient gives an equivalent test:
The condition matters because division by zero is undefined, while the original definition still handles zero.
Examples include
because , while no integer multiplied by equals .
For every integer ,
Indeed, and . If , then for some integer . Conversely, for every integer , so .
Three basic divisibility properties
Let . Each property follows directly from the definition.
Multiplying a divisible number
If , write for some . Then
Since , we have
Adding or subtracting divisible numbers
If and , write and for integers . Then
Since ,
Transitivity
If and , write and . Then
Therefore
None of these proofs requires , , or to be nonzero.
Prime and composite integers
An integer is prime when its only positive divisors are and . The first primes are
An integer that is not prime is composite. Equivalently, it has a factorization
The integers and are neither prime nor composite.
Every integer at least two has a prime divisor
We prove by strong induction that every integer has a prime divisor.
Base case. Since and is prime, the claim holds at .
Strong induction hypothesis. Let and assume every integer with has a prime divisor.
There are two cases.
-
If is prime, then , so itself is a prime divisor.
-
If is composite, write with . The induction hypothesis applies to , so for some prime and integer . Therefore
Since , the prime divides .
Both cases establish the claim for . Thus every integer has a prime divisor.
This is not yet the Fundamental Theorem of Arithmetic. Unique prime factorization is later material.
Goldbach's conjecture
A conjecture is a statement believed to be true but not yet proved. Goldbach's conjecture says:
Every even integer greater than is the sum of two primes.
For example,
Examples support the pattern but do not prove it. Goldbach's conjecture remains open.
Euclid's theorem: there are infinitely many primes
Suppose, for contradiction, that all primes form a finite list
Define
The integer is greater than , so it is prime or composite.
Case 1: is prime. It is larger than every , so it is a prime missing from the supposedly complete list. This is a contradiction.
Case 2: is composite. By the prime-divisor theorem, some prime divides . Since the list supposedly contains every prime, for some , and therefore
We also have . The difference property gives
so . But a prime is at least and cannot divide . This is another contradiction.
Both cases contradict the assumption, so there are infinitely many primes. The proof does not claim that is always prime; if it is composite, one of its prime divisors is enough.
Prime gaps
Prime numbers are not evenly spaced.
Two primes whose difference is are twin primes, such as
The Twin Prime Conjecture says that infinitely many twin-prime pairs exist. It remains open.
In the other direction, gaps between consecutive primes can be arbitrarily large.
For every natural number , there are consecutive primes such that .
For , consider the consecutive integers
For each , the integer divides both and , so
Also , so this divisor is nontrivial. Every number in the block is therefore composite.
Let be the greatest prime below the block and the least prime above it. Such a exists because Euclid's theorem makes the primes unbounded. No prime lies between and , so they are consecutive. Moreover,
and hence
For or , the consecutive primes and already work.
The Prime Number Theorem
Define the prime-counting function
The Prime Number Theorem describes its long-run growth:
The symbol means that the ratio tends to :
This is an asymptotic approximation, not an exact equality. The theorem is proved mathematics, but its proof is beyond the scope of this course.
0 reads
Last edited