FACTOID # 28: Mexico has the most Jehovah's Witnesses per capita in the OECD.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Probable prime

In number theory, a probable prime (PRP) is an integer that satisfies a condition also satisfied by all prime numbers. While there are probable primes that are composite (called pseudoprimes), they are rare, depending on the test used.


Fermat's test for compositeness, which is based on Fermat's little theorem states the following: given an integer n, choose some integer a coprime to n and calculate an − 1 modulo n. If the result is different from 1, n is composite. If it is 1, n may or may not be prime; n is then called a weak probable prime base a.


Fermat's test may be improved by using the fact that the only square roots of 1 modulo a prime are 1 and −1. Numbers indicated prime by this stronger test are known as strong probable primes (SPRP) base a .


An Euler probable prime is an integer that is indicated prime by the somewhat stronger theorem that for any prime p, and any a, a(p − 1)/2 equals (a/p) modulo p, where (a/p) is the Legendre symbol. This test is equally efficient but is twice as strong as Fermat's test. An Euler probably prime which is composite is called an Euler-Jacobi pseudoprime.


Probable primality is a basis for efficient primality testing algorithms, which find application in cryptography. These algorithms are usually probabilistic in nature. The idea is that while there are composite base a probable primes for any fixed a, we may reverse the roles: for any fixed composite n and a randomly chosen a, we can hope that n is not a base a pseudoprime, with high probability.


This is unfortunately false for weak probable primes, because there exist Carmichael numbers; but it is true for more refined notions of probable primality, such as strong probable primes (we get the Miller-Rabin algorithm), or Euler probable primes (Solovay-Strassen algorithm).


Even when a deterministic primality proof is required, a useful first step is to test for probable primality.


A PRP test is sometimes combined with a table of small pseudoprimes to quickly establish the primality of a given number smaller than some threshold.


See also

External links

  • http://primes.utm.edu/glossary/page.php?sort=PRP The prime glossary - Probable prime (http://primes.utm.edu/glossary/page.php?sort=PRP)
  • http://www.primenumbers.net/prptop/ The PRP Top 10000 (the largest known probable primes) (http://www.primenumbers.net/prptop/)

  Results from FactBites:
 
PlanetMath: probable prime (148 words)
believed to be a prime number because it has passed some preliminary primality test relative to a given base, or a pattern suggests it might be prime, but it has not yet been subjected to a conclusive primality test.
Once a probable prime is conclusively shown to be a prime, it of course loses the label "probable." It also loses it if conclusively shown to be composite, but in that case it might then be called a pseudoprime relative to base
This is version 1 of probable prime, born on 2006-05-04.
Prime number - ExampleProblems.com (3311 words)
The prime number theorem says that the proportion of primes less than x is asymptotic to 1/ln x (in other words, as x gets very large, the likelihood that a number less than x is prime is inversely proportional to the number of digits in x).
A probable prime is an integer which, by virtue of having passed a certain test, is considered to be probably prime.
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.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.