Contents:
Appendix
Defined in File nbtheory-impl.h
A helper function to RootOfUnity function. This finds a generator of the multiplicative group of a given prime q by random trials against the prime factors of q-1.
q – a prime
a generator of Z_q^*