Changes

Jump to navigation Jump to search
32 bytes added ,  22:49, April 18, 2007
→‎The Prime Numbers: attribute the theorm and link to sieve
Line 6: Line 6:  
The smallest prime numbers are 2, 3, 5, 7, 11, 13... .  An exmple of a [[composite number]] is 6, which is evenly divisible by both 2 and 3.
 
The smallest prime numbers are 2, 3, 5, 7, 11, 13... .  An exmple of a [[composite number]] is 6, which is evenly divisible by both 2 and 3.
   −
It is easy to prove that there are an infinite number of primes.  If there were a finite number of primes, you could multiply them all together and add 1.  The resulting number would show the existence of a new prime, since it would not be divisible by any smaller prime (it would always have a remainder of 1).
+
It is easy to prove that there are an infinite number of primes using [[Euclid's second theorem]].  If there were a finite number of primes, you could multiply them all together and add 1.  The resulting number would show the existence of a new prime, since it would not be divisible by any smaller prime (it would always have a remainder of 1).
   −
To construct a table of all prime numbers less than ''n'', you would use a method called the '''Sieve of Eratosthenes'''.  Simply write down an ordered list of all counting numbers greater than 1.  Beginning with 2*2 = 4, cross out every second number:
+
To construct a table of all prime numbers less than ''n'', you would use a method called the [[Sieve of Eratosthenes]].  Simply write down an ordered list of all counting numbers greater than 1.  Beginning with 2*2 = 4, cross out every second number:
    
:2 3 <s>4</s> 5 <s>6</s> 7 <s>8</s> 9 <s>10</s> 11 ...
 
:2 3 <s>4</s> 5 <s>6</s> 7 <s>8</s> 9 <s>10</s> 11 ...
1,129

edits

Navigation menu