Subgroups of Zn [closed]

asked 0 years ago

sagelearner gravatar image

updated 0 years ago

I am trying to write a code using SAGE to find all subgroups of Zn 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?

Preview: (hide)

Closed for the following reason duplicate question by Max Alekseyev
close date 2024-10-05 18:10:44.562593

Comments

Looks like duplicate of https://ask.sagemath.org/question/57703/ See answer there.

Max Alekseyev gravatar imageMax Alekseyev ( 0 years ago )

Thank you. It was helpful.

sagelearner gravatar imagesagelearner ( 0 years ago )