Thue Morse
thue_morseThe nth Thue-Morse bit, the parity of the number of 1-bits in n. t(0) is 0, t(1) is 1, and t(2) is 1. n 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-morse
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": "thue_morse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |