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)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| n | Yes |