Math 229: Introduction to Analytic Number Theory Elementary approaches I: Variations on a theme of Euclid

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

SQUARE PATTERNS AND INFINITUDE OF PRIMES

Part II. Number Theory. Year

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

ECEN 5022 Cryptography

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

Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald)

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

A Few Primality Testing Algorithms

MATH 361: NUMBER THEORY FOURTH LECTURE

Applied Cryptography and Computer Security CSE 664 Spring 2018

(Primes and) Squares modulo p

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

Math 259: Introduction to Analytic Number Theory The Selberg (quadratic) sieve and some applications

Math 4400/6400 Homework #8 solutions. 1. Let P be an odd integer (not necessarily prime). Show that modulo 2,

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

ON VALUES OF CYCLOTOMIC POLYNOMIALS. V

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

PRIME NUMBERS YANKI LEKILI

Proofs of the infinitude of primes

8 Primes and Modular Arithmetic

Euclidean prime generators

Math 259: Introduction to Analytic Number Theory Primes in arithmetic progressions: Dirichlet characters and L-functions

Winter Camp 2009 Number Theory Tips and Tricks

IRREDUCIBILITY TESTS IN F p [T ]

Chapter 4. Characters and Gauss sums. 4.1 Characters on finite abelian groups

1, for s = σ + it where σ, t R and σ > 1

. As the binomial coefficients are integers we have that. 2 n(n 1).

MATH 310: Homework 7

Elementary Number Theory MARUCO. Summer, 2018

Notes on Systems of Linear Congruences

Lecture 11 - Basic Number Theory.

This is a recursive algorithm. The procedure is guaranteed to terminate, since the second argument decreases each time.

On The Weights of Binary Irreducible Cyclic Codes

1. multiplication is commutative and associative;

ORDERS OF ELEMENTS IN A GROUP

Counting points on elliptic curves over F q

Math 324, Fall 2011 Assignment 7 Solutions. 1 (ab) γ = a γ b γ mod n.

Chapter 1. Introduction to prime number theory. 1.1 The Prime Number Theorem

Arithmetic Statistics Lecture 1

4 PRIMITIVE ROOTS Order and Primitive Roots The Index Existence of primitive roots for prime modulus...

Math 109 HW 9 Solutions

CONGRUENCES RELATED TO THE RAMANUJAN/WATSON MOCK THETA FUNCTIONS ω(q) AND ν(q)

A Guide to Arithmetic

Dirichlet s Theorem. Martin Orr. August 21, The aim of this article is to prove Dirichlet s theorem on primes in arithmetic progressions:

Projects on elliptic curves and modular forms

1 Overview and revision

198 VOLUME 46/47, NUMBER 3

Math 110 HW 3 solutions

Lecture 7: More Arithmetic and Fun With Primes

Chapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations

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

A Few New Facts about the EKG Sequence

10 Problem 1. The following assertions may be true or false, depending on the choice of the integers a, b 0. a "

Primes in arithmetic progressions

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

How To Test If a Polynomial Is Identically Zero?

A SURVEY OF PRIMALITY TESTS

Polygonal Numbers, Primes and Ternary Quadratic Forms

Equidivisible consecutive integers

Each copy of any part of a JSTOR transmission must contain the same copyright notice that appears on the screen or printed page of such transmission.

Math 314 Course Notes: Brief description

Standard forms for writing numbers

On the Cardinality of Mersenne Primes

Rational Points on Conics, and Local-Global Relations in Number Theory

Bipartite Perfect Matching

Discrete Logarithms. Let s begin by recalling the definitions and a theorem. Let m be a given modulus. Then the finite set

CONGRUENCES RELATED TO THE RAMANUJAN/WATSON MOCK THETA FUNCTIONS ω(q) AND ν(q)

SPECIAL CASES OF THE CLASS NUMBER FORMULA

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

Number Theory Proof Portfolio

Representing numbers as the sum of squares and powers in the ring Z n

Numbers, Groups and Cryptography. Gordan Savin

A polytime proof of correctness of the Rabin-Miller algorithm from Fermat s Little Theorem

Journal of Combinatorics and Number Theory 1(2009), no. 1, ON SUMS OF PRIMES AND TRIANGULAR NUMBERS. Zhi-Wei Sun

CPSC 467b: Cryptography and Computer Security

Discrete Mathematics and Probability Theory Fall 2018 Alistair Sinclair and Yun Song Note 6

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Note 7

Number Theory. Henry Liu, 6 July 2007

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

2.1 Convergence of Sequences

Part IA Numbers and Sets

Math.3336: Discrete Mathematics. Mathematical Induction

Elementary Properties of the Integers

The Chinese Remainder Theorem

Abstracts of papers. Amod Agashe

Euler s, Fermat s and Wilson s Theorems

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction

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?

WHAT IS SPECIAL ABOUT THE DIVISORS OF 24?

The running time of Euclid s algorithm

MATH 25 CLASS 21 NOTES, NOV Contents. 2. Subgroups 2 3. Isomorphisms 4

Discrete Math, Fourteenth Problem Set (July 18)

Outline. Number Theory and Modular Arithmetic. p-1. Definition: Modular equivalence a b [mod n] (a mod n) = (b mod n) n (a-b)

Elementary Number Theory Review. Franz Luef

Theoretical Cryptography, Lecture 13

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

Lecture 11: Cantor-Zassenhaus Algorithm

Contest Number Theory

QUADRATIC CONGRUENCES FOR COHEN - EISENSTEIN SERIES.

Transcription:

Math 229: Introduction to Analytic Number Theory Elementary approaches I: Variations on a theme of Euclid Like much of mathematics, the history of the distribution of primes begins with Euclid: Theorem (Euclid [IX, 20]. There are infinitely many primes. Euclid s justly famed argument, while often presented as a proof by contradiction, is readily framed as an effective (albeit rather inefficient construction: Proof: We inductively construct a sequence { } k>1 of primes, starting with p 1 = 2. Given primes p 1, p 2,..., p n, let P n = n, define N n = P n + 1, and let p n+1 be the smallest factor of N n. Then p n+1 is a prime no larger than N n and different from p 1,..., p n. Thus { } k>1 is an infinite sequence of distinct primes, Q.E.D. This answers Yes to the first asymptotic question to ask about π(x := #{p x : p is a positive prime} = 1, 0<p x p prime namely whether π(x as x. Moreover, the proof also gives an explicit upper bound on p n, and thus a lower bound on π(x. Theorem. For each integer n > 0, there are more than n primes p < 2 2n. Equivalently, we have 1 π(x > log 2 log 2 x for all x > 1. Proof : In the proof of Euclid s theorem, we may take p 1 = 2, and observe that p n+1 N n = 1 + n n 2. if equality were satisfied at each step we would have p n = 2 2n 1. Thus by induction we see that p n 2 2n 1, and of course the inequality is strict once n > 1. Therefore if x 2 2n 1 then < x for k = 1, 2,..., n, and so π(x n, Q.E.D. The P n + 1 trick has been adapted to prove some special cases of Dirichlet s theorem on primes in arithmetic progressions, which asserts that for relatively 1 The ubiquity of estimates involving log log x, log log log x, and beyond in analytic number theory has even inspired a joke: Q: What sound does a drowning analytic number theorist make? A: log log log log... I do not know who originated this joke; I was told it by B. Mazur, who heard it from R. Murty. 1

prime integers q > 0 and a there are infinitely many primes p a mod q. (We shall give the proof later in the course. Of course the case 1 mod 2 is trivial given Euclid. For 1 mod q with q = 3, 4, 6, start with p 1 = q 1 and define N n = qp n 1. More generally, for any quadratic character 2 χ there are infinitely many primes p with χ(p = 1; as a special case, given an odd prime q 0, there are infinitely many primes p which are quadratic nonresidues of q 0. [I m particularly fond of this argument because I was able to adapt it as the punchline of my doctoral thesis; see [Elkies 1987].] The case of χ(p = +1 is only a bit trickier. 3 For instance, to prove Dirichlet for (q, a = (4, 1, let p 1 = 5 and N n = 4Pn 2 + 1, and invoke Fermat s theorem on the prime factors of x 2 + y 2. Again this argument even yields an explicit lower bound on π(x, 1 mod 4 := #{p x : p is a positive prime congruent to 1 mod 4}, namely 4 for some positive constant C. π(x, 1 mod 4 > C log log x But Euclid s approach and its variations, however elegant, are not sufficient for our purposes. For one thing, numerical evidence suggests and we shall soon prove that log 2 log 2 x is a gross underestimate on π(x. For another, one cannot prove all cases of Dirichlet s theorem using only variations on the Euclid argument. 5 The elementary approaches to lower bounds on π(n in the next few lectures will address at least the first deficiency. Meanwhile we briefly consider upper bounds. Trivially π(x < x for all x. Since all primes except 2 are odd (and 1 is not prime, we have in fact π(x (x+1/2, and π(2m m for m = 1, 2, 3,.... Likewise since all but two primes are congruent to 1 or 5 mod 6 we have π(6m 2m + 1 for natural numbers m, and so π(x (x/3 + c 2 for some constant c 2. More generally, let p n be the n-th prime, and let 6 P n = n ; then by the Chinese Remainder Theorem only n ( 1 of the residue classes mod P n can contain any prime other than p 1,..., p n, whence ( n π(p n m < ( 1 m + n 2 We ll say much more about characters, quadratic and others, in a few weeks. An example is the Legendre symbol n (n/q 0 for some fixed odd prime q 0, or more generally any s nonempty product n i=1 (n/q i of such characters for distinct odd primes q 1,..., q s. 3 But enough so that a problem from a recent Qualifying Exam for our graduate students asked to prove that there are infinitely many primes congruent to 1 mod 4. 4 Even a drowning analytic number theorist knows that log log and log 2 log 2 are asymptotically within a constant factor of each other. What is that factor? 5 This is not a theorem, of course. How could one even define variation of the Euclid argument rigorously? But a Euclid-style argument for the infinitude of primes congruent to 2 mod 5 or mod 7 would already be quite impressive. 6 n By analogy with the factorial n! = i, this Pn is sometimes called the n-th i=1 primorial. 2

for all natural numbers m. Thus there is a constant c n such that ( n p π(x < k 1 x + c n (1 for all x. What happens to this upper bound as n? The coefficient of x decreases, and if it approaches zero that is, if (pk 1/ = 0 then π(x/x 0 as x. Otherwise we might expect that π(x/x approaches some positive constant, say κ. But then (pk 1/ should certainly vanish, because it contains a positive proportion of the factors of the infinite product n=2 ((n 1/n, whose partial products are N n=2 n 1 n = (N 1! N! = 1 N 0. Unfortunately it does not immediately follow from (1 that if ( (pk 1/ is positive then it equals lim x π(x/x; indeed for all we know so far the limit might not exist at all, and we can conclude only that lim sup x π(x x 1. (See the next-to-last Exercise below! But we can still use (1 to obtain an elementary proof that π(x/x 0 as x. Assume not. Then there exists κ > 0 and an infinite sequence x m such that π(x m > κx m for all m 1. Passing to a subsequence we may assume that the x m grow so rapidly that x m 1 < (κ/2x m for all m > 1. Then more than (κ/2x m of the primes p x m are in (x m 1, x m ]. Hence the product of (p 1/p over these primes is < 1 (κ/2 (why?, whence p x m ((p 1/p < (1 (κ/2 m. But then ( (pk 1/ = 0, and we already know that this implies the desired conclusion π(x/x 0. Notice that we have not yet proved that in fact (pk 1/ = 0. That is in fact true, and will be part of our next topic. Exercises 1. Fix an integer q > 2, and let G be a subgroup of (Z/qZ other than (Z/qZ itself. Prove that there are infinitely many primes whose residue modulo q is not in G. 2. Obtain explicit values of C and x 0 such that π(x, 1 mod 4 > C log log x for all x > x 0. 3. Use cyclotomic polynomials to show more generally that for any q 0, prime or not, there exist infinitely many primes congruent to 1 mod q 0. [Attributed to Euler in [Dickson 1919, Ch.XVIII], a chapter which gives much more information on the history of work on the distribution of primes up to about 1900. Note 3

that 4P 2 n + 1 is the fourth cyclotomic polynomial evaluated at 2P n.] Show that again the number of such primes x grows at least as fast as some multiple of log log x (that is, for every q 0 there exist constants C > 0 and x 0 such that for every x > x 0 there are at least C log log x primes p x congruent to 1 mod q 0. 4. Show that there are infinitely many primes congruent to 4 mod 5. If you know about the arithmetic of cyclotomic number fields, prove more generally that if G 0 is a subgroup of (Z/qZ and G is a subgroup of G 0 other than G 0 itself then there are infinitely many primes whose residue mod q is in G 0 but not in G. Obtain an explicit log log bound as before. 5. [A much later proof of the infinitude of primes that curiously gives the same bound π(x > log 2 log 2 (x.] Recall that the m-th Fermat number F m is defined by F m = 2 2m + 1 (m = 0, 1, 2,.... Prove that F m and F m are relatively prime unless m = m. Conclude that there are at least n primes p F n 1, and thus that π(x > log 2 log 2 x. 6. [A warning about limits.] Let {q k } be a sequence of primes, or even of natural numbers that are relatively prime in pairs; set κ = (qk 1/q k ; and let {a k } be an arbitrary sequence of integers. For x > 0 let ϖ(x be the number of positive integers q x such that q a k mod q k for all k. Prove that lim sup x ϖ(x/x κ, but that there are choices of {a k } for which ϖ(x/x 0 as x, even if κ > 0. 7. [Analytic number theory without Euclid.] Even though we re starting our exposition with Euclid, there are questions and techniques that can precede even the infinitude of primes. An example is lower bounds on Euler s phi-function φ(q = # ( (Z/qZ = #{a 0 a < q, gcd(a, q = 1} = q p q p 1 p (q a positive integer. Clearly φ(q q, with equality only for q = 1; but often (in analytic number theory and elsewhere it is useful to know that φ(q is not too much smaller than q, either for any given q or on average. i Prove that for all ɛ > 0 there exists C ɛ > 0 such that φ(q > C ɛ q 1 ɛ for all q. [Only finitely many of the factors (p 1/p can be smaller than p ɛ.] ii Prove that there exists c > 0 such that x q=1 φ(x > cx2 for all positive integers x. [Since x q=1 q = (x2 + x/2, the lower bound on x q=1 φ(x says in effect that φ(q 2cq on average.] Naturally, more precise results on the distribution of primes will let us obtain sharper results, such as the dependence of C ɛ on ɛ; e.g. the fact that C ɛ cannot be chosen independent of ɛ is tantamount to lim inf q(φ(q/q = 0, which is in turn equivalent to (pk 1/ = 0. For part (ii, it is easy to obtain this bound with 2c = 1 (1/p2. The actual asymptotic average of φ(q/q is usually described as the probability that two randomly chosen integers are relatively prime. This is wellknown to be 1/ζ(2 = 6/π 2 ; this is not too hard to prove (see Exercise 7 of the next installment, though there are still nontrivial questions concerning the error term x φ(x q=1 x2 /(2ζ(2. 4

Digression Even a piece of mathematics as venerable as Euclid s proof of the infinitude of primes can continue to suggest very difficult problems. For instance, let p n be the n-th prime and P n = n as before. We know that P n + 1 must contain a new prime factor, which cannot be p n+1 once n > 1 (if only because P n 1 must also contain a new prime factor. Does it happen infinitely often that p n+1 is a factor of P n + 1? [This is the case for n = 1, 7, 232, 430, and no other n < 10 5.] What of the primality of P n + 1 itself? It is well-known that P n + 1 is prime for n = 1, 2, 3, 4, 5, but P 6 + 1 = 30031 = 59 509. As of early 2010, only seventeen n > 5 have been found for which P n + 1 is prime, of which the smallest is 11 and the largest is 33237. 7 Again it is not known whether this happens infinitely often. Likewise for the primality of P n 1 and its divisibility by p n+1. For another variation, define q 1 = 2 and, for n > 0, let q n+1 be the smallest prime factor of ( n q k + 1. The sequence {q n } n=1 starts 2, 3, 7, 43, 13, 53, 5, 6221671, 38709183810571, 139, 2801, 11,... For instance, q 5 = 13 because 2 3 7 43 + 1 = 1807 = 13 139. Is this Euclid- Mullin sequence [Sloane, A000945] a permutation of the sequence of primes? Probably yes, but proving this will likely be intractable for the foreseeable future. The same is true for the infinitude of primes of the form P n ± 1, and of n such that p n+1 P n ± 1. It should not even be obvious that one should expect that these four sets are all infinite. The heuristics supporting this expectation rely on results on the distribution of primes that we shall develop in the next few weeks. References [Dickson 1919] Dickson, L.E.: History of the Theory of Numbers, Vol. I: Divisibility and Primality. Washington: Carnegie Inst., 1919. [Euclid] Euclid, Elements. [Elkies 1987] Elkies, N.D.: The existence of infinitely many supersingular primes for every elliptic curve over Q, Invent. Math. 89 (1987, 561 568; See also: Supersingular primes for elliptic curves over real number fields, Compositio Math. 72 (1989, 165 172. [Sloane] Sloane, N.J.A.: On-Line Encyclopedia of Integer Sequences. http://www.research.att.com/~njas/sequences 7 Sequence A014545 in [Sloane], where the primality of P 13494 + 1 is attributed to Eric W. Weisstein, March 13, 2004. For the analogous question concerning P n 1, see Sequence A055704 and A006794. 5