Thue Sum
thue_sumThe number of 1-bits in the Thue-Morse sequence from lo through hi inclusive. The sum from t(0) through t(7) is 4. lo must not pass hi. Each index runs from 0 to 1000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/thue-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": {
"lo": "<lo>",
"hi": "<hi>"
},
"name": "thue_sum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hi | Yes | ||
| lo | Yes |