/* www-ATLAS of Group Representations. G2(3) represented as 27 x 27 matrices over GF(3). */ F:=GF(3); x:=CambridgeMatrix(1,F,27,[ "010000000000000000000000000", "100000000000000000000000000", "000010000000000000000000000", "000001000000000000000000000", "001000000000000000000000000", "000100000000000000000000000", "000000001000000000000000000", "000000000100000000000000000", "000000100000000000000000000", "000000010000000000000000000", "000000000000010000000000000", "000000000000001000000000000", "000000000000000010000000000", "000000000010000000000000000", "000000000001000000000000000", "000000000000000000001000000", "000000000000100000000000000", "000000000000000000000010000", "000000000000000000000001000", "000000000000000000000000010", "000000000000000100000000000", "212010000011022202211111020", "000000000000000001000000000", "000000000000000000100000000", "122211122112021201101022100", "000000000000000000010000000", "001122211201202111022020011"]); y:=CambridgeMatrix(1,F,27,[ "001000000000000000000000000", "000100000000000000000000000", "120100000000000000000000000", "102100000000000000000000000", "000000100000000000000000000", "000000010000000000000000000", "200220200000000000000000000", "000000000010000000000000000", "000000000001000000000000000", "000000000000100000000000000", "000001000000000000000000000", "000000000000000100000000000", "000000000000000001000000000", "000000000000000000100000000", "000000000000000000010000000", "000000001000000000000000000", "000000000000000000000100000", "000000000100000000000000000", "000000000000000000000000100", "000000000000000000000000001", "121222220121121021101210101", "112202020202201222111102000", "102002200201000122200200121", "012021202210222102222212202", "000000000000010000000000000", "201012022102220002020210120", "000000000000001000000000000"]); G:=MatrixGroup<27,F|x,y>; print "Group G is G2(3) < GL(27,GF(3))";