Least Primitive Root
least_primitive_rootThe least primitive root modulo the prime p. It is 1 for 2, 3 for 7, 5 for 23, and 6 for 41. p must be prime and runs from 2 to 1000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/least-primitive-root
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": "least_primitive_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | Yes |