Factorial Prime
factorial_primeWhether n! + 1 and n! - 1 are prime. Both are prime for n=3. For n=11, only n! + 1 is prime. For n=12, only n! - 1 is prime. n! - 1 is not prime for n=0 or 1. n runs from 0 to 12. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/factorial-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": "factorial_prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |