TITLE: Find generators of a group in GAP
QUESTION [5 upvotes]: This is a question in the mathematical software called GAP:
What is the command for displaying all the generators of a given group?
I have been searching around but yet not found anything helpful, so I am hoping I will get a quick response here.

REPLY [2 votes]: I did the group according to the presentation you noted above:
F:=FreeGroup("a","b");;
a:=F.1;;
b:=F.2;; 
G:=F/[a^25,b^5,b*a*b^(-1)*a^(-6)];;
Size(G);
                                      125
StructureDescription(G);
                                  "C25 : C5"