I'll point out that conjugacy classes also support the Elements method.
That makes it easy to get all the subgroups with a one line command:
Flat(List(ConjugacyClassesSubgroups(G), x->Elements(x)));
(I know it's easy, but it seems to be a common question).
Of course, it might be more useful/understandable to use xgap or
Gap.app to draw the Hasse diagram, i.e., the subgroups with their inclusion
relations.
Best,
--Russ
On Mar 28, 2012, at 8:19 AM, Mathieu Dutour wrote:
> Use
> ConjugacyClassesSubgroups(SymmetricGroup(6));
> The use "Representative" to get the representatives and
> then do conjugation to get all of them.
>
> On Wed, Mar 28, 2012 at 3:05 PM, Mr. Sorouhesh <[email protected]> wrote:
>
>> Dear friends,
>>
>> Kindly asking: Can we ask GAP to list all subgroups of a group, for example
>> S5 or S6?
>>
>> Best
>> _______________________________________________
>> Forum mailing list
>> [email protected]
>> http://mail.gap-system.org/mailman/listinfo/forum
>>
> _______________________________________________
> Forum mailing list
> [email protected]
> http://mail.gap-system.org/mailman/listinfo/forum
_______________________________________________
Forum mailing list
[email protected]
http://mail.gap-system.org/mailman/listinfo/forum