Description: Coprime powers of primitive roots are primitive roots, as a function. (Contributed by metakunt, 26-Apr-2025)