Negabinary Digit
negabinary_digitThe base -2 digit of n in place, counting from 0 at the right. For 6, which is "11010", place 0 is 0, place 1 is 1, and place 4 is 1. A place past the end is 0. n runs from 0 to 999999999999 and place runs from 0 to 60. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/negabinary-digit
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>",
"place": "<place>"
},
"name": "negabinary_digit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| place | Yes |