pell_solutions_generator
Generate multiple solutions to Pell's equation x² - ny² = 1 for integer n values. This tool calculates fundamental and subsequent solutions to this classic Diophantine equation.
Instructions
Generate multiple solutions to 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>",
"num_solutions": "<num_solutions>"
},
"name": "pell_solutions_generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| num_solutions | Yes |