Carmichael Sum
carmichael_sumThe sum of the Carmichael numbers that are at most n. Through 561 it is 561, through 1105 it is 1666, through 1729 it is 3395, and through 8911 it is 24193. n runs from 1 to 10000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/carmichael-sum
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_sum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |