how to find number of generators of a cyclic group