Wagstaff Prime
wagstaff_primeWhether the Wagstaff number (2^p + 1)/3 is prime. p=3, 5, 7, and 31 are. p=29 is not. An even number or a composite is rejected. p runs from 3 to 31. This checks the given prime. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/wagstaff-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": {
"p": "<p>"
},
"name": "wagstaff_prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | Yes |