Complexity Count
complexity_countHow many integers from 1 through n have the same complexity as n. 5 has 1, 6 has 2, 10 has 1, and 12 has 2. n runs from 1 to 1000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/complexity-count
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": "complexity_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |