0% found this document useful (0 votes)
78 views1 page

Subgroups of Dihedral Group in GAP

This document demonstrates working with subgroups of the dihedral group of order 6 in GAP. It defines the dihedral group D3, generates subgroups from its elements (1,2,3) and (2,3), and shows the elements of each subgroup. It also generates a third subgroup from the product (1,3) of generators and displays its elements.

Uploaded by

aye pyone
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views1 page

Subgroups of Dihedral Group in GAP

This document demonstrates working with subgroups of the dihedral group of order 6 in GAP. It defines the dihedral group D3, generates subgroups from its elements (1,2,3) and (2,3), and shows the elements of each subgroup. It also generates a third subgroup from the product (1,3) of generators and displays its elements.

Uploaded by

aye pyone
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Subgroups of Dihedral Group in GAP

gap> d3:=DihedralGroup(IsPermGroup,6);

Group([ (1,2,3), (2,3) ])

gap> a:=d3.1;

(1,2,3)

gap> H:=Subgroup(d3,[a]);

Group([ (1,2,3) ])

gap> Elements(H);

[ (), (1,2,3), (1,3,2) ] (1)

gap> b:=d3.2;

(2,3)

gap> H1:=Subgroup(d3,[b]);

Group([ (2,3) ])

gap> Elements(H1);

[ (), (2,3) ] (2)

gap> (1,2,3)*(2,3);

(1,3)

gap> c:=(1,2,3)*(2,3);

(1,3)

gap> H2:=Subgroup(d3,[c]);

Group([ (1,3) ])

gap> Elements(H2);

[ (), (1,3) ] (3)

gap> d:=(1,2,3)*(1,2,3)*(2,3);

(1,2)

gap> H3:=Subgroup(d3,[c]);

Group([ (1,3) ])

gap> Elements(H3);

[ (), (1,3) ]

You might also like