1 | initial version |
As in your previous quiestion ,you an use the ta-completion and discover the gens
method:
sage: G = graphs.PetersenGraph()
sage: A = G.automorphism_group()
sage: A.gens()
[(3,7)(4,5)(8,9),
(2,6)(3,8)(4,5)(7,9),
(1,4,5)(2,3,8,6,9,7),
(0,1)(2,4,6,5)(3,9,8,7)]
and even the gens_small
one, which provides a small set of generators:
sage: A.gens_small()
[(0,5,7,2,1)(3,6,4,8,9), (0,9,8,2)(1,4,6,3)(5,7)]
2 | No.2 Revision |
As in your previous quiestion ,you an question, you can use the ta-completion tab-completion and discover the gens
method:
sage: G = graphs.PetersenGraph()
sage: A = G.automorphism_group()
sage: A.gens()
[(3,7)(4,5)(8,9),
(2,6)(3,8)(4,5)(7,9),
(1,4,5)(2,3,8,6,9,7),
(0,1)(2,4,6,5)(3,9,8,7)]
and even the gens_small
one, which provides a small set of generators:
sage: A.gens_small()
[(0,5,7,2,1)(3,6,4,8,9), (0,9,8,2)(1,4,6,3)(5,7)]