Josephus Order
josephus_orderThe elimination order in the Josephus circle, comma-separated, not including the survivor. With 5 people and every 2nd, the order is 2,4,1,5. n runs from 2 to 24 and k from 1 to 100. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/josephus-order
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>",
"k": "<k>"
},
"name": "josephus_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | ||
| n | Yes |