Jacobsthal
jacobsthalThe nth Jacobsthal number. J0 is 0, J1 is 1, and each later term is the previous one plus twice the one before that. An optional modulus reduces the term, and zero is rejected. n runs from 0 to 8192. Past 15 digits the value is a decimal string. Returns JSON with: n, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/jacobsthal
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": "jacobsthal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| mod | No |