cf_solve_pell
Solve Pell's equation x² - ny² = 1 using continued fractions to find integer solutions for given n.
Instructions
Solve Pell's equation x² - ny² = 1 using continued fractions. (Domain: arithmetic, Category: continued_fractions)
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": "cf_solve_pell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |