A strong prime number (from the English strong prime ) is an integer with certain properties, which, however, differ depending on the perspective in cryptography or in number theory .
In number theory, a strong prime number in the number-theoretical sense is an integer that is larger than the arithmetic mean of its next smaller prime number and its next larger prime number . In other words .
Examples
The prime number is the seventh prime number. The next smaller, the sixth prime, is , the next larger, the eighth prime, is . The arithmetic mean of and is . Obviously , so is a strong prime.
The smallest strong prime numbers in the number theoretic sense are the following:
There are no prime triplets of the form because the number must divide at least one of these three numbers. If and are prime numbers, the number must divide. Thus is not prime. Thus the next lower prime of is not , but maximum . So for the arithmetic mean of the prime neighbors of , the definition for strong prime numbers is fulfilled.
The only prime twins that are not strongly prime are the pairs and (resulting from the upper property).
Definition in cryptography
In cryptography , a strong prime number is an integer in the cryptographic sense if it fulfills the following properties:
In other words, a strong prime number in the cryptographic sense should meet the following conditions:
is big enough to be used in cryptography. Because of the "size" of, cryptanalysts should not be able to factor them (that is, to break them down into their prime divisors ).
Example of a strong prime number in a number theoretic and cryptographic sense
There are strong prime numbers that meet both definitions, i.e. those in the number theoretical sense and those in the cryptographic sense. The following number meets both definitions:
The next lower prime is
The next larger prime is
Thus applies to the arithmetic mean
The number is larger than the arithmetic mean of its prime neighbors and thus it fulfills the number-theoretical definition of strong prime numbers.
The prime factorization of the number is:
It is as requested with and sufficiently large
The prime factorization of the number is:
It is as requested with and sufficiently large
The prime factorization of the number is:
It is as requested with and sufficiently large
The number thus also fulfills the cryptographic definition of strong prime numbers.
Mind you: this prime number , which is strong in both definitions, fulfills the cryptographic definition if you allow factoring algorithms that may well be more advanced than the trial division , as long as you calculate by hand. Modern computer algebra systems factor the above numbers in fractions of a second. A currently strong prime number in the cryptographic sense ( s ) must be much larger than the above number .
Designations
If you compare a prime number with the arithmetic mean of its prime neighbors and , you get the following types:
Is is called a strong prime number .
It is closer to the next prime than to the previous prime .
Is , so one calls balanced prime (from the English balanced prime ).
It lies exactly between the next prime number and the previous prime number .
Is , so one calls a weak prime number (from the English weak prime , not to be confused with the term “ weak prime number ” (from the English weakly prime number )).
It is closer to the previous prime than to the next prime .