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)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"p": "<p>"
},
"name": "is_sophie_germain_prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | Yes |