quadratic_residues
Find all quadratic residues modulo n to solve modular arithmetic problems in number theory and cryptography applications.
Instructions
Find all quadratic residues modulo n. (Domain: arithmetic, Category: modular_arithmetic)
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": "quadratic_residues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |