Negabinary Bits
negabinary_bitsHow many 1 digits the base -2 writing of n has. 0 has none, 1 has 1, 6 has 3, and 7 has 4. n runs from 0 to 999999999999. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/negabinary-bits
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": "negabinary_bits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |