MORE ON PRIME NUMBERS

Similar documents
Chapter 9. Systems of Linear Equations

SOLUTIONS FOR PROBLEM SET 2

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

Chapter 11 Number Theory

PYTHAGOREAN TRIPLES KEITH CONRAD

The application of prime numbers to RSA encryption

Understanding Basic Calculus

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

8 Divisibility and prime numbers

Lecture 13 - Basic Number Theory.

Chapter 7 - Roots, Radicals, and Complex Numbers

A. The answer as per this document is No, it cannot exist keeping all distances rational.

Prime Factorization 0.1. Overcoming Math Anxiety

15 Prime and Composite Numbers

CS 3719 (Theory of Computation and Algorithms) Lecture 4

Working with whole numbers

n 2 + 4n + 3. The answer in decimal form (for the Blitz): 0, 75. Solution. (n + 1)(n + 3) = n lim m 2 1

MATH10040 Chapter 2: Prime and relatively prime numbers

Session 6 Number Theory

IB Math Research Problem

BALTIC OLYMPIAD IN INFORMATICS Stockholm, April 18-22, 2009 Page 1 of?? ENG rectangle. Rectangle

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

Some practice problems for midterm 2

Homework until Test #2

Factoring Patterns in the Gaussian Plane

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

SECTION 10-2 Mathematical Induction

FACTORING LARGE SEMI-PRIMES

8 Primes and Modular Arithmetic

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

Factoring Algorithms

x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

6.4 Logarithmic Equations and Inequalities

4. How many integers between 2004 and 4002 are perfect squares?

EQUATIONS and INEQUALITIES

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

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

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

Mathematical Induction. Mary Barnes Sue Gordon

Area and Arc Length in Polar Coordinates

Homework #2 Solutions

Notes on Factoring. MA 206 Kurt Bryan

The Euclidean Algorithm

On Generalized Fermat Numbers 3 2n +1

MODERN APPLICATIONS OF PYTHAGORAS S THEOREM

Module 3: Correlation and Covariance

26 Integers: Multiplication, Division, and Order

Unit 7: Radical Functions & Rational Exponents

Scalar Valued Functions of Several Variables; the Gradient Vector

PROPERTIES OF ELLIPTIC CURVES AND THEIR USE IN FACTORING LARGE NUMBERS

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

3.3 Real Zeros of Polynomials

Algebra 2 PreAP. Name Period

NOTES ON LINEAR TRANSFORMATIONS

Power functions: f(x) = x n, n is a natural number The graphs of some power functions are given below. n- even n- odd

Math 319 Problem Set #3 Solution 21 February 2002

Rational Exponents. Squaring both sides of the equation yields. and to be consistent, we must have

FURTHER VECTORS (MEI)

Vocabulary Words and Definitions for Algebra

2.4 Real Zeros of Polynomial Functions

PROPERTIES OF N-SIDED REGULAR POLYGONS

Chapter 4. Polynomial and Rational Functions. 4.1 Polynomial Functions and Their Graphs

Just the Factors, Ma am

c 2008 Je rey A. Miron We have described the constraints that a consumer faces, i.e., discussed the budget constraint.

Primality - Factorization

SIMPLIFYING SQUARE ROOTS

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

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

The Graphical Method: An Example

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

Solutions to Math 51 First Exam January 29, 2015

Today s Topics. Primes & Greatest Common Divisors

Continued Fractions. Darren C. Collins

5.1 Radical Notation and Rational Exponents

Congruent Number Problem

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

Quotient Rings and Field Extensions

Chapter 3 RANDOM VARIATE GENERATION

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

Quick Reference ebook

Number Sense and Operations

Factoring Polynomials

Geometric Transformations

Factoring Trinomials: The ac Method

Zeros of a Polynomial Function

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

Session 7 Bivariate Data and Analysis

Elementary factoring algorithms

This is a square root. The number under the radical is 9. (An asterisk * means multiply.)

Activity 1: Using base ten blocks to model operations on decimals

Lecture 8 : Coordinate Geometry. The coordinate plane The points on a line can be referenced if we choose an origin and a unit of 20

CAMI Education linked to CAPS: Mathematics

Linear Programming Notes V Problem Transformations

Estimated Pre Calculus Pacing Timeline

CONTENTS 1. Peter Kahn. Spring 2007

DERIVATIVES AS MATRICES; CHAIN RULE

Our Primitive Roots. Chris Lyons

MPE Review Section III: Logarithmic & Exponential Functions

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

Transcription:

MORE O PRIME UMBERS It is known that all prime numbers, with the exception of, must take the form of an odd number n+1, n0,1,,3, However it is only for special values of n that is a prime. A convenient way to present these primes is by the following four column table- n 8n+1 8n+3 8n+5 8n+7 0-3 5 7 1-11 13-17 19-3 3 - - 9 31 4 - - 37-5 41 43-47 6 - - 53-7 - 59 61-8 - 67-71 9 73 - - 79 10-83 - - 11 89 - - - 1 97-101 103 13-107 109-14 113 - - - 15 - - - 17 16-131 - - 17 137 139 - - 18 - - 149 151 19 - - 157-0 - 163-167 1 - - 173 - - 179 181-3 - - - 191 4 193-197 199 You will note that the primes in a given column differ from each other by multiples of eight and that neighboring primes at n differ from those at n+1 by six. Thus, for example, at n1 the term 8n+5101 differs from the n13 term of 8n+3107 by six as does the n14 term of 113 differ by six from 107. The term 8(13)+5109 differs from 8(18)+5149 by 5(8)40. The dashes represent odd numbers which are not prime and hence composite. Our reason for representing all primes by the four columns above is that several years ago we found a convenient a way to plot all integers in such a manner that all odd numbers lie along the diagonals yx and y-x and all even numbers along the

x or y axis in the x-y plane. The odd numbers, and hence all prime numbers( except ), are found at the intersections of the Archimedes Spiral x 4 y + y arctan( ) and the diagonals y ± x π x We show you the pattern in the following graph for the 45 prime numbers given in the above table- ote that this method of ordering the primes is far superior to that given by the well known Ulam Spiral. Many computer programs have been written for the location of primes along the Ulam Spiral and some investigators even believe that the resultant patterns give insight into the properties of primes. However, as we showed earlier (see our article on the Morphing of Ulam) the Ulam Spiral pattern can be reduced to the much simpler pattern for primes given above by a simple transformation. It means, of course, that the pattern found for Ulam s Spiral is really no more than a statement in disguised

form that all odd numbers (be they prime or composite) will lie along the diagonals shown above. To determine whether or not an intersection point between the Archimedes Spiral and the 45 degree diagonal lines yields a prime number will require applying at least one among many possible prime tests. The names of Erastothenes, Fermat, Lucas and Lehmer are attached to these different tests. Consider the number 818(10)+1 which lies along the diagonal in the first quadrant of the x-y plane. To determine if it prime or not one can apply one of the simplest prime tests, namely that of the Sieve of Erastothenes. Here one takes all rime numbers from 3 through sqrt() and divides it into. If any of the quotients turn out to be integer, then is composite. For 81 one finds 81/37 and hence 81 is composite. Consider next the larger number 1998(4)+7 lying along the diagonal in the fourth quadrant. Here one needs to divide 199 in turn by 3, 5, 7, 11, and 13. This yields 199/366.333, 199/539.800, 199/78.48, 199/1118.090, and 1999/136.993. Thus 199 must be prime since none of the prime divisors yield an integer value. When the number gets large this process becomes very time consuming and is the reason codes in cryptography using public keys are relatively secure. From the Prime umber Theorem one knows that the number of primes less than equals approximately /ln() provided that is large. Thus the approximate number of primes n p lying between and 1 equals- 1 n p, 1 < ln( ) ln( ) 1 Take the number of primes lying between 1 10,000 and 10,100. The predicted number by the above formula is n p 9.7. Using the one line MAPLE computer program- for n from 0 to 100 do {n, isprime(10,000+n)}od; we find the following ten primes- 10,007 10,009 10,037 10,039 10,061 10,067 10,069 10,079 10,091 10,099 in the same range. The approximation is thus seen to be very good. Another test for primes is the use of Fermat s Little Theorem which states that a number is likely to be prime if- 1 [ a 1] ITEGER where base ' a' equals,3,4,... We can get rid of the -1 in the expression by rewriting things as-

[3 4 + 6 1 8 3 ] Integer or- [ ( )] 4 Integer Testing the prime 7 yields the integer values 386 and 576, respectively, in the last two expressions. Thus 7 is prime. That 9 is composite follows by noting the above integer quotients yield the non-integer results 585... and 75.33333. The difficulty with the Fermat Prime Test and its above combinations is that the numbers become unwieldy as gets large. For example, to show that 199 is prime requires an evaluation of- 197 ( 199 ) /(199) This indeed turn out to be an integer and hence 199 is prime. However, the integer one is dealing with is the 117 digit monster- 81100817539858539444697613159906761847161718439959375919845\ 65184067310640115451904199991916580654547788608 What is quite clear from these results is that for larger primes the Fermat test and its variations (and also the Sieve of Eratothenes) become impractical as gets large. Be that as it may, we can determine, at least in principle, which odd number along a given diagonal is prime by using the Fermat Test in the form- [ k 56 [ ] n 1] Integer with k 0,1,, 3 and 8n + k + 1 The value of k used depends on which diagonal the number lies. One has k0 for quadrant one numbers, k1 for quadrant two numbers, k for quadrant three numbers and k3 for quadrant four numbers. To test things out, look at 17 which lies along the diagonal in the first quadrant so that k0 and n. We get- [56 1] 17 65535 17 3855 so 17 is prime

As a second example take the number 139 from the 8n+3 column at n17. The Fermat test gives- [ 56 139 17 1] 50688371369855150107596979146089837 Thus 139 is also a prime number. We point out that the well known Mersenne Primes of the form M(m) m -1 for m,3,5,7,13,17,19,31,61,89, etc all lie along the diagonal in the fourth quadrant so that M(n) has to be of the form 8n+7. Thus we get the identity- m 3 n +1 Consider the Mersenne prime M(7)17. Here the identity yields n15 meaning the number lies in the fourth quadrant at the 15 th turn of the Archimeds spiral. ote that so far only 47 Mersenne Primes have been found although it is believed there are an infinite number. They form a small sub-set of the remaining infinite number of 8n+7 primes. Look at column four of the above table to see the first twelve of these. In binary form all primes and composite numbers lying along the diagonal in the fourth quadrant end in 111. Thus and the Mersenne Prime 167 10100111, 19110111111, and- 19-1 5487 becomes 1111111111111111111 in binary 61-1 30584300913693951 becomes 1111111111111111111111111111111111111111111111111111111111111 We point out that the Mersenne umbers n -1 which are not prime still have the same 111111111 binary notation as this is a consequence of their definition equation and says nothing about the number being prime or not. As a final observation we note that all known Mersenne Primes end in 1 or 7 when expressed in base10 notation. Thus those primes of the form 8n+7 ending in 3 or 9 may be discarded as possible Mersenne Primes. ovember 010