/* www-ATLAS of Group Representations. G2(3) represented as 7 x 7 matrices over GF(3). */ F:=GF(3); x:=CambridgeMatrix(1,F,7,[ "0100000", "1000000", "0001000", "0010000", "0000010", "0000100", "1111222"]); y:=CambridgeMatrix(1,F,7,[ "1000000", "0010000", "2220000", "0000100", "2002200", "0000001", "2000022"]); G:=MatrixGroup<7,F|x,y>; print "Group G is G2(3) < GL(7,GF(3))";