Subgroups of Z∗n [closed]
I am trying to write a code using SAGE to find all subgroups of Z∗n where the elements of subgroups are elements of Zn.
To elaborate, when I am using the command .subgroups(), it returns the subgroups in generator-relator form and not as integers. Is there anyway to do it?
Looks like duplicate of https://ask.sagemath.org/question/57703/ See answer there.
Thank you. It was helpful.