[GAP Forum] I think I found a bug.

Lisette Brillemans lisette.brillemans at mensa.nl
Tue Jul 13 12:28:43 BST 2010


LS


I'm using the latest version of GAP on linux and have read all the
bugfixes but didn't find this one:

If you type this:


S:=SymmetricGroup(9);
for a in [1..9] do
 Print(Orbit(S,a),"\n");
od;

The output is as follows:

[1,2,3,4,5,6,7,8,9]
[2,3,1,4,5,6,7,8,9]
[3,4,5,6,7,8,9,1,2]
[4,5,6,7,8,9,1,2,3]
[5,6,7,8,9,1,2,3,4]
[6,7,8,9,1,2,3,4,5]
[7,8,9,1,2,3,4,5,6]
[8,9,1,2,3,4,5,6,7]
[9,1,2,3,4,5,6,7,8]

The problem is the second line:

[2,3,1,4,5,6,7,8,9]

Which, according to me, is incorrect.

But apart from that GAP is a splendid program which possibilities still
surprise me everyday.

With regards.

Lisette Brillemans
Rotterdam, Holland




More information about the Forum mailing list