There are infinitely many prime numbers.
Let S be any finite set of prime numbers. Let
Then so is divisible by some prime . Now , so . This implies that . Therefore, S cannot be the set of all primes. Since no finite set of primes contains all primes, there must be infinitely many primes.
HW 19
Ben Finch
E 19.1
a) 27 =
b)
c) 60 =
E 19.2
Let be prime and let .
P(n): If divides any product of integers, then divides one of those integers.
Base cases:
P(1): If then for some .
P(2): If then or by Theorem 19.5.
Inductive step:
Assume . We aim to show that . We find
By assumption . So by theorem 19.5, or .
Thus by mathematical induction, P(n) is true.
E 19.3 Proof.
Let and . Choose to be the smallest divisor of greater than 1. Assume by way of contradiction that is prime. Then by theorem 19.3 there exist integers such that . Then , and and . Thus d is not the smallest divisor of . Herein lies the contradiction. Hence is prime.
E 19.4
a) Proof.
Let every prime number is congruent to either 1 or -1 modulo 3, . (3 is the exception).
Consider an arbitrary prime number . Any integer can be written in one of the three cases:
( is a multiple of ). If , then is not a prime number (except for ), because it can be divided by without remainder.
( leaves a remainder of when divided by ). If , then is congruent to modulo .
( leaves a remainder of when divided by ). This is equivalent to if modulated by 3. If , then is congruent to modulo .
for some integer .
Hence, with only one exception (), every prime number is congruent to either or modulo .
b) Proof.
Base Case:
When , we have one number . Since we assume each , we know that .
Inductive Step:
Now, we assume that the proposition is true for some , or in other words .
We want to prove that the proposition is true for .
Consider the product of numbers, . We know from our inductive hypothesis that the product .
We find:
By the inductive assumption, we know that , so we can replace with 1 in the above equation:
Therefore, .
Hence, by mathematical induction, the proposition is true for all .
c) Proof.
Let and . We aim to prove that is divisible by some prime such that . Assume by way of contradiction that does not have some prime factor such that . From part a, we know that every prime factor is either 1 or -1 modulo 3, or . We can consider two cases for the prime factors of .
Suppose all prime factors of are congruent to 1 modulo 3. If all prime factors are of the form for some integer , then their product will also be of the form for some integer , per part b. However, , which contradicts this result.
Suppose one of the prime factors is . Then is a multiple of 3 or . If is a multiple of 3, then is not prime, which is a contradiction. If , then , which is a contradiction.
Thus in all cases, there is a contradiction. Hence is divisible by some prime such that .
d) Let be any finite set of prime numbers. Let
Then so is divisible by some prime by Theorem 19.7.
Using the division algorithm to divide by any prime leaves a remainder of 1, so no prime in divides . Hence, must be a prime that is not in . Therefore, cannot be the set of all primes. Since no finite set of primes consists of all the primes, there must be infinitely many primes that are congruent to .
E 19.5
a) Proof.
Let every prime number is congruent to either 1 or -1 modulo 4, . (2 is the exception).
Consider an arbitrary prime number . Any integer can be written in one of the four cases:
( is a multiple of ). If , then is not a prime number (except for ), because it can be divided by without remainder.
( leaves a remainder of when divided by ). If , then is congruent to modulo .
( leaves a remainder of when divided by ). If , then is not a prime number because it can be divided by without remainder.
( leaves a remainder of when divided by ). This is equivalent to if modulated by 4. If , then is congruent to modulo .
for some integer .
Hence, with only one exception (), every prime number is congruent to either or modulo .
b) Proof.
Base Case:
When , we have one number . Since we assume each , we know that .
Inductive Step:
Now, we assume that the proposition is true for some , or in other words .
We want to prove that the proposition is true for .
Consider the product of numbers, . We know from our inductive hypothesis that the product .
We find:
By the inductive assumption, we know that , so we can replace with 1 in the above equation:
Therefore, .
Hence, by mathematical induction, the proposition is true for all .
c) Proof.
Let and . We aim to prove that is divisible by some prime such that . Assume by way of contradiction that does not have some prime factor such that . From part a, we know that every prime factor is either 1 or -1 modulo 4, or . We can consider two cases for the prime factors of .
Suppose all prime factors of are congruent to 1 modulo 4. If all prime factors are of the form for some integer , then their product will also be of the form for some integer , per part b. However, , which contradicts this result.
Suppose one of the prime factors is . Then is a multiple of 2 or . If is a multiple of 2, then is not prime, which is a contradiction. If , then , which is a contradiction.
Thus in all cases, there is a contradiction. Hence is divisible by some prime such that .
d) Proof. Let be any finite set of prime numbers. Let
Then so is divisible by some prime by Theorem 19.7.
Using the division algorithm to divide by any prime leaves a remainder of 1, so no prime in divides . Hence, must be a prime that is not in . Therefore, cannot be the set of all primes. Since no finite set of primes consists of all the primes, there must be infinitely many primes that are congruent to .