numtheory[safeprime] - compute a safe prime
|
Calling Sequence
|
|
safeprime(n)
|
|
Description
|
|
•
|
The function safeprime will compute the smallest safe prime that is greater than n. A safe prime is a number p such that p is prime and is prime.
|
•
|
The command with(numtheory,safeprime) allows the use of the abbreviated form of this command.
|
|
|