The Fundamental Theorem of Arithmetic

Similar documents
Chapter 11 Number Theory

Homework until Test #2

Grade 6 Math Circles March 10/11, 2015 Prime Time Solutions

5544 = = = Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1

15 Prime and Composite Numbers

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

The last three chapters introduced three major proof techniques: direct,

8 Primes and Modular Arithmetic

Today s Topics. Primes & Greatest Common Divisors

SECTION 10-2 Mathematical Induction

Math Workshop October 2010 Fractions and Repeating Decimals

An Introduction to Number Theory Prime Numbers and Their Applications.

Session 6 Number Theory

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

Factorizations: Searching for Factor Strings

Prime Factorization 0.1. Overcoming Math Anxiety

26 Integers: Multiplication, Division, and Order

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

MATH 22. THE FUNDAMENTAL THEOREM of ARITHMETIC. Lecture R: 10/30/2003

CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association

MATH10040 Chapter 2: Prime and relatively prime numbers

8 Divisibility and prime numbers

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)

Zeros of a Polynomial Function

MATH 289 PROBLEM SET 4: NUMBER THEORY

Applications of Fermat s Little Theorem and Congruences

Properties of Real Numbers

Prime and Composite Numbers

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

1.2. Successive Differences

MATH 13150: Freshman Seminar Unit 10

Grade 7 & 8 Math Circles October 19, 2011 Prime Numbers

CS 103X: Discrete Structures Homework Assignment 3 Solutions

PYTHAGOREAN TRIPLES KEITH CONRAD

Handout #1: Mathematical Reasoning

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Tests for Divisibility, Theorems for Divisibility, the Prime Factor Test

Prime Factorization, Greatest Common Factor (GCF), and Least Common Multiple (LCM)

3 Some Integer Functions

4.2 Euclid s Classification of Pythagorean Triples

The Fundamental Theorem of Arithmetic

MATH 537 (Number Theory) FALL 2016 TENTATIVE SYLLABUS

5.1 Radical Notation and Rational Exponents

of Nebraska - Lincoln

arxiv: v2 [math.ho] 4 Nov 2009

Cubes and Cube Roots

Primes. Name Period Number Theory

Notes on Factoring. MA 206 Kurt Bryan

Calculate Highest Common Factors(HCFs) & Least Common Multiples(LCMs) NA1

Ummmm! Definitely interested. She took the pen and pad out of my hand and constructed a third one for herself:

Section A-3 Polynomials: Factoring APPLICATIONS. A-22 Appendix A A BASIC ALGEBRA REVIEW

Exponents and Radicals

SECTION A-3 Polynomials: Factoring

k, then n = p2α 1 1 pα k

Every Positive Integer is the Sum of Four Squares! (and other exciting problems)

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

1.5 Greatest Common Factor and Least Common Multiple

Stanford Math Circle: Sunday, May 9, 2010 Square-Triangular Numbers, Pell s Equation, and Continued Fractions

Theorem3.1.1 Thedivisionalgorithm;theorem2.2.1insection2.2 If m, n Z and n is a positive

SUM OF TWO SQUARES JAHNAVI BHASKAR

Session 7 Fractions and Decimals

Answer Key for California State Standards: Algebra I

Section 4.1 Rules of Exponents

Continued Fractions and the Euclidean Algorithm

GCDs and Relatively Prime Numbers! CSCI 2824, Fall 2014!

RSA and Primality Testing

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

V Quantitative Reasoning: Computers, Number Theory and Cryptography

Just the Factors, Ma am

s = s = s =

Math 319 Problem Set #3 Solution 21 February 2002

Mathematical Induction

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

Chapter 7 - Roots, Radicals, and Complex Numbers

CONTINUED FRACTIONS AND FACTORING. Niels Lauritzen

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: b + 90c = c + 10b

Primes in Sequences. Lee 1. By: Jae Young Lee. Project for MA 341 (Number Theory) Boston University Summer Term I 2009 Instructor: Kalin Kostadinov

3. Mathematical Induction

CHAPTER 5 Round-off errors

Quotient Rings and Field Extensions

Five fundamental operations. mathematics: addition, subtraction, multiplication, division, and modular forms

Grade 7/8 Math Circles Fall 2012 Factors and Primes

Continued Fractions. Darren C. Collins

Factoring Algorithms

Category 3 Number Theory Meet #1, October, 2000

Basic Proof Techniques

Solution to Exercise 2.2. Both m and n are divisible by d, som = dk and n = dk. Thus m ± n = dk ± dk = d(k ± k ),som + n and m n are divisible by d.

MATH Fundamental Mathematics IV

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

Pythagorean Theorem: Proof and Applications


SAT Math Facts & Formulas Review Quiz

Math Circle Beginners Group October 18, 2015

Section 1.3 P 1 = 1 2. = P n = 1 P 3 = Continuing in this fashion, it should seem reasonable that, for any n = 1, 2, 3,..., =

SOLVING EQUATIONS WITH RADICALS AND EXPONENTS 9.5. section ( )( ). The Odd-Root Property

SOLUTIONS FOR PROBLEM SET 2

0.8 Rational Expressions and Equations

Introduction. Appendix D Mathematical Induction D1

9. POLYNOMIALS. Example 1: The expression a(x) = x 3 4x 2 + 7x 11 is a polynomial in x. The coefficients of a(x) are the numbers 1, 4, 7, 11.

Transcription:

MODULE 3 The Fundamental Theorem of Arithmetic 1. Sieve of Eratosthenes Two is the only odd prime. Every even number > 2 is composite because it is divisible by 2. Similarly, all multiples of 3 6 are composite; all multiple of 5 10 are composite; and so on. Eratosthenes (an old Greek guy) figured out a way to use this fact to make a list of the primes. His method uses a technique called Calculatus Eliminatus (coined by Dr. Seuss) which means to discover where something is, discover where it s not. His idea is very simple. Write down all the numbers from 1 to 100. Ignore 1 because it is a unit it s neither prime nor composite. After 1 the first number we come to is 2, which must be prime because there are no smaller numbers which could divide it. Using the fact that all multiples of 2 are composite, mark an X through every other number starting with 4. The prime 3 has not been crossed out, so cross out every third number, starting with 6; these are all composite because they are divisible by 3. Note that 6 was already crossed out as a multiple of 2, but that s okay. It s like having a second opinion from another doctor. Four has been crossed out, so we know it isn t prime. The next number we come to which has not been crossed out is 5. So we procced to cross out every multiple of 5, starting with 10. (Actually we could have started with 25.) Six has been crossed out (twice), so we come to 7, the fourth prime on our list, and we cross out every seventh number starting with 14. At this point the numbers on the list up to 100 which have not been crossed out are all primes. The reason why we don t need to cross out the multiples of 11, 13, etc, is given by the following theorem: Theorem #56. If n is composite then some prime number p which is n divides n. Problem #57. Use the Sieve of Erostothenes to construct a list of the primes up to 200. 29

30 3. THE FUNDAMENTAL THEOREM OF ARITHMETIC 2. Factoring into Primes Every composite number n can be factored into two smaller number n = ab, where 2 a < n and 2 b < n. This factorization is not unique. For example, 30 factors in three different way: (1) 30 = 2 15 (2) 30 = 3 10 (3) 30 = 5 6 But if we continue factoring until we reach all primes (1) 30 = 2 15 = 2 (3 5) (2) 30 = 3 10 = 3 (2 5) (3) 30 = 5 6 = 5 (2 3) We discover a fundamental fact: the list of primes is always the same, up to order. This fact is called The Fundamental Theorem of Arithmetic. Every integer n > 1 can be factored into a product of primes, and the factorization is unique, up to the order in which we write the primes. Suppose you factor n as n = p 1 p 2 p 3 p r where the p i s are all primes. To simplify things, suppose your primes are ordered from smallest to largest: p 1 p 2 p r. Now suppose your worst enemy claims to factor n in a superior way to yours, say as n = q 1 q 2 q 3 q s where the q j s are all prime and are in increasing order: q 1 q 2 q s. The Fundamental Theorem of Arithmetic says that you both have the same number of primes in your two lists, that is, r = s, and the primes in both lists are the same: p 1 = q 1, p 2 = q 2, etc. Maybe it seems unthinkable that there could possibly be any other outcome. But there are many similar algebraic systems where factorization into primes is not unique.

3. SOME PRELIMINARIES 31 Crazy Example. Let S be the set of all positive integers which are congruent to 1 mod 4, that is, S = {1,5,9,13,17,21,25,29,...}. The set S acts likes the set of positive integers. Problem #58. Show that is a and b are in S, then the product ab lies in S. Definition. We define a number n > 1 in set S to be an S prime if n cannot be written as n = ab, where a and b lie S and 1 < a,b < n. Note that 9 and 21 are S-primes. Even though 21 = 3 7, this is not a legitimate factorization of 21 by elements in S since 3 and 7 are not in S. (The integers have a similar restriction. The equation 7 = 3 7 3 does not prove that 7 is a composite; we are not allowed to use the non-integer fraction 7 3.) Problem #59. Make a list of all the S primes less than 100. Just like the positive integers, the elements of S can all be factored into S primes. For example, 65 = 5 13. But is this factorization into S primes always unique? (For n = 65, it is.) Problem #60. Find a number n in S such that n can be factored in two entirely different ways into a product of S-primes. Moral: Unique factorization cannot be taken for granted. We now turn our attention to proving unique factorization of the integers. 3. Some Preliminaries Recall the Pails of Water Theorem, which asserts that you can solve the Pails of Water Problem with buckets of capacity a and b whenever a and b are relatively prime. POW Theorem. If a and b are positive integers with gcd(a,b) = 1, then there exist integers m and n such that ma+nb = 1. Theorem #61. If a bc and gcd(a,b) = 1, then a c. Problem #62. Show that this theorem is false if we remove the restriction that a and b are relatively prime. Hint: Use the POW Theorem on a and b. Then multiply by c.

32 3. THE FUNDAMENTAL THEOREM OF ARITHMETIC Primes have a special property not shared by composites. Proposition #63. If p is a prime and n is a positive integer, then either p n or gcd(p,n) = 1. Theorem #64. If p ab, then p a or p b. Problem #64. Show that this theorem is false if we remove the restriction that p is a prime. 4. Proof of Fundamental Theorem Now we are ready to give a proof of the Fundamental Thoerem of Arithemetic. Let n be a positive integer > 1 and suppose we have two factorizations of n into primes: n = p 1 p 2 p 3 p r = q 1 q 2 q 3 q s where the p i and q j are primes, in increasing order p 1 p 2 p 3 p r and q 1 q 2 q 3 q s. Exercise #65. Give an argument that shows that p 1 = q 1. If p 1 = q 1, then our previous equation becomes n = p 1 p 2 p 3 p r = p 1 q 2 q 3 q s Cancelling p 1 gives p 2 p 3 p r = q 2 q 3 q s Exercise #66. Give an argument that shows that p 2 = q 2. Exercise #67. Explain how continuing this process gives p 3 = q 3, p 4 = q 4, and so on. What can t we run out of p s before q s, or the other way around, run out of q s before p s? Conclude that r = s and the two lists of primes were identical. 5. Applications of The Fundamental Theorem The equation n = p e1 1 pe2 2 per r where the p i are distinct primes, is called the prime power factorization of n.

6. PRIMES OF SPECIAL TYPE 33 Exercise #68. Find the prime power factorization of 20! = 1 2 3 4 19 20. Exercise #69. If we write 100! = 2 e 3 f 5 g what are the values of the exponents e, f, and g? The floor and ceiling functions are defined as follows: Given a real number x, the floor of x, written x is the largest integer x; the ceiling of x, written x is the smallest integer x. For example, π = 3, π =4. Exercise #70. Can you think of a way to use the floor function to express the value of g in the previous problem. Exercise #71. Find gcd(3 14 7 22 11 5 17 3,5 2 11 4 13 8 17) Exercise #72. Find LCM(3 14 7 22 11 5 17 3,5 2 11 4 13 8 17) Exercise #73. Make a conjecture that generalizes the ideas you used to solve the previous two problems. The Fundamental Theorem can also be used to prove that certain equations do not have integer solutions. Proposition #74. There do not exist integers m and n such that m 2 = 5n 2. Can you conclude that the square root of 5 must be irrational? Exercise #74. Show that the cube root 3 5 is irrational. 6. Primes of Special Type All primes are odd except 2. These odd primes lie in two camps based on their remainders when we divide them by 4: (i) p = 4n+1 and (ii) p = 4n+3. Table of primes:

34 3. THE FUNDAMENTAL THEOREM OF ARITHMETIC 4k +1 4k +3 5 3 13 7 17 11 29 19 37 23 41 29 53 31 Exercise #75. Extend this list using the primes up to 200. One could ask whether both of these lists are infinite. That is, are there infinitely many primes of the form 4n+1? Are there infinitely many primes of the form 4n+3? Also, it looks like the primes congruent to 3 mod 4 are more numerous than those primes congruent to 1 mod 4. Does this lead last out to infinity? It is know that Yes, there are infinitely many primes of the form 4n+1. Yes, there are infinitely many primes of the form 4n+3. Roughly speaking (we need to use, ugh, limits to be precise here) there about as many primes of the form 4n+1 as primes of the form 4n+3. Out to infinity, the race between the two types of primes is tied infinitely often. Put another way, if C 1 (x) counts the number of primes of the form 4n+1 which are x and C 3 (x) counts the number of primes of the form 4n+3 which are x, then for infinitely many integers x, C 1 (x) = C 3 (x). Exercise #76. For every odd prime p 100, determine whether p can be written as a sum of two squares. For example, 13 = 2 2 + 3 2, but 11 is not a sum of two squares; the closest we come with 11 is 3 2 +1 2 +1 2 or 2 2 +2 2 +1 2, which are both sums of three squares. Exercise #77. Make a conjecture about which primes can be be written as a sum of two squares. Exercise #78. Make a list of the primes 200 which can be written in the form p = n 2 +1. For example, 37 = 6 2 +1, while 41 cannot be written as n 2 +1 for the simple reason that 40 is not a square.

6. PRIMES OF SPECIAL TYPE 35 One could ask if this list is infinite. The somewhat surprising answer is that nobody knows. All sane mathematicians believe so, but so far, no one has been able to give a proof.