![]() |
|
|
| |
|
||||
In mathematics, a prime number, or prime for short, is a natural number greater than one and whose only distinct positive divisors are 1 and itself. A natural number that is greater than one and is not a prime is called a composite number. A prime number has exactly two divisors. The numbers 0 and 1 are neither prime nor composite; note that 1 has only one divisor; a factor of 1 is of no interest in any product. The number 1 used to be considered a prime (http://mathworld.wolfram.com/PrimeNumber.html). The property of being a prime is called primality. Prime numbers are of fundamental importance in number theory. The sequence of prime numbers begins
(This is sequence A000040 (http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=A000040) in OEIS; see list of prime numbers for the first 500 primes.) The set of all prime numbers is sometimes denoted by ℙ, a blackboard bold P. In the context of ring theory, a branch of abstract algebra, the term "prime element" has a specific meaning, and under this meaning, the additive inverse of any prime number is also prime. In other words, when considering the set of integers Z as a ring, −7 is a prime element. However, even among mathematicians, the term "prime number" generally means a positive prime integer.
Representing natural numbers as products of primesThe fundamental theorem of arithmetic states that every positive integer can be written as a product of primes, and in essentially only one way. Primes are thus the "basic building blocks" of the natural numbers. For example, we can write
See prime factorization algorithm for details for how to do this in practice, for larger numbers. The importance of this theorem is one of the reasons for the exclusion of 1 from the set of prime numbers. If 1 were admitted as a prime, the precise statement of the theorem would require additional qualifications.
How many prime numbers are there?There are infinitely many prime numbers. The oldest known proof for this statement is given by the Greek mathematician Euclid in his Elements (Book IX, Proposition 20). Euclid states the result as "there are more than any given [finite] number of primes", and his proof can be briefly summarized as follows:
Other mathematicians have given their own proofs. One of those (due to Euler) shows that the sum of the reciprocals of all prime numbers diverges to infinity. Kummer's is particularly elegant and Furstenberg provides one using general topology. Even though the total number of primes is infinite, one could still ask "how many primes are there below 100,000" or "How likely is a random 100-digit number to be prime?" Questions like these are answered by the prime number theorem. Finding prime numbersThe Sieve of Eratosthenes is a simple way to compute the list of all prime numbers up to a given limit. In practice though, one usually wants to check if a given number is prime, rather than generate a list of primes. Further, it is often satisfactory to know the answer with a high probability. It is possible to quickly check whether a given large number (say, up to a few thousand digits) is prime using probabilistic primality tests. These typically pick a random number called a "witness" and check some formula involving the witness and the potential prime N. After several iterations, they declare N to be "definitely composite" or "probably prime". These tests are not perfect. For a given test, there may be some composite numbers that will be declared "probably prime" no matter what witness is chosen. Such numbers are called pseudoprimes for that test. A new deterministic algorithm which finds whether a given number N is prime and which uses time polynomial in the number of digits of N has recently been described. Some properties of primes
Open questionsThere are many open questions about prime numbers. For example:
The largest known primeThe largest known prime is 224036583 − 1 (this number is 7,235,733 digits long); it is the 41st known Mersenne prime. M24036583 was found on May 15, 2004 by Josh Findley (member of a collaborative effort known as GIMPS) and it was announced in late May 2004. The next largest known prime is 220996011 − 1 (this number is 6,320,430 digits long); it is the 40th known Mersenne prime. M20996011 was found on November 17, 2003 by Michael Shafer (and GIMPS) and announced in early December 2003. The third largest known prime is 213466917 − 1 (this number is 4,053,946 digits long). It is the 39th known Mersenne prime M13466917 was found on November 14, 2001 by Michael Cameron (of GIMPS) and announced in early December 2001 after double checking. Historically, the largest known prime has almost always been a Mersenne prime since the dawn of electronic computers, because there exists a particularly fast primality test for numbers of this form, the Lucas-Lehmer test. Some of the largest primes not known to have any particular form (that is, no simple formula such as that of Mersenne primes) have been found by taking a piece of semi-random binary data, converting it to a number n, multiplying it by 256k for some positive integer k, and searching for possible primes within the interval [256kn + 1, 256k(n + 1) − 1]. In fact, as a publicity stunt against the Digital Millennium Copyright Act and other WIPO Copyright Treaty implementations, some people have applied this to various forms of DeCSS code, creating the set of illegal prime numbers. Such numbers, when converted to binary and executed as a computer program, perform acts encumbered by applicable law in one or more jurisdictions. ApplicationsExtremely large prime numbers (that is, greater than 10100) are used in several public key cryptography algorithms. Primes are also used for hash tables and pseudorandom number generators. Primality testsMain article primality test A primality test algorithm is an algorithm which tests a number for primality, i.e. whether the number is a prime number.
Some special types of primesA prime p is called primorial or prime-factorial if it has the form p = Π(n) ± 1 for some number n, where Π(n) stands for the product 2 · 3 · 5 · 7 · 11 · ... of all the primes ≤ n. A prime is called factorial if it is of the form n! ± 1. The first factorial primes are: The largest known primorial prime is Π(24029) + 1, found by Caldwell in 1993. The largest known factorial prime is 3610! − 1 [Caldwell, 1993]. It is not known if there are infinitely many primorial or factorial primes. Primes of the form 2n − 1 are known as Mersenne primes, while primes of the form <math>2^{2^n} + 1<math> are known as Fermat primes. Prime numbers p where 2p + 1 is also prime are known as Sophie Germain primes. Other special types of prime numbers include Wieferich primes, Wilson primes, Wall-Sun-Sun primes, Wolstenholme primes, unique primes, Newman-Shanks-Williams primes (NSW primes), Smarandache-Wellin primes, Wagstaff primes and supersingular primes. The base-ten digit sequence of a prime can be a palindrome, as in the prime 1031512 + 9700079 · 1015753 + 1. Prime gapsLet pn denote the n-th prime number (i.e. p1 = 2, p2 = 3, etc.). The gap gn between the consecutive primes pn and pn + 1 is the number of (composite) numbers between them, i.e.
(Slightly different definitions are sometimes used.) We have g1 = 0, g2 = g3 = 1, and g4 = 3. The sequence {gn} of prime gaps has been extensively studied. For any N, the sequence
is a sequence of N consecutive composite integers. Therefore, there exist gaps between primes which are arbitrarily large, i.e. for any natural number N, there is an integer n with gn > N. (Choose n so that pn is the greatest prime number less than (N + 1)! + 2.) On the other hand, the gaps get arbitrarily small in proportion to the primes: the quotient (gn/pn) approaches zero as n approaches infinity. We say that gn is a maximal gap if gm < gn for all m < n. The largest known maximal gap is 1131, found by T. Nicely and B. Nyman in 1999. It is the 64th smallest maximal gap, and it occurs after the prime 1693182318746371. The largest prime gap with identified gap ends known as of 1 January 2005 has a length of 2254930. See: http://hjem.get2net.dk/jka/math/primegaps/megagap2.htm Note that the Twin Prime Conjecture simply asserts that gn = 1 for infinitely many integers n. Formulae yielding prime numbersMain article formula for primes There is no formula for primes which is more efficient at finding primes than the methods mentioned above under "Finding prime numbers". Those which do exist have little practical value. The curious polynomial f(n) = n2 − n + 41 yields primes for n = 0,..., 40, but f(41) is composite. There is no polynomial which only yields prime numbers in this fashion. There is a set of diophantine equations in 25 variables and one parameter with the following property: the parameter is prime if and only if the resulting system of equations has a solution over the natural numbers. This can be used to obtain a single formula with the property that all its positive values are prime. Another formula is based on Wilson's theorem mentioned above, and generates the number two many times and all other primes exactly once. There are other similar formulae which also produce primes. GeneralizationsThe concept of prime number is so important that it has been generalized in different ways in various branches of mathematics. In number theory itself, one talks of "probable primes", integers which, by virtue of having passed a certain test, are considered to be probably prime. Probable primes which are in fact composite (such as Carmichael numbers) are called pseudoprimes. One can define prime elements and irreducible elements in any integral domain. For the ring of integers, the set of prime elements equals the set of irreducible elements; it's {...−11, −7, −5, −3, −2, 2, 3, 5, 7, 11, ...}. As another example, we can extend the integers to the Gaussian integers Z[i], that is, complex numbers of the form a + bi with a and b in Z. This is an integral domain, and its prime elements are the Gaussian primes. Note that 2 is not a Gaussian prime, because it factors into the product of the two Gaussian primes (1 + i) and (1 − i). The element 3, however, remains prime even in the Gaussian integers. In general, rational primes (i.e. prime elements in the ring of integers) of the form 4k + 3 are Gaussian primes, whereas rational primes of the form 4k + 1 are not. In ring theory, one generally replaces the notion of number with that of ideal. Prime ideals are an important tool and object of study in commutative algebra, algebraic number theory and algebraic geometry. The prime ideals of the ring of integers are the ideals (0), (2), (3), (5), (7), (11), ... In class field theory yet another generalization is used. Given an arbitrary field K, one considers valuations on K, certain functions from K to the real numbers R. Every such valuation yields a topology on K, and two valuations are called equivalent if they yield the same topology. A prime of K is an equivalence class of valuations. With this definition, the primes of the field Q of rational numbers are represented by the standard absolute value function (known as the "infinite prime") as well as by the p-adic valuations on Q, for every prime number p. Quotes
Prime number fun
References
External links
|
||
|
|
|
|
|
|
Copyright 2008 WordIQ.com - Privacy Policy
::
Terms of Use
:: Contact Us
:: About Us This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Prime number". |