/* www-ATLAS of Group Representations. S7 represented as 6 x 6 matrices over GF(3). */ F:=GF(3); x:=CambridgeMatrix(1,F,6,[ "100000", "001000", "010000", "000100", "012010", "021001"]); y:=CambridgeMatrix(1,F,6,[ "010000", "210000", "000100", "000010", "000001", "101102"]); G:=MatrixGroup<6,F|x,y>; print "Group G is S7 < GL(6,GF(3))";