/* 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", "000100000000000000000000000", "001000000000000000000000000", "000001000000000000000000000", "000010000000000000000000000", "000000001000000000000000000", "000000000100000000000000000", "000000100000000000000000000", "000000010000000000000000000", "000000000000010000000000000", "000000000000001000000000000", "000000000000000010000000000", "000000000010000000000000000", "000000000001000000000000000", "000000000000000000001000000", "000000000000100000000000000", "000000000000000000000010000", "000000000000000000000001000", "000000000000000000000000010", "000000000000000100000000000", "121212122112021200211101020", "000000000000000001000000000", "000000000000000000100000000", "001212122112221011200021100", "000000000000000000010000000", "210012211202101222111012021"]); y:=CambridgeMatrix(1,F,27,[ "110000000000000000000000000", "001000000000000000000000000", "022000000000000000000000000", "000010000000000000000000000", "000000100000000000000000000", "000000010000000000000000000", "000100000000000000000000000", "000000000010000000000000000", "000000000001000000000000000", "000000000000100000000000000", "000001000000000000000000000", "000000000000000100000000000", "000000000000000001000000000", "000000000000000000100000000", "000000000000000000010000000", "000000001000000000000000000", "000000000000000000000100000", "000000000100000000000000000", "000000000000000000000000100", "000000000000000000000000001", "022100010100000011101110002", "021002022222211222110200101", "102210000120121002202201121", "120002022011021212010101202", "000000000000010000000000000", "012211211000010112221002121", "000000000000001000000000000"]); G:=MatrixGroup<27,F|x,y>; print "Group G is G2(3) < GL(27,GF(3))";