Ask Your Question
1

How to iterate over groups in increasing size

asked 2016-05-10 22:14:01 +0100

Asvin gravatar image

updated 2016-05-10 22:14:28 +0100

I would like some way to iterate over all finite groups in increasing size till I manually stop the program (preferably as permutation groups). Is there an easy command to do this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-05-11 14:49:13 +0100

vdelecroix gravatar image

updated 2016-05-11 14:49:40 +0100

In GAPthere are various databases available for groups, see http://www.gap-system.org/Datalib/dat...

Some of them are interfaced in Sage and available in the database_gap package. So first of all you have to install the package with the console command (needs internet connection)

$ sage -i database_gap

Then if you launch Sage you should be able to do

sage: for G in TransitiveGroups():
....:     print G
....:     print G.gens() 
Transitive group number 1 of degree 0
[()]
Transitive group number 1 of degree 1
[()]
Transitive group number 1 of degree 2
[(1,2)]
Transitive group number 1 of degree 3
[(1,2,3)]
Transitive group number 2 of degree 3
[(1,2), (1,2,3)]
Transitive group number 1 of degree 4
[(1,2,3,4)]
...
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-05-10 22:14:01 +0100

Seen: 238 times

Last updated: May 11 '16