Beatty Sqrt2 Comp
beatty_sqrt2_compThe Beatty complement of sqrt(2), floor(n*(2+sqrt(2))). n=1 gives 3, n=2 gives 6, n=3 gives 10, and n=5 gives 17. 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/beatty-sqrt2-comp
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": "beatty_sqrt2_comp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |