Sqrt Period
sqrt_periodThe period of the continued fraction of sqrt(d). sqrt(2) has period 1, sqrt(3) has period 2, sqrt(7) has period 4, and sqrt(13) has period 5. A square is rejected. d 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/sqrt-period
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": {
"d": "<d>"
},
"name": "sqrt_period"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| d | Yes |