Carmichael Number
carmichael_numberWhether n is a Carmichael number: composite, squarefree, and p-1 divides n-1 for every prime p dividing n. 561, 1105, and 1729 are. 1, 91, and 341 are not. n runs from 1 to 20000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/carmichael-number
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": "carmichael_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |