Neg Pell
neg_pellWhether x^2 - d*y^2 = -1 has a positive integer solution. It does exactly when the continued-fraction period of sqrt(d) is odd. d=2, 5, and 13 do. d=3, 6, and 7 do not. 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/neg-pell
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": "neg_pell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| d | Yes |