number theory (primitive root)