# How can I compute the orbits of an automorphism group?

I am new on automorphisms, need to know how to compute the orbits of an automorphism group in Sage.

How can I compute the orbits of an automorphism group?

asked **
2018-08-08 03:31:56 -0600
**

Anonymous

I am new on automorphisms, need to know how to compute the orbits of an automorphism group in Sage.

1

Let's say that you are considering the automorphism group of a graph. Then, you do:

```
sage: edges = [(0,1), (1,2), (2,3), (3,4), (4,5), (5,3)]
sage: G = Graph(edges, format='list_of_edges')
sage: group = G.automorphism_group()
sage: group
Permutation Group with generators [(4,5)]
sage: group.orbits()
[[0], [1], [2], [3], [4, 5]]
```

You may also get both the automorphism group and the orbits from the graph:

```
sage: group, orbits = G.automorphism_group(orbits=True)
sage: group
Permutation Group with generators [(4,5)]
sage: orbits
[[0], [1], [2], [3], [4, 5]]
```

Asked: **
2018-08-08 03:31:56 -0600
**

Seen: **303 times**

Last updated: **Aug 17 '18**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.

Could you please provide an explicit construction of your automorphism group ?