Neg Pell Count
neg_pell_countHow many nonsquares from 1 through n have an odd continued-fraction period, so the negative Pell equation is solvable. Through 2 there is 1, through 10 there are 3, and through 13 there are 4. n runs from 1 to 500. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/neg-pell-count
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": "neg_pell_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |