Hamming Index
hamming_indexWhere n sits in the Hamming sequence, counting from 1, or 0 if it is not Hamming. 1 is 1, 12 is 10, 36 is 20, and 7 is 0. n runs from 1 to 1000000000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/hamming-index
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": "hamming_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |