all_primitive_roots
Calculate all primitive roots modulo n to identify generators in modular arithmetic for cryptographic and number theory applications.
Instructions
Find all primitive roots 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": "all_primitive_roots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |