order_modulo
Calculate the multiplicative order of an integer modulo n to determine the smallest positive exponent where a^k ≡ 1 mod n.
Instructions
Find the multiplicative order of a 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": {
"a": "<a>",
"n": "<n>"
},
"name": "order_modulo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| n | Yes |