1 / 6

The sieve of eratosthenes

The sieve of eratosthenes. An ancient method for finding the prime numbers. Era-who?. Eratosthenes was a Greek mathematician from Cyrene (modern day Libya!). He was born in 276 BC, and lived until about 195 BC. . Era-what?.

pilar
Download Presentation

The sieve of eratosthenes

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The sieve of eratosthenes An ancient method for finding the prime numbers

  2. Era-who? • Eratosthenes was a Greek mathematician from Cyrene (modern day Libya!). He was born in 276 BC, and lived until about 195 BC.

  3. Era-what? • Eratosthenes was a remarkable mathematician, he is credited with being the first to calculate the circumference of the earth as well as the tilt of its axis. • He may have calculated the distance between the earth to the sun, and the idea of “leap day”. • He is the father of the discipline of geography, making the first world map which utilized parallels and meridians. • He was the third “librarian” at Alexandria. • He developed his famous sieve, an efficient method of determining “small” prime numbers (those less than a million).

  4. What’s the secret of the sieve? Start with a list of numbers, where you want to know which are prime, and which are composite. For this illustration, we will use only numbers up through 100. Cross out the number 1: it is neither prime nor composite. Start with the next number, 2, and cross out all of its multiples. You will soon see that they make a pattern in the grid….

  5. What’s the secret of the sieve? Continue with the next number, 3, and cross out all of ITS multiples. They also form a pattern in the grid. The next available number is 5. (Why is 4 not available?) Do the same thing here with it’s multiples…. Let’s cross out the multiples of 7 next…

  6. What’s the secret of the sieve? Continuing the process with 11, gives no new numbers crossed out, but if our grid included larger numbers, it would. The same is true for all remaining values….. What remains are all the prime numbers less than 100

More Related