solve_pell_equation
Find the fundamental solution to Pell's equation x² - ny² = 1 for integer n. This tool calculates minimal positive integer solutions to this classic Diophantine equation.
Instructions
Solve Pell's equation x² - ny² = 1 for fundamental solution. (Domain: arithmetic, Category: diophantine_equations)
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": "solve_pell_equation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |