Primes. Blake Thornton

Similar documents
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

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

SECTION 10-2 Mathematical Induction

Homework until Test #2

8 Primes and Modular Arithmetic

15 Prime and Composite Numbers

Chapter 11 Number Theory

Session 6 Number Theory

Prime Factorization 0.1. Overcoming Math Anxiety

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

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

MATH 13150: Freshman Seminar Unit 10

MATHEMATICS. Y5 Multiplication and Division 5330 Square numbers, prime numbers, factors and multiples. Equipment. MathSphere

Math Workshop October 2010 Fractions and Repeating Decimals

Working with whole numbers

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

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

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

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

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

Grade 7/8 Math Circles Fall 2012 Factors and Primes

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, Notes on Algebra

Factorizations: Searching for Factor Strings

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

Lecture 13 - Basic Number Theory.

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

SOLUTIONS FOR PROBLEM SET 2

FACTORS, PRIME NUMBERS, H.C.F. AND L.C.M.

An Introduction to Number Theory Prime Numbers and Their Applications.

3. Mathematical Induction

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

Factoring Algorithms

Today s Topics. Primes & Greatest Common Divisors

MATH 289 PROBLEM SET 4: NUMBER THEORY

Introduction. Appendix D Mathematical Induction D1

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C?

Clock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter 4 described a mathematical system

s = s = s =

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

INTRODUCTION TO FRACTIONS

Prime Time: Homework Examples from ACE

Math Circle Beginners Group October 18, 2015

CONTINUED FRACTIONS AND FACTORING. Niels Lauritzen

Just the Factors, Ma am

Category 3 Number Theory Meet #1, October, 2000

4/1/2017. PS. Sequences and Series FROM 9.2 AND 9.3 IN THE BOOK AS WELL AS FROM OTHER SOURCES. TODAY IS NATIONAL MANATEE APPRECIATION DAY

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.

Session 7 Fractions and Decimals

The Chinese Remainder Theorem

Unit 1 Number Sense. In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions.

Prime and Composite Numbers

of Nebraska - Lincoln

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

The Pointless Machine and Escape of the Clones

Vieta s Formulas and the Identity Theorem

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

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite

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

Factoring Whole Numbers

Quick Tricks for Multiplication

Chapter 3. Distribution Problems. 3.1 The idea of a distribution The twenty-fold way

Notes on Factoring. MA 206 Kurt Bryan

Some practice problems for midterm 2

The Euclidean Algorithm

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

Cubes and Cube Roots

Primes. Name Period Number Theory

MATHEMATICS Y3 Using and applying mathematics 3810 Solve mathematical puzzles and investigate. Equipment MathSphere

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

MATH10040 Chapter 2: Prime and relatively prime numbers

Math 319 Problem Set #3 Solution 21 February 2002

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

Applications of Fermat s Little Theorem and Congruences

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

Mathematical Induction. Mary Barnes Sue Gordon

1.2. Successive Differences

Computing exponents modulo a number: Repeated squaring

Factoring Trinomials of the Form x 2 bx c

TEXAS A&M UNIVERSITY. Prime Factorization. A History and Discussion. Jason R. Prince. April 4, 2011

SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by

CONTENTS. Please note:

Multiplication and Division with Rational Numbers

CS 103X: Discrete Structures Homework Assignment 3 Solutions

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me

MATH 537 (Number Theory) FALL 2016 TENTATIVE SYLLABUS

Alex, I will take congruent numbers for one million dollars please

CS 3719 (Theory of Computation and Algorithms) Lecture 4

Goldbach's Strong Conjecture This states that all even integers are formed by the addition of at least one pair of prime numbers.

SAT Math Facts & Formulas Review Quiz

3 Some Integer Functions

Chapter 3. if 2 a i then location: = i. Page 40

6.080 / Great Ideas in Theoretical Computer Science Spring 2008

2.5 Zeros of a Polynomial Functions

WHERE DOES THE 10% CONDITION COME FROM?

Handout #1: Mathematical Reasoning

Pigeonhole Principle Solutions

1 Number Sense. 1. Classifying Numbers

Mathematical Induction

SUM OF TWO SQUARES JAHNAVI BHASKAR

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Transcription:

Primes Blake Thornton Much of this is due to Joshua Zucker. 1. What are the integers made up of? (a) If your only operation is plus, +, what integers do you need to make all the integers? (b) If your only operation is multiplication, what integers do you need to make all the positive integers?. What if we restricted ourselves to the even integers? In other words, would be in our set but 3 would not. This work make a prime since it can not be written as a product of two even integers. (a) What are the primes if our number system is the even integers? (b) In the set of even integers, what is a prime factorization of the following integers? In particular, see if you can find different prime factorizations. = 8 = 1 = 1 = 0 = = 8 = 3 = 3 = 0 = 0 = 0 = (c) What if we restricted to odd numbers? What would the primes be in this case? (d) (Back to the integers.) What does it mean for a number to have a unique prime factorization? 1

3. How many primes are there? There are lots of proofs that there are an inifinite number of primes many of which can be found here: http://primes.utm.edu/notes/proofs/infinite/. Here is one of the more popular proofs that there are an infinite number of primes (due to Euclid). Suppose there were only a finite number of primes. Then we could list them:, 3,,, 11, 13,..., P where P is the largest prime. Then, consider the number: N = 3 P + 1 Then you notice that N > P and if you divide N by one of our primes we get a remainder of 1. In other words, none of our primes divides N and therefore N should have been on our list of primes (a) Consider the numbers (motivated by Euclid s proof) and determine if they are prime or composite (find the prime factorizations): + 1 = 3 3 + 1 = 3 + 1 = 31 3 + 1 = 11 3 11 + 1 = 311 3 11 13 + 1 = 30031 3 11 13 1 + 1 = 1011 3 11 13 1 19 + 1 = 99991 3 11 13 1 19 3 + 1 = 30981 3 11 13 1 19 3 9 + 1 = 99331 (b) Would Euclid s proof have worked if instead of 3 P + 1 we had used N = 3 P 1 or perhaps even P! + 1? numbers. As in the previous question, try factoring this sequence of. Is 1 prime? If not what are its factors?. What is the largest divisor you need to check to be sure that 39 is prime? How do you know it is the largest?. Is 811 prime? How do you know for certain?. List all the primes between 1 and 00 using the Sieve of Eratosthenes.

Sieve of Eratosthenes A sieve is like a strainer. We re going to strain out the primes. To use this sieve, start with a long list of numbers (like the list below). Forget about 1, it is neither prime nor composite. You know that is a prime, so circle it. Then, cross off all multiples of (,, 8, 10,...) since you know they cannot be prime. Then, circle the next number on the list that isn t crossed out (3) and circle it. Cross off all the multiple of that number and now repeat. (The next number to circle will be.) When you are done all the circled numbers will be prime. Watch for patterns when you are doing all of this. It can be helpful to use different colored pencils. 1 3 8 9 10 11 1 13 1 1 1 1 18 19 0 1 3 8 9 30 31 3 33 3 3 3 3 38 39 0 1 3 8 9 0 1 3 8 9 0 1 3 8 9 0 1 3 8 9 80 81 8 83 8 8 8 8 88 89 90 91 9 93 9 9 9 9 98 99 100 101 10 103 10 10 10 10 108 109 110 111 11 113 11 11 11 11 118 119 10 11 1 13 1 1 1 1 18 19 130 131 13 133 13 13 13 13 138 139 10 11 1 13 1 1 1 1 18 19 10 11 1 13 1 1 1 1 18 19 10 11 1 13 1 1 1 1 18 19 10 11 1 13 1 1 1 1 18 19 180 181 18 183 18 18 18 18 188 189 190 191 19 193 19 19 19 19 198 199 00 01 0 03 0 0 0 0 08 09 10 11 1 13 1 1 1 1 18 19 0 1 3 8 9 30 31 3 33 3 3 3 3 38 39 0 1 3 8 9 0 1 3 8 9 0 1 3 8 9 0 1 3 8 9 80 81 8 83 8 8 8 8 88 89 90 91 9 93 9 9 9 9 98 99 300 301 30 303 30 30 30 30 308 309 310 311 31 313 31 31 31 31 318 319 30 31 3 33 3 3 3 3 38 39 330 331 33 333 33 33 33 33 338 339 30 31 3 33 3 3 3 3 38 39 30 31 3 33 3 3 3 3 38 39 30 31 3 33 3 3 3 3 38 39 30 31 3 33 3 3 3 3 38 39 380 381 38 383 38 38 38 38 388 389 390 391 39 393 39 39 39 39 398 399 00 01 0 03 0 0 0 0 08 09 10 11 1 13 1 1 1 1 18 19 0 1 3 8 9 30 31 3 33 3 3 3 3 38 39 0 1 3 8 9 0 1 3 8 9 0 1 3 8 9 0 1 3 8 9 80 81 8 83 8 8 8 8 88 89 90 91 9 93 9 9 9 9 98 99 00

8. The gaps between primes tends to get bigger as you go along. Lets see how much bigger this gaps gets. 1 (a) Between 1 and (b) Between 100 and (c) Between 00 and, there are 10 primes., there are 10 primes., there are 10 primes. (d) The longest run of consecutive composite numbers between 1 and 100 starts with and ends with and is long. (e) The longest run of consecutive composite numbers between 01 and 00 starts with and ends with and is long. 9. Do the gaps between the primes get long and longer or is there eventually a record-size gap that never gets beaten? Factorials can help understand this problem. A factorial, like! means to multiply all the numbers between 1 and 8 or 8 3 1 = 030. (a) Is the number below prime or composite? (Can you find a factor that is not 1 or itself?) 10! + = 10 9 8 3 1 + (b) Is the number below prime or composite? 10! + 3 = 10 9 8 3 1 + 3 (c) Based on your answers above, how many composite numbers must there be in a row, starting with 10! +? (d) Name a number which you can be sure is in a string of 99 composite numbers. (e) Name a number which you can be sure is in a string of 999 composite numbers. (f) Explain how you can be sure any record of composite numbers is a row eventually gets broken. 10. At the beginning of your list there are three odd primes in a row: 3,,. (a) Does this ever happen again in your list? (b) Can it ever happen later on, perhaps beyone 00? Why or why not? 11. You can find pairs of primes in your list that are two odd numbers in a row which are both prime. These are called twin primes, such as 1 and 19 or 1 and 3. (a) List all the twin primes less than 00. (b) We know there are infinitely many primes. We also know there is only one prime triplet. How many twin primes are there? 1 This problem is alluding to a famous theorem, called the Prime Number Theorem, that states that the number of prime less than or equal to x is approximately equal to x ln x.

1. See what numbers can be made by adding two primes. For example + =, + 3 =, 3 + 3 =, + =, 3 + = 8, + (a) Make all numbers less than 0 by adding two primes. (b) Find a composite number that is not the sum of two primes. Hint: there is one in the 0s. Is there such a number is the 30s? 0s? 0s? (c) Find a pattern for such numbers. Hint: look at the size of the gaps between primes. Explain, based on your answer, exactly how you can tell whether an odd composite number is the sum of two primes or not. (d) Can you find an even number which is not prime, and not the sum of two primes? 13. A perfect square is what you get when you multiply an integer by itself. (a) Write down the first 10 perfect sqaures. (b) List all the prime numbers less than 100. For each prime, determine if it can be written as a sum of two perfect squares. For example, = + 1 can be written as a sum but can not. For the numbers that can be written as a sum of squares, keep track of the squares you used. (c) Find a pattern that tells you which primes can be written as the sum of two squares. Hint: look for where they fall in the sieve. (d) Explain why the impossible numbers really are impossible. (e) Explain why all the primes that are possible to write as a sum of squares really are possible (why does your pattern you found will work forever?). (Warning: difficult!) 1. Prime Generating Functions: Here we want to find a function (or formula) that gives only prime numbers and, ideally, all the prime numbers. Here are two such functions that don t quite work as expected. This is a famous conjecture called Goldbach s conjecture: Every even integer n greater than two is the sum of two primes. A similar statement (actually equivalent to Goldbach s conjecture) is Every integer n greater than five is the sum of three primes. The Goldbach conjecture has not been proved or disproved.

(a) Look at one less than powers of two. So, 1 1 = 1 is not a prime. 1 = 3 is prime. n n 1 Is Prime? 1 1 No 3 Yes 3 8 9 10 11 Finish filling out the table, maybe even do some extras. See if there is a pattern for when n 1 is prime and when it is not prime. (b) Try this formula n n + 1 (due to Euler) and see if generates any primes. n n n + 1 Is Prime? 1 3 8 9 10 11 How about negative numbers? How long will this pattern hold? 1. Here is a list of all the primes less than 00 (graphic thanks to Paul Zeitz). Prime Numbers to 00, H 0 1 3 8 9 10 11 1 13 1 1 1 1 18 19 0 1 3 u t 0 1 3 8 9