Dear Harsha,
Your Autocenter function returns a list of the elements of the autocenter, but
GAP distinguishes between a simple list of elements and a group.
The AsGroup operation will turn such a list into an actual group object (if the
elements of the list form a group, as they do here).
gap>
Dear Sir
I have written code to get autocenter of a group , that is collection of
all those elements in G which are fixed by all automorphisms of G, like
center of G as centeral elements are fixed by all inner automorphisms of G
. I have got the output. But i m not getting the structure descriptio