Ask Your Question

Revision history [back]

Error when computing Automorphism Group

I am new to Sage. Recently, I tried to compute the Automorphism Group of $\mathbb{Z}_4\times\mathbb{Z}_2$ in the following way:

G = CyclicPermutationGroup(4)
H = CyclicPermutationGroup(2)

However, there was an error message:

Error in lines 4-4
Traceback (most recent call last):
  File "/projects/0aeca2d0-1a41-47c7-b462-f4a4432bfbf3/.sagemathcloud/", line 881, in execute
    exec compile(block+'\n', '', 'single') in namespace, locals
  File "", line 1, in <module>
AttributeError: 'tuple' object has no attribute 'automorphism_group'

May I know where does the error in the code lie? Thanks!