Primitive Root
primitive_rootWhether g is a primitive root modulo the prime p. 3 is a primitive root mod 7, and 2 is not. 1 is a primitive root mod 2. 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/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": {
"g": "<g>",
"p": "<p>"
},
"name": "primitive_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| g | Yes | ||
| p | Yes |