Hof Q
hof_qThe nth Hofstadter Q term. Q(1) and Q(2) are 1, and Q(n) = Q(n-Q(n-1)) + Q(n-Q(n-2)). Q(10) is 6, and Q(16) is 9. 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/hof-q
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": "hof_q"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |