The following commands
gap> G:=SmallGroup(6,1);
<pc group of size 6 with 2 generators>
gap> GeneratorsOfGroup(G);
[ f1, f2 ]
gap>
display the generators of $G$ in a rather abstract way. The command StructureDescription helps to understand the structure of the group, but does not tell anything about generators or generating sets. In particular, how do I get the size of a minimal generating set of some group ?
How can I display the generators or a minimal generating set more concrete, for example a^2=b^3=ab^2=e or something like that ? $f_1$ and $f_2$ is not helpful to understand the structure of a group.
UPDATE : I just found an answer that could help me. The following commands give the relations of the group.
gap> H:=Image(IsomorphismFpGroup(G));
<fp group of size 6 on the generators [ F1, F2 ]>
gap> RelatorsOfFpGroup(H);
[ F1^2, F2^-1*F1^-1*F2*F1*F2^-1, F2^3 ]
gap>
Is this a presentation of the given group ?