[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.14759689 [View]
File: 153 KB, 445x369, 2E09CC13-061B-4950-9D57-E6E646D2DFDB.gif [View same] [iqdb] [saucenao] [google]
14759689

That's just the sieve of Eratosthenes. Look at when they eliminate all numbers divisible by 3. There are two kinds of numbers divisible by 3, the odd and the even, and the pattern that repeats throughout all numbers is
a, (divisible by 3, odd), b, c, (divisible by 3, even), d
The numbers a, b, and "divisible by 3, even" are even, so they can't be prime numbers. The first number divisible by 3 also can't be a prime.
Primes can only be c and d in this notation. The even number divisible by 3 is also divisible by 6, so it can be expressed as 6*k. Therefore, c and d are 6*k +/- 1, and so are all primes.

>> No.9275686 [View]
File: 154 KB, 445x369, Sieve_of_Eratosthenes_animation.gif [View same] [iqdb] [saucenao] [google]
9275686

>>9275437
If I understand it correctly, the book is talking about the case where you're using the sieve of Eratosthenes to get the list of prime numbers up to and including n. I think the part you quoted is there to explain that you don't have to cross out multiples of m = 11, 13, etc, when you're only trying to find the primes up to n = 100, this is why it talks in the context of n and not m.
The reason you don't get it may be that you don't get the difference between a run of the mill prime finding algorithm and a sieve.

>> No.8295250 [View]
File: 154 KB, 445x369, 1421476762958.gif [View same] [iqdb] [saucenao] [google]
8295250

>> No.7422394 [View]
File: 154 KB, 445x369, Sieve_of_Eratosthenes_animation[1].gif [View same] [iqdb] [saucenao] [google]
7422394

>>7422386
1 being prime means you need to make an exception for it with the sieve of Eratosthenes, and you might consider that sieve to be what's really "going on" rather than the almost equivalent divisor definition.

>> No.7265395 [View]
File: 154 KB, 445x369, Sieve_of_Eratosthenes_animation.gif [View same] [iqdb] [saucenao] [google]
7265395

Sieve of Eratosthenes

>> No.6527952 [View]
File: 154 KB, 445x369, Sieve_of_Eratosthenes.gif [View same] [iqdb] [saucenao] [google]
6527952

Definition: A natural number (i.e. 1, 2, 3, 4, 5, 6, etc.) is called a prime or a prime number if it has exactly two positive divisors, 1 and the number itself.

The number 2 is prime but the number 1 is excluded to uphold the fundamental theorem of arithmetic.

en.wikipedia.org/wiki/Prime_number

>> No.6042829 [View]
File: 154 KB, 445x369, prime_numbers_.gif [View same] [iqdb] [saucenao] [google]
6042829

>>6042774

this

>> No.5621604 [View]
File: 154 KB, 445x369, Sieve_of_Eratosthenes_animation.gif [View same] [iqdb] [saucenao] [google]
5621604

>>5621316

>> No.5290604 [View]
File: 154 KB, 445x369, Sieve_of_Eratosthenes_animation[1].gif [View same] [iqdb] [saucenao] [google]
5290604

>> No.4955051 [View]
File: 154 KB, 445x369, Sieve_of_Eratosthenes_animation.gif [View same] [iqdb] [saucenao] [google]
4955051

Is every number that is not evenly divisible by 2, 3, 5, or 7 prime?

Navigation
View posts[+24][+48][+96]