Primorial Prime
primorial_primeWhether n# + 1 and n# - 1 are prime, where n# is the product of the primes up to n. 5# is 30, and both neighbors are prime. 7# is 210, and only 211 is prime. n runs from 2 to 30. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/primorial-prime
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": {
"n": "<n>"
},
"name": "primorial_prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |