compute a safe prime
Important: The numtheory package has been deprecated. Use the superseding command NumberTheory[NextSafePrime] instead.
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 p−12 is prime.
The command with(numtheory,safeprime) allows the use of the abbreviated form of this command.
Download Help Document
What kind of issue would you like to report? (Optional)