Fermat Prime
fermat_primeWhether the Fermat number 2^(2^n) + 1 is prime. n from 0 through 4 gives a prime. n=5 does not: 4294967297 = 641*6700417. n runs from 0 to 5. This checks the given n. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/fermat-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": "fermat_prime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |