SIX PROOFS OF THE INFINITUDE OF PRIMES

Similar documents
Proofs of the infinitude of primes

Prime and Perfect Numbers

Fundamentals of Pure Mathematics - Problem Sheet

Notation Index. gcd(a, b) (greatest common divisor) NT-16

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.

Chapter 5.1: Induction

Elementary Algebra Chinese Remainder Theorem Euclidean Algorithm

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

On the Cardinality of Mersenne Primes

Mathematical Foundations of Public-Key Cryptography

Introduction to Number Theory

a the relation arb is defined if and only if = 2 k, k

MATH 310 Course Objectives

MATH 361: NUMBER THEORY FOURTH LECTURE

Chuck Garner, Ph.D. May 25, 2009 / Georgia ARML Practice

With Question/Answer Animations. Chapter 4

Chapter 1. Number of special form. 1.1 Introduction(Marin Mersenne) 1.2 The perfect number. See the book.

Numbers, Groups and Cryptography. Gordan Savin

FROM GROUPS TO GALOIS Amin Witno

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z:

History of Mathematics

A Few Primality Testing Algorithms

PRACTICE PROBLEMS: SET 1

SQUARE PATTERNS AND INFINITUDE OF PRIMES

Today we are going to have fun with integers, primes, fractions and infinite series. Turn the page if interested!

Corollary 4.2 (Pepin s Test, 1877). Let F k = 2 2k + 1, the kth Fermat number, where k 1. Then F k is prime iff 3 F k 1

Wednesday, February 21. Today we will begin Course Notes Chapter 5 (Number Theory).

Foundations Revision Notes

Beautiful Mathematics

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

Part IA Numbers and Sets

The number of ways to choose r elements (without replacement) from an n-element set is. = r r!(n r)!.

Proof that Fermat Prime Numbers are Infinite

Discrete mathematics I - Number theory

Summary Slides for MATH 342 June 25, 2018

God may not play dice with the universe, but something strange is going on with the prime numbers.

Elementary Number Theory Review. Franz Luef

Math 4400 First Midterm Examination September 21, 2012 ANSWER KEY. Please indicate your reasoning and show all work on this exam paper.

1 Overview and revision

[Part 2] Asymmetric-Key Encipherment. Chapter 9. Mathematics of Cryptography. Objectives. Contents. Objectives

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

Wilson s Theorem and Fermat s Little Theorem

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Some multiplicative arithmetical functions

The primitive root theorem

0 Sets and Induction. Sets

MATH 205 L01 W 2006 MIDTERM AND SOLUTIONS

Math 118: Advanced Number Theory. Samit Dasgupta and Gary Kirby

Many proofs that the primes are infinite J. Marshall Ash 1 and T. Kyle Petersen

As the title suggests, we tackle three famous theorems in this chapter. 4.1 The Fundamental Theorem of Arithmetic

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

Applied Cryptography and Computer Security CSE 664 Spring 2017

To hand in: (a) Prove that a group G is abelian (= commutative) if and only if (xy) 2 = x 2 y 2 for all x, y G.

Modular Arithmetic and Elementary Algebra

CSE 1400 Applied Discrete Mathematics Proofs

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

Basic Definitions: Group, subgroup, order of a group, order of an element, Abelian, center, centralizer, identity, inverse, closed.

Introduction Integers. Discrete Mathematics Andrei Bulatov

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,

ON THE ELEMENTS OF THE CONTINUED FRACTIONS OF QUADRATIC IRRATIONALS

Contribution of Problems

Elementary Number Theory

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

LECTURE NOTES IN CRYPTOGRAPHY

AN EASY GENERALIZATION OF EULER S THEOREM ON THE SERIES OF PRIME RECIPROCALS

7. Prime Numbers Part VI of PJE

SF2729 GROUPS AND RINGS LECTURE NOTES

STUDY IN EGYPTIAN FRACTIONS

A CONSTRUCTION OF ARITHMETIC PROGRESSION-FREE SEQUENCES AND ITS ANALYSIS

Introductory Mathematics

Homework 3, solutions

CMSC Discrete Mathematics SOLUTIONS TO SECOND MIDTERM EXAM November, 2005

p = This is small enough that its primality is easily verified by trial division. A candidate prime above 1000 p of the form p U + 1 is

MATH 152 Problem set 6 solutions

In Defense of Euclid. The Ancient Greek Theory of Numbers

Homework #2 solutions Due: June 15, 2012

2.3 In modular arithmetic, all arithmetic operations are performed modulo some integer.

Chapter 0. Introduction: Prerequisites and Preliminaries

Math 412: Number Theory Lecture 3: Prime Decomposition of

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

Part IA Numbers and Sets

Hence, the sequence of triangular numbers is given by., the. n th square number, is the sum of the first. S n

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

Chapter 2 - Relations

A. Algebra and Number Theory

Chapter 2. Divisibility. 2.1 Common Divisors

586 Index. vertex, 369 disjoint, 236 pairwise, 272, 395 disjoint sets, 236 disjunction, 33, 36 distributive laws

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

7.2 Applications of Euler s and Fermat s Theorem.

Discrete Mathematics and Probability Theory Summer 2014 James Cook Note 5

A Guide to Arithmetic

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

Commutative Rings and Fields

Transcription:

SIX PROOFS OF THE INFINITUDE OF PRIMES ALDEN MATHIEU 1. Introduction The question of how many primes exist dates back to at least ancient Greece, when Euclid proved the infinitude of primes (circa 300 BCE). Later mathematicians improved the efficiency of identifying primes and provided alternative proofs for the infinitude of primes. We consider 6 such proofs here, demonstrating the variety of approaches. We follow Ronan O Gorman s presentation of the material from [1], including a proof of Lagrange s Theorem. 2. Infinitude of Primes In the proofs below, we denote the set of prime numbers P = {2, 3, 5,...}. We also use two key facts: 2.1. First Fact. The set of natural numbers N = {1, 2, 3,...} is unbounded, because there is a natural ordering on N and we can always add 1 to the largest n N to generate an even larger one. 2.2. Second Fact. Prime factorization is unique. That is, for all natural numbers n ±1, we can uniquely represent n as the product of primes: n = p k1 1 pk2 2 pkr r, p i P, k i Z and k i 0, i. The below proofs consist of repackaging these two facts increasingly cleverly, observed O Gorman. 3. Euclid (300 BCE) Euclid included this proof in his Elements (Book IX, Proposition 20). Of course, that was in Greek. Theorem 3.1. The set of primes is infinite. Proof. Assume there exists finitely many primes. That is, P = {p 1, p 2,, p r } for r <. Consider the product π = p 1 p r and using our First Fact, add 1: π = p 1 p r + 1. By the Second Fact, we can factorize π into primes. So there exists q P such that q π, and thus q also divides p 1 p r. Thus, q 1 = q = 1. But then q / P, a contradiction. So a finite set cannot contain all primes. 4. Goldbach (1742) Goldbach follows a similar approach, while making more specific demands on the form of the prime. Date: 19 September 2018. 1

2 ALDEN MATHIEU 4.1. Fermat numbers. We define a Fermat number to be of the form F n = 2 2n +1 for n = 0, 1, 2,... Goldbach noted that this form means all Fermat numbers are relatively prime. We prove this below. Theorem 4.1. All Fermat numbers are relatively prime. Proof. Assume there exists q P and let F k and F n be Fermat numbers. If q F k and q F n (k < n), then q 2. Hence, q = 1 or 2 (by our Second Fact). But it is clear on inspection that all Fermat numbers are odd, so q 2. Thus, q = 1 and F k, F n are relatively prime. The following proof was omitted from O Gorman s presentation for time but we include it here for completeness. Theorem 4.2. We can generate Fermat numbers using the recursion (n 1). Proof. We prove the recursion by induction on n. For n = 1, F 0 = 3, F 1 2 = 3 = F 1 = 5. Thus we have, by arithmetic and substitution, n n 1 F k = ( F k )F n = ((2 2n + 1) 2)(2 2n + 1) = (2 2n 1)(2 2n + 1) = 2 2n+1 1 = (2 2n+1 + 1) 2 = F n+1 2 n 1 F k = F n 2 It follows immediately that since the only common divisor any of them share is q = 1, there are infinitely many primes. 5. Mersenne Primes Similar to the two previous proofs, we consider prime Mersenne numbers, named for the 17th-century friar Marin Mersenne who studied them. We first state and prove Lagrange s Theorem, which will be used in the proof regarding Mersenne primes. Theorem 5.1 (Lagrange s Theorem). If G is a finite multiplicative group and U G a subgroup, then the order of U divides the order of G. Proof. Consider the binary relation a b : ba 1 U. We confirm it is a valid equivalence relation: Reflexive a a = aa 1 U = e U, where e indicates the multiplicative identity, by definition of a subgroup. Symmetric If a b = ba 1 U, then (ba 1 ) 1 U because the subgroup is closed under taking inverses. b 1 a U = ab 1 U, therefore b a.

SIX PROOFS OF THE INFINITUDE OF PRIMES 3 Transitive a b, b c = ba 1 U = (ba 1 )(cb 1 ) U = ea 1 c U = a 1 c U = ca 1 U a c Thus it is indeed a valid equivalence relation and hence it forms a partition. The equivalence class of a, [a], is the right coset Ua = {xa : x U}. Since the order of Ua equals the order of U, we see that G decomposes into equivalence classes of size U = U divides G. 5.1. Mersenne numbers. We define a Mersenne number to be of the form M n = 2 n + 1 for n Z. Note that M n is not necessarily prime. Specifically, if n is not prime (ie, composite: n = ab for some a, b, Z) then 2 n 1 is also not prime (since 2 a 1 2 ab 1, 2 b 1 2 ab 1). Thus, a Mersenne prime requires a prime power. Theorem 5.2. Suppose P finite, and p is the largest prime. Let q P be prime such that q 2 p 1. Then q > p. Proof. If q 2 p 1 = 2 p 1 (mod q). Since p is prime by assumption, this means that 2 = p in the group of multiplicative integers mod q (Z q). Assume 2 n = 1, n < p. Then gcd(n, p)= 1 and thus there exists x, m N such that mn = xp + 1, by the Euclidean algorithm. So 1 2 n for some n N = 1 m 2 mn 2 xp+1 2(2 p ) x 2(mod q), because 1 2 mod q for any q P. By Lagrange s Theorem, we therefore have that the order of every element divides the order of the group, thus p Z q = q 1 and hence p < q. But p was the largest prime by assumption, so we have a contradiction; hence, the set of primes P is not finite. 6. Euler (1737) This proof, involving the manipulation of infinite series, is O Gorman s least favorite. While [1] relies on a proof using logarithms, we follow O Gorman s presentation in using harmonic series. Let P = {p 1, p 2, p 3, } be the set of primes in increasing order. Let be the function that couns the number of primes less than or equal to n R : := #{p P, p n}. Let H n be the harmonic series: H n = 1 + 1 2 + 1 3 + + 1 a, which we know diverges by first year analysis. Theorem 6.1. H n diverges, thus diverges, and thus the number of primes is infinite. Proof. Let σ n = m N 1 m where m has only prime divisors n. Note that H n < σ n (because H n is contained in it) though we do not know if σ n converges. But because both series have exclusively positive terms, by first year analysis, we know that if they are convergent, then they are absolutely convergent. We rearrange σ n, using our Second Fact:

4 ALDEN MATHIEU σ n ( 1 p i ) i 0 Since the sum is positive and geometric, it converges; thus we have an absolutely convergent series and equality: σ n = ( 1 p i ) i 0 We examine the formula for a geometric series: 1 1 1 p k and note that p k k + 1. After rearrangement and computation, we get 1 + 1 p k 1 1 + 1 k = 1 + k + 1 k Because the right hand side is a telescoping series equal to + 1, we have H n < + 1, and since H n diverges, + 1 must also diverge. Hence, the quantity of primes is infinite. 7. Fürstenberg (1955) This proof, written while Fürstenberg was an undergraduate in New York, relies on topology and proof by contradiction. Theorem 7.1. P cannot be finite. Proof. We define sets N a,b = {a+nb : n Z} where a, b Z and b > 0. We define a topology on Z(τ) such that A τ if and only if a A, b N such that N a,b A. O Gorman omitted the proof that τ forms a topology but it is easily verified: is open by definition, and the whole space Z is N 1,0 and hence also open. Any union of open sets is open: let i=1 A i be a union of open sets and let x i=1 A i. Thus for any a j such that N aj,x belongs to the open set A j, N aj,x also belongs to the union. Any finite intersection of open sets is open: let A i, A j be open and let x be in their intersection. Then a i such that N ai,x A i and a j such that N aj,x A j. We pick a = lcm(a i, a j ), which means N a,x = A i A j. Hence, this defines a valid topology τ on Z. We observe that any A in the topology τ is infinite, because by the First Fact, N is infinite. N a,b = Z\ b 1 i=1 N a+i,b where the union b 1 i=1 N a+i,b is an open set. Hence, N a,b is the complement of an open set and therefore closed.

SIX PROOFS OF THE INFINITUDE OF PRIMES 5 By the Second Fact, for all integers n ± 1, n N 0,p for some prime p P. We consider the set {-1, 1}. By the above, this clearly equals Z\ p P N 0,p. If P were finite, this union would be a finite union of closed sets and hence closed. As the complement of a closed set, { 1, 1} would be open and thus would be infinite, a contradiction. We conclude P must be infinite. 8. Erdös (1938) Similiar to Euler s proof, this is O Gorman s favorite. We prove the infinitude of primes, and get that the sum of reciprocals of primes diverge for free. Theorem 8.1. p P 1 p diverges and hence P is infinite. Proof. We assume p P 1 p converges. If so, then there exists some k N such that i k 1 p i < 1 2. Then we can extend this to arbitrary N N: N (1) < N p i 2 i k This is useful becasue it tells us something about big primes and we can show that there isn t enough small primes. We define big primes B n := {m < n : p i m for some i k} and small primes S n := {m < n : p i m for some i < k}. Therefore, all numbers are divisible by some B n, S n. We can form a partition since #B n + #S n = n. Note that the floor function N p i counts the multiples of p i Z. This places a bound, using (1) : (2) B n i k For every m S n, we write m as N p i < N 2 (3) m = a m b 2 m where a m is square-free and equals 1 copy of each prime divisor raised to an odd power. Thus by our Second Fact, m is the product of distinct small primes. Due to #S n, there are 2 k 1 possibilities for a m. Returning to (3), b 2 m m < n, so b m m < n = #S n = 2 k 1 n. We choose n large, such that n > 2 k = 2 k 1 < n 2 = #S n < n n 2 = n 2. But by (2), #S n + #B n < n, a contradiction. Hence, P must be infinite. References [1] Martin Aigner and Günter M. Ziegler. Proofs from The Book, chapter 1, pages viii+308. Springer-Verlag, Berlin, fifth edition, 2014. Including illustrations by Karl H. Hofmann.