Polite Split
polite_splitThe shortest sum of consecutive positive integers equal to n. 9 is 4+5, so it starts at 4 and has length 2. 6 is 1+2+3. 100 starts at 18 and has length 5. A power of two is rejected. n runs from 1 to 1000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/polite-split
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": "polite_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |