Kolakoski
kolakoskiThe nth Kolakoski term, using a 1-based index. The sequence is 1s and 2s, and it starts 1, 2, 2, 1, 1. Term 7 is 1. n runs from 1 to 100000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/kolakoski
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": "kolakoski"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |