Collatz Next
collatz_nextOne Collatz step. An even number is halved and an odd number goes to 3n+1. 1 goes to 4, 2 goes to 1, 3 goes to 10, and 6 goes to 3. n runs from 1 to 1000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/collatz-next
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": "collatz_next"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |