Alternating Prime
alternating_primeWhether the alternating factorial a(n) is prime. It is for 3, 4, 5, 6, 7, 8, and 10. It is not for 1, 2, 9, or 12. n runs from 1 to 12. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/alternating-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": "alternating_prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |