Perfect, Prime, and Sierpiński Numbers A mathematical excursion from the time of Pythagoras to the computer age Lane Community College Academic Colloquium.

Slides:



Advertisements
Similar presentations
Copyright © Cengage Learning. All rights reserved.
Advertisements

With examples from Number Theory
Presented by Alex Atkins.  An integer p >= 2 is a prime if its only positive integer divisors are 1 and p.  Euclid proved that there are infinitely.
Prime numbers are extremely important because they are the basis for many daily applications. In fact, thanks to the primes, we can today count on cryptosystems,
Copyright © Cengage Learning. All rights reserved.
Prime Numbers and How to Avoid Them Pi Mu Epsilon April 19, 2012 CWRU.
Chapter 5 Number Theory © 2008 Pearson Addison-Wesley. All rights reserved.
PrasadPrimes1 VEDIC MATHEMATICS : Primes T. K. Prasad
Prime Numbers: A Recent Discovery, Secure Communications, and Million Dollar Prizes George T. Gilbert TCU January 29, 2003.
Section 4.1: Primes, Factorization, and the Euclidean Algorithm Practice HW (not to hand in) From Barr Text p. 160 # 6, 7, 8, 11, 12, 13.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Whiteboardmaths.com © 2004 All rights reserved
Euclidean Number theory From the Algorithm to the Basic Theory of Numbers.
Whiteboardmaths.com © 2004 All rights reserved
CHAPTER 11 – NUMBER THEORY
Induction and recursion
The Primal Enigma of Mersenne Primes By Irma Sheryl Crespo Proof and its examples, puzzle, and the overall presentation by Irma Crespo. Are Mersenne Primes.
More Number Theory Proofs Rosen 1.5, 3.1. Prove or Disprove If m and n are even integers, then mn is divisible by 4. The sum of two odd integers is odd.
∞Exploring Infinity ∞ By Christopher Imm Johnson County Community College.
CSE115/ENGR160 Discrete Mathematics 03/15/11
Fermat’s Last Theorem Samina Saleem Math5400. Introduction The Problem The seventeenth century mathematician Pierre de Fermat created the Last Theorem.
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
SECTION 5-2 Large Prime Numbers Slide THE INFINITUDE OF PRIMES Slide There is no largest prime number. Euclid proved this around 300 B.C.
The Distribution of Prime Numbers
prime numbers: facts and discoveries
CS 2210 (22C:019) Discrete Structures Logic and Proof Spring 2015 Sukumar Ghosh.
Copyright © Cengage Learning. All rights reserved.
Number Theory Number Theory: A reflection of the basic mathematical endeavor. Exploration Of Patterns: Number theory abounds with patterns and requires.
Chapter 3 Greek Number Theory The Role of Number Theory Polygonal, Prime and Perfect Numbers The Euclidean Algorithm Pell’s Equation The Chord and Tangent.
Section 5.1 Number Theory.
Math For Cryptology This presentation contains the fundamental math you need to understand cryptology. It is not the case that this math will make you.
CSCI 1900 Discrete Structures
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 3 (Part 2): The Fundamentals: Algorithms, the.
Slide 5-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
MATH 224 – Discrete Mathematics
BIRKDALE HIGH SCHOOL MATHEMATICS DEPARTMENT
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Shaping Modern Mathematics: The Queen of Mathematics Raymond Flood Gresham Professor of Geometry.
Methods of Proof. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical theorems. Direct.
Prabhas Chongstitvatana 1 Primality Testing Is a given odd integer prime or composite ? No known algorithm can solve this problem with certainty in a reasonable.
© T Madas. A prime number or simply a prime, is a number with exactly two factors. These two factors are always the number 1 and the prime number itself.
CompSci 102 Discrete Math for Computer Science
Chapter 7 Advance Counting Techniques. Content Recurrence relations Generating function The principle of inclusion-exclusion.
Computational Number Theory - traditional number theory Prime Numbers Factors Counting Factors D- functions.
Thought Experiment Take a piece of paper one thousandth of an inch thick Now fold it in half and then in half again Do this 50 times (I know that this.
Ch. 11: Cantor’s Infinity!. N = {1, 2, 3, 4, 5, 6, …} “the natural numbers” Z = {…, –3, –2, –1, 0, 1, 2, 3, …} “the integers” Q = {all quotients “a/b”
By MUHAMMAD YUSRAN BASRI MATH ICP B Many early writers felt that the numbers of the form 2 n -1 were prime for all primes n, but in 1536 Hudalricus.
In section 11.9, we were able to find power series representations for a certain restricted class of functions. Here, we investigate more general problems.
Copyright © 2009 Pearson Education, Inc. Chapter 5 Section 1 - Slide 1 Chapter 1 Number Theory and the Real Number System.
Math 409/409G History of Mathematics Books VII – IX of the Elements Part 3: Prime Numbers.
Chapter 2 (Part 1): The Fundamentals: Algorithms, the Integers & Matrices The Integers and Division (Section 2.4)
P RIME N UMBERS. W HAT IS A P RIME N UMBER ? In mathematics, a prime number (or a prime) is a natural number which has exactly two distinct natural number.
 2012 Pearson Education, Inc. Slide Chapter 5 Number Theory.
Whiteboardmaths.com © 2004 All rights reserved
9.1 Primes and Related Congruence Equations 23 Sep 2013.
MA/CSSE 473 Day 09 Modular Division Revisited Fermat's Little Theorem Primality Testing.
Chapter 4 With Question/Answer Animations 1. Chapter Summary Divisibility and Modular Arithmetic - Sec 4.1 – Lecture 16 Integer Representations and Algorithms.
◙ The Ishango Bone (dated – BC)
Slide Copyright © 2009 Pearson Education, Inc. Slide Copyright © 2009 Pearson Education, Inc. Chapter 1 Number Theory and the Real Number System.
TOK: Mathematics Unit 1 Day 1. 2 – B 2 = AB – B 2 Factorize both sides: (A+B)(A-B) = B(A-B) Divide both sides by (A-B): A = B = B Since A = B, B+B=B Add.
CS 2210:0001 Discrete Structures Logic and Proof
Section 5.1 Number Theory.
PowerPointmaths.com © 2004 all rights reserved
Chapter 4 (Part 1): Induction & Recursion
Handbook of Applied Cryptography - CH4, from 4.1~4.3
Perfect numbers.
Number Theory (Chapter 7)
Section 5.1 Number Theory.
Section 5.1 Number Theory.
Presentation transcript:

Perfect, Prime, and Sierpiński Numbers A mathematical excursion from the time of Pythagoras to the computer age Lane Community College Academic Colloquium – April 9, 2009 Phil Moore

Euclid’s Elements, ~300 B.C. Book VII, Definition 22: “A perfect number is that which is equal to its own parts.” Examples: 6 = =

Source of the concept Plato’s Theaetetus contains a section indicating that the idea predates Euclid. Later tradition credits the Pythagoreans, but Aristotle documents a different use by them of the term perfect number. The unit fractions of the Egyptians have also been suggested as a source: 1/2 + 1/3 + 1/6 = 1, for example.

Euclid’s Elements, Book IX, Proposition 36 “If as many numbers as we please, beginning from a unit be set out continuously in double proportion, until the sum of all becomes prime, and if the sum multiplied into the last make some number, the product will be perfect.” Illustration in proof: = 31 is prime, so 31 x 16 = 496 is perfect.

Euclid’s formula:If 2 n –1 is prime, then 2 n-1 (2 n –1) is perfect.

Eratosthenes, ~250 B.C. Showed how to systematically produce tables of primes using a “sieve”. Presumably could have easily discovered that = 127 was prime, thus proving that 2 6 (2 7 -1) = 8128 was the fourth perfect number.

The Neo-Pythagoreans Philo Judaeus, The Creation of the World, (c. 30 A.D.): “It was fitting, therefore, that the world, being the most perfect of created things, should be made according to the perfect number, namely, six.”

Nicomachus, Introduction to Arithmetic, (c. 100 A.D.) “It comes about that even as fair and excellent things are few and easily enumerated, while ugly and evil ones are widespread, so also the superabundant and deficient numbers are found in great multitude and irregularly placed – for the method of their discovery is irregular – but the perfect numbers are easily enumerated and arranged with suitable order; for only one is found among the units, 6, only one other among the tens, 28, and a third in the rank of the hundreds, 496 alone, and a fourth within the limits of the thousands, that is, below ten thousand, And it is their accompanying characteristic to end alternately in 6 or 8, and always to be even.”

Table of factors of 2 n –1, for n to –1 = –1 = 3prime 2 3 –1 = 7prime 2 4 –1 = 15 = 3 · –1 = 31prime 2 6 –1 = 63 = 3 · 3 · –1 = 127prime 2 8 –1 = 3 · 5 · –1 = 511 = 7 · –1 = 1023 = 3 · 11 · 31 Note: n is prime when 2 n –1 is prime!

Arabic mathematicians Ibn al-Haytham (Alhazen, ) attempted to show that all even perfect numbers were of Euclid’s form. Ibn Fallus ( ) claimed that Euclid’s formula gave primes for n = 2, 3, 5, 7, 9, 11, 13, 17, 19, and 23.

Italians and Germans Regiomontanus and anonymous codices (c ): n = 2, 3, 5, 7, 13, 17 give the first six perfect numbers according to Euclid’s formula. Case of 13 was justified –1 = 131,071 would have required 72 divisions to prove it prime. It was also noted that 2 11 –1 = 2047 was equal to 23·89 and was therefore not prime.

Cataldi ( ) Proved that n must be prime and used a table of all primes up to 750 to prove that n = p = 2, 3, 5, 7, 13, 17, and 19 generate the first seven perfect numbers –1 = 524,287 required 128 divisions by all the primes up to 719 to prove it is prime.

Pierre de Fermat ( ) Discovered that all possible factors of 2 p –1 for p prime must be of the form 2kp + 1 and found factors for p = 23, 37, and possibly 29, eliminating these as possible perfect number generators. What about p = 31?

Marin Mersenne ( ) Claimed that 2 p – 1 was prime for p = 2, 3, 5, 7, 13, 17, 19, 31, 67, 127, 257, and for no other numbers in this range. His conjecture resulted in a prime of the form 2 p – 1 being named a Mersenne prime.

Leonhard Euler ( ) Showed that factors of 2 p – 1 must leave a remainder of 1 or 7 upon division by 8, which reduced the number of possible factors by roughly half. He then proved that 2 31 – 1 is prime by testing all 84 possible prime factors.

Euler also proved that all even perfect numbers were given by Euclid’s formula. Descartes had said he saw no reason that an odd perfect number could not exist, but Euler discovered some strong constraints on the form of any such number.

Édouard Lucas ( ) Invented a primality testing method for Mersenne numbers in 1876 that did not require testing all possible factors. Computed that p = 127 resulted in a Mersenne prime. Computed that p = 67 resulted in a composite, but the composite character of 2 67 – 1 was not considered settled until 1894.

Between 1883 and 1914, the Mersenne primes for p = 61, 89, and 107 were discovered, resulting in a total of 12 known Mersenne primes and 12 known perfect numbers.

Derrick H. Lehmer ( ) Refined Lucas’ test, now known as the Lucas-Lehmer primality test for Mersenne numbers. Lehmer and his wife, Emma Trotskaia Lehmer, proved in 1932 that – 1, the last number on Mersenne’s list, was actually composite.

The Lucas-Lehmer test S 1 = 4 S 2 = 4 2 – 2 = 14 S 3 = 14 2 – 2 = 194 S 4 = – 2 = 37634, etc. For p ≥ 3 a prime, 2 p – 1 is prime if and only if S p- 1 is divisible by 2 p – 1. Example: 2 5 – 1 = 31 so since S 4 = is divisible by 31, 31 must be prime.

Considerations for efficient Lucas-Lehmer testing The S n grow extremely rapidly, with roughly double the number of digits at each iteration. This can be dealt with by dealing only with the remainders: 194 ÷ 31 = 6, remainder 8, so 8 2 – 2 = 62, divisible by 31. Multiplying or squaring numbers with millions of digits can be done efficiently using Fast Fourier Transforms (FFT).

Dawn of computer age All p up to 257 were settled. Max Newman and Alan Turing tested all p up to 509 on the University of Manchester Mark I computer in 1951 without finding any more Mersenne primes.

Raphael Robinson ( ) Used the SWAC computer at UCLA between January and October of Discovered 5 new Mersenne primes for p = 521, 607, 1279, 2203, and Brought the total number of known Mersenne primes to 17.

By 1996, there were 34 known Mersenne primes, with the last eight discoveries made on supercomputers.

Great Internet Mersenne Prime Search (GIMPS) Launched in 1996 by George Woltman. Over 100,000 participants. Assignments coordinated by the PrimeNet server. Has discovered 12 new Mersenne primes in 13 years.

Largest known prime: 2 43,112,609 – 1 Discovered August 23, Contains 12,978,189 decimal digits. Verified using multi-processor machines. The associated perfect number, 2 43,112,608 (2 43,112,609 – 1), contains 25,956,377 digits! Claimed the EFF $100,000 prize for the first proven prime of over ten million digits.

Odd perfect numbers? The question of their existence has been called the oldest unsolved math problem. Must contain over 300 digits. Must contain at least 75 prime factors. Must contain at least 9 distinct prime factors. Heuristic arguments suggest that none exist, but the question is still open.

Fermat primes Fermat knew that for 2 n +1 to be prime, n must be a power of 2: = 3prime = 5prime = 17prime = 257prime = 65537prime Fermat thought that these numbers 2 2 m + 1 were always prime!

WRONG! Euler proved in 1732 that , the “fifth” Fermat number, was composite: = 4,294,967,297 = 641 · 6,700,417. We now know that the 5 th through the 32 nd Fermat numbers are all composite, as well as over 200 larger Fermat numbers. Most of these numbers have been proven composite through finding factors.

Euler and Lagrange: Any factor of a Fermat number 2 2 m + 1 must be of the form k·2 n + 1 where n ≥ m + 2. Early researchers noted that some k values gave sequences of k·2 n + 1 that were rich in primes, other k values gave sequences very sparse in primes.

Waclaw Sierpiński ( ) Proved in 1960 that there are infinitely many positive odd integer values of k such that k·2 n + 1 is composite for any positive integer n.

John Selfridge proved in 1962 that k = is an example of such a Sierpiński number, and raised the question of whether it was the smallest. It can be easily proven that for all n, 78557·2 n +1 is always divisible by at least one number in the finite “covering set” {3,5,7,13,19,37,73}.

Paul Erdős ( ) Conjectured that any Sierpiński number must have a finite covering set. Recent evidence indicates that his conjecture is probably false for certain values of k which are perfect powers. It is still believed that is the smallest Sierpiński number.

The Sierpiński Problem For each positive odd integer k < 78557, find a positive integer n such that k·2 n +1 is prime. The distributed computing project Seventeen or Bust was started in 2002 to work on the remaining 17 k values. To date, six k values are still unresolved.

The dual Sierpiński problem Replace n by a negative integer: k·2 -n +1 = (k + 2 n ) / 2 n. Again, 2 n is always composite with the same covering set {3,5,7,13,19,37,73}. Is k = the smallest positive odd integer with this property?

Dual Sierpiński investigation: For each positive odd k < 78557, find an n such that k + 2 n is prime. Of these 39,278 values of k, a prime value of k + 2 n is known for all but 33 of them. For 30 of these 33 remaining k values, a probable prime value of k + 2 n is known. The three remaining sequences are being searched by “Five or Bust”.

The largest known prime numbers number digits yearnotes 12^ Mersenne 46? 22^ Mersenne 45? 3 2^ Mersenne 44? 42^ Mersenne 43? 52^ Mersenne 42? 62^ Mersenne 41? 72^ Mersenne 40? 82^ Mersenne *2^ (Seventeen or Bust) *2^ (Seventeen or Bust) *2^ (Seventeen or Bust) *2^ (Seventeen or Bust) 132^ Mersenne *2^ *2^ *2^ (Seventeen or Bust) *2^ *2^ ^ *2^ Note: All numbers on this list are of the form N±1.

Proven primes Proofs are easier if we know all or at least many of the factors of N+1 or N-1. For large numbers which are not of such a “special form”, methods of proof are much more difficult. The largest number of general form which has so far been proven prime has 20,562 digits.

Resolution of the Mixed Sierpiński Problem Paper published by INTEGERS online journal Authors: Louis Helm, Phil Moore, Payam Samidoost, and George Woltman Abstract: Recent progress on the Sierpiński problem has resulted in the following theorem: is the smallest positive odd integer k such that both k·2 n +1 and k+2 n are composite for any positive integer n. An algorithmic enhancement to the fast Fourier transform routines used in this research is described. Prospects for the eventual resolution of both the original and the dual Sierpiński problems are estimated.

Probable primes Pass tests that all prime numbers will pass and most composite numbers will fail. Term is usually used for numbers which are not proven primes. Called “industrial grade” primes in cryptology.

Large probable primes discovered in this dual Sierpiński investigation: , discovered June 2008 at LCC, at 358,640 digits was the record holder until October , discovered January 4, 2009 by Five or Bust, at 457,022 digits held the record for a short time , discovered January 26, 2009 by Five or Bust, at 677,094 digits is the current record holder.

Fact sheet on The probability that this record probable prime is actually composite is less than one in To prove that it is actually prime would take an estimated 3 billion years. If the Generalized Riemann Hypothesis is ever proven, we could prove it is prime in just one year using 3 billion computers!

Five or Bust Begun in October 2008 to search the remaining 5 sequences 2 n + k. Sieving removes candidates divisible by a “small” factor (now up to 150 trillion or so.) Each remaining candidate is subjected to a probable prime test. The unsolved sequences correspond to the values k = 2131, 40291, and

Current search limits on n for given probabilities of solution Probability10%50%90% Sierpiński problem 4.1 x x x Dual problem 4.0 x x x 10 12

What about k·2 n – 1 ? Hans Riesel (1956): There are infinitely many values of k such that k·2 n – 1 is always composite. One such value is k = , as the sequence ·2 n – 1 has the covering set {3,5,7,13,17,241}. Is the smallest such value of k? Currently 64 odd values of k < are unsettled.

What about 2 n – k ? Replace n by -n again, and see that k·2 -n – 1 = (k – 2 n ) / 2 n. k – 2 n can be positive or negative, so take the absolute value. If k = , |2 n – | has a covering set and is therefore always composite. Is k = the smallest such value of k?

Current status of 2 n – k All n searched up to 262, values of k < are still unresolved. Another distributed search? Note: is about six and a half times larger than 78557, so the Riesel problem and the dual Riesel problem are quite a bit larger than the Sierpiński problem and its dual. These problems may never be resolved within our lifetimes!