is_sophie_germain_prime
Determine if a prime number is a Sophie Germain prime by verifying that 2p + 1 is also prime.
Instructions
Check if a prime p is a Sophie Germain prime (2p + 1 is also prime). (Domain: arithmetic, Category: special_primes)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | Yes |