Smallest Prime Factor
smallest_prime_factorThe smallest prime factor of n. It is 1 for 1, 2 for 12, 5 for 35, and 7 for 49. n runs from 1 to 1000000000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/smallest-prime-factor
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": "smallest_prime_factor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |