I am new to Group Theory and GAP as well. I am given a list of Permutations say
gap> a:=[(1,2), ()]
How can i check whether these permutations form a Group themselves. Apart from the obvious method of, checking equality of Group list generated by a and list a
gap> AsList(Group(a))=a ?
Maybe you could try
G is the group generated by the permutations (1,2) and ().