Goldbach Check
goldbach_checkWhether p and n-p are both prime. For n=10, p=3 and p=5 work, and p=2 does not. n is even, from 4 to 10000, and p runs from 2 to 10000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/goldbach-check
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>",
"p": "<p>"
},
"name": "goldbach_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| p | Yes |