primitive_root
Find the smallest primitive root modulo n to generate all numbers in a cyclic group for modular arithmetic applications.
Instructions
Find the smallest primitive root modulo n. (Domain: arithmetic, Category: modular_arithmetic)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |