Number Theory: Axioms, Induction, and Divisibility, Study Guides, Projects, Research of Discrete Mathematics

A Very Nice Guide for Number theory

Typology: Study Guides, Projects, Research

2014/2015

Uploaded on 12/17/2015

mrss_shourie
mrss_shourie 🇬🇧

1 document

1 / 129

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Elementary Number Theory
W. Edwin Clark
Department of Mathematics
University of South Florida
Revised June 2, 2003
Copyleft 2002 by W. Edwin Clark
Copyleft means that unrestricted redistribution and modification are per-
mitted, provided that all copies and derivatives retain the same permissions.
Specifically no commerical use of these notes or any revisions thereof is per-
mitted.
i
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Number Theory: Axioms, Induction, and Divisibility and more Study Guides, Projects, Research Discrete Mathematics in PDF only on Docsity!

Elementary Number Theory

W. Edwin Clark

Department of Mathematics

University of South Florida

Revised June 2, 2003

Copyleft 2002 by W. Edwin Clark

Copyleft means that unrestricted redistribution and modification are per- mitted, provided that all copies and derivatives retain the same permissions. Specifically no commerical use of these notes or any revisions thereof is per- mitted.

i

ii

iv PREFACE

Here are some examples of outstanding unsolved problems in number the- ory. Some of these will be discussed in this course. A solution to any one of these problems would make you quite famous (at least among mathemati- cians). Many of these problems concern prime numbers. A prime number is an integer greater than 1 whose only positive factors are 1 and the integer itself.

  1. (Goldbach’s Conjecture) Every even integer n > 2 is the sum of two primes.
  2. (Twin Prime Conjecture) There are infinitely many twin primes. [If p and p + 2 are primes we say that p and p + 2 are twin primes.]
  3. Are there infinitely many primes of the form n^2 + 1?
  4. Are there infinitely many primes of the form 2n^ − 1? Primes of this form are called Mersenne primes.
  5. Are there infinitely many primes of the form 2^2 n + 1? Primes of this form are called Fermat primes.
  6. (3n+1 Conjecture) Consider the function f defined for positive integers n as follows: f (n) = 3n + 1 if n is odd and f (n) = n/2 if n is even. The conjecture is that the sequence f (n), f (f (n)), f (f (f (n))), · · · always contains 1 no matter what the starting value of n is.
  7. Are there infinitely many primes whose digits in base 10 are all ones? Numbers whose digits are all ones are called repunits.
  8. Are there infinitely many perfect numbers? [An integer is perfect if it is the sum of its proper divisors.]
  9. Is there a fast algorithm for factoring large integers? [A truly fast algo- ritm for factoring would have important implications for cryptography and data security.]

v

Famous Quotations Related to Number Theory

Two quotations from G. H. Hardy: In the first quotation Hardy is speaking of the famous Indian mathe- matician Ramanujan. This is the source of the often made statement that Ramanujan knew each integer personally.

I remember once going to see him when he was lying ill at Putney. I had ridden in taxi cab number 1729 and remarked that the number seemed to me rather a dull one, and that I hoped it was not an unfavorable omen. “No,” he replied, “it is a very interesting number; it is the smallest number expressible as the sum of two cubes in two different ways. ”

Pure mathematics is on the whole distinctly more useful than ap- plied. For what is useful above all is technique, and mathematical technique is taught mainly through pure mathematics.

Two quotations by Leopold Kronecker

God has made the integers, all the rest is the work of man.

The original quotation in German was Die ganze Zahl schuf der liebe Gott, alles Ubrige ist Menschenwerk.¨ More literally, the translation is “ The whole number, created the dear God, everything else is man’s work.” Note in particular that Zahl is German for number. This is the reason that today we use Z for the set of integers.

Number theorists are like lotus-eaters – having once tasted of this food they can never give it up.

A quotation by contemporary number theorist William Stein:

A computer is to a number theorist, like a telescope is to an astronomer. It would be a shame to teach an astronomy class without touching a telescope; likewise, it would be a shame to teach this class without telling you how to look at the integers through the lens of a computer.

Contents

  • 1 Basic Axioms for Z Preface iii
  • 2 Proof by Induction
  • 3 Elementary Divisibility Properties
  • 4 The Floor and Ceiling of a Real Number
  • 5 The Division Algorithm
  • 6 Greatest Common Divisor
  • 7 The Euclidean Algorithm
  • 8 Bezout’s Lemma
  • 9 Blankinship’s Method
  • 10 Prime Numbers
  • 11 Unique Factorization
  • 12 Fermat Primes and Mersenne Primes
  • 13 The Functions σ and τ
  • 14 Perfect Numbers and Mersenne Primes
  • 15 Congruences viii CONTENTS
  • 16 Divisibility Tests for 2 , 3 , 5 , 9 ,
  • 17 Divisibility Tests for 7 and
  • 18 More Properties of Congruences
  • 19 Residue Classes
  • 20 Zm and Complete Residue Systems
  • 21 Addition and Multiplication in Zm
  • 22 The Groups Um
  • 23 Two Theorems of Euler and Fermat
  • 24 Probabilistic Primality Tests
  • 25 The Base b Representation of n
  • 26 Computation of aN mod m
  • 27 The RSA Scheme
  • A Rings and Groups

2 CHAPTER 1. BASIC AXIOMS FOR Z

(a) (an)m^ = anm (b) (ab)n^ = anbn (c) anam^ = an+m.

These rules hold for all n, m ∈ Z if a and b are not zero.

  1. Properties of Inequalities: For a, b, c in R the following hold:

(a) (Transitivity) If a < b and b < c, then a < c. (b) If a < b then a + c < b + c. (c) If a < b and 0 < c then ac < bc. (d) If a < b and c < 0 then bc < ac. (e) (Trichotomy) Given a and b, one and only one of the following holds: a = b, a < b, b < a.

  1. The Well-Ordering Property for N: Every non-empty subset of N contains a least element.
  2. The Principle of Mathematical Induction: Let P (n) be a state- ment concerning the integer variable n. Let n 0 be any fixed integer. P (n) is true for all integers n ≥ n 0 if one can establish both of the following statements:

(a) P (n) is true if n = n 0. (b) Whenever P (n) is true for n 0 ≤ n ≤ k then P (n) is true for n = k + 1.

We use the usual conventions:

  1. a ≤ b means a < b or a = b,
  2. a > b means b < a, and
  3. a ≥ b means b ≤ a.

Important Convention. Since in this course we will be almost exclu- sively concerned with integers we shall assume from now on (unless otherwise stated) that all lower case roman letters a, b,... , z are integers.

Chapter 2

Proof by Induction

In this section, I list a number of statements that can be proved by use of The Principle of Mathematical Induction. I will refer to this principle as PMI or, simply, induction. A sample proof is given below. The rest will be given in class hopefully by students.

A sample proof using induction: I will give two versions of this proof. In the first proof I explain in detail how one uses the PMI. The second proof is less pedagogical and is the type of proof I expect students to construct. I call the statement I want to prove a proposition. It might also be called a theorem, lemma or corollary depending on the situation.

Proposition 2.1. If n ≥ 5 then 2 n^ > 5 n.

Proof #1. Here we use The Principle of Mathematical Induction. Note that PMI has two parts which we denote by PMI (a) and PMI (b).

We let P (n) be the statement 2n^ > 5 n. For n 0 we take 5. We could write simply:

P (n) = 2n^ > 5 n and n 0 = 5.

Note that P (n) represents a statement, usually an inequality or an equation but sometimes a more complicated assertion. Now if n = 4 then P (n) be- comes the statement 2^4 > 5 · 4 which is false! But if n = 5, P (n) is the statement 2^5 > 5 · 5 or 32 > 25 which is true and we have established PMI (a).

Proof #2. We prove the proposition by induction on the variable n. If n = 5 we have 2^5 > 5 · 5 or 32 > 25 which is true. Assume

2 n^ > 5 n for 5 ≤ n ≤ k (the induction hypothesis).

Taking n = k we have 2 k^ > 5 k.

Multiplying both sides by 2 gives

2 k+1^ > 10 k.

Now 10k = 5k + 5k and k ≥ 5 so k ≥ 1 and therefore 5k ≥ 5. Hence

10 k = 5k + 5k ≥ 5 k + 5 = 5(k + 1).

It follows that 2 k+1^ > 10 k ≥ 5(k + 1)

and therefore 2 k+1^ > 5(k + 1).

Hence by PMI we conclude that 2n^ > 5 n for n ≥ 5.

The 8 major parts of a proof by induction:

  1. First state what proposition you are going to prove. Precede the state- ment by Proposition, Theorem, Lemma, Corollary, Fact, or To Prove:.
  2. Write the Proof or Pf. at the very beginning of your proof.
  3. Say that you are going to use induction (some proofs do not use induc- tion!) and if it is not obvious from the statement of the proposition identify clearly P (n), the statement to be proved, the variable n and the starting value n 0. Even though this is usually clear, sometimes these things may not be obvious. And, of course, the variable need not be n. It could be represented in many different ways.
  4. Prove that P (n) holds when n = n 0.
  5. Assume that P (n) holds for n 0 ≤ n ≤ k. This assumption will be referred to as the induction hypothesis.

6 CHAPTER 2. PROOF BY INDUCTION

  1. Use the induction hypothesis and anything else that is known to be true to prove that P (n) holds when n = k + 1.
  2. Conclude that since the conditions of the PMI have been met then P (n) holds for n ≥ n 0.
  3. Write QED or or // or something to indicate that you have com- pleted your proof.

Exercise 2.1. Prove that 2n^ > 6 n for n ≥ 5.

Exercise 2.2. Prove that 1 + 2 + · · · + n =

n(n + 1) 2

for n ≥ 1.

Exercise 2.3. Prove that if 0 < a < b then 0 < an^ < bn^ for all n ∈ N.

Exercise 2.4. Prove that n! < nn^ for n ≥ 2.

Exercise 2.5. Prove that if a and r are real numbers and r = 1, then for n ≥ 1

a + ar + ar^2 + · · · + arn^ =

a (rn+1^ − 1) r − 1

This can be written as follows

a(rn+1^ − 1) = (r − 1)(a + ar + ar^2 + · · · + arn).

And important special case of which is

(rn+1^ − 1) = (r − 1)(1 + r + r^2 + · · · + rn).

Exercise 2.6. Prove that 1 + 2 + 2^2 + · · · + 2n^ = 2n+1^ − 1 for n ≥ 1.

Exercise 2.7. Prove that 111︸ ︷︷ · · · 1 ︸

n 1 ’s

10 n^ − 1 9

for n ≥ 1.

Exercise 2.8. Prove that 1^2 + 2^2 + 3^2 + · · · + n^2 =

n(n + 1)(2n + 1) 6

if n ≥ 1.

Exercise 2.9. Prove that if n ≥ 12 then n can be written as a sum of 4’s and 5’s. For example, 23 = 5 + 5 + 5 + 4 + 4 = 3 · 5 + 2 · 4. [Hint. In this case it will help to do the cases n = 12, 13 , 14 , and 15 separately. Then use induction to handle n ≥ 16 .]

8 CHAPTER 2. PROOF BY INDUCTION

Chapter 3

Elementary Divisibility

Properties

Definition 3.1. d | n means there is an integer k such that n = dk. d  n means that d | n is false.

Note that a | b = a/b. Recall that a/b represents the fraction a b. The expression d | n may be read in any of the following ways:

  1. d divides n.
  2. d is a divisor of n.
  3. d is a factor of n.
  4. n is a multiple of d.

Thus, the following five statements are equivalent, that is, they are all different ways of saying the same thing.

  1. 2 divides 6.
  2. 2 is a divisor of 6.
  3. 2 is a factor of 6.
  4. 6 is a multiple of 2.

Theorem 3.1 (Divisibility Properties). If n, m, and d are integers then the following statements hold:

  1. n | n (everything divides itself )
  2. d | n and n | m =⇒ d | m (transitivity)
  3. d | n and d | m =⇒ d | an + bm for all a and b (linearity property)
  4. d | n =⇒ ad | an (multiplication property)
  5. ad | an and a = 0 =⇒ d | n (cancellation property)
  6. 1 | n (one divides everything)
  7. n | 1 =⇒ n = ±1 (1 and − 1 are the only divisors of 1 .)
  8. d | 0 (everything divides zero)
  9. 0 | n =⇒ n = 0 (zero divides only zero)
  10. If d and n are positive and d | n then d ≤ n (comparison property)

Exercise 3.1. Prove each of the properties 1 through 10 in Theorem 3.1.

Definition 3.5. If c = as + bt for some integers s and t we say that c is a linear combination of a and b.

Thus, statement 3 in Theorem 3.1 says that if d divides a and b, then d divides all linear combinations of a and b. In particular, d divides a + b and a − b. This will turn out to be a useful fact.

Exercise 3.2. Prove that if d | a and d | b then d | a − b.

Exercise 3.3. Prove that if a ∈ Z then the only positive divisor of both a and a + 1 is 1.

12 CHAPTER 3. ELEMENTARY DIVISIBILITY PROPERTIES