solve_negative_pell_equation
Find integer solutions for the Diophantine equation x² - ny² = -1, where n is a positive integer.
Instructions
Solve negative Pell's equation x² - ny² = -1. (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_negative_pell_equation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |