Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Subgroups of $\mathbb{Z}^*_n$

I am trying to write a code using SAGE to find all subgroups of $\mathbb{Z}^*_n$ where the elements of subgroups are elements of $\mathbb{Z}n$.

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?

Subgroups of $\mathbb{Z}^*_n$

I am trying to write a code using SAGE to find all subgroups of $\mathbb{Z}^*_n$ where the elements of subgroups are elements of $\mathbb{Z}n$.

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?

Subgroups of $\mathbb{Z}^*_n$

I am trying to write a code using SAGE to find all subgroups of $\mathbb{Z}^*_n$ where the elements of subgroups are elements of $\mathbb{Z}n$.$\mathbb{Z}_n$.

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?