Bernoulli
bernoulliThe nth Bernoulli number as a reduced fraction, from the Akiyama-Tanigawa algorithm. B0 is 1, B1 is 1/2, B2 is 1/6, and B4 is -1/30. Odd indices after 1 are 0. n runs from 0 to 40. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/bernoulli
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": "bernoulli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |