/* www-ATLAS of Group Representations. 2.G2(4) represented as 12 x 12 matrices over GF(3). */ F:=GF(3); x:=CambridgeMatrix(1,F,12,[ "111222210012", "112122221021", "002002202222", "101120201012", "112122020201", "002002101111", "202210111201", "212000211201", "020010202120", "200012001010", "011122122202", "201011200100"]); y:=CambridgeMatrix(1,F,12,[ "112220010022", "012201020101", "111122002222", "221202122002", "222210221110", "022012110111", "222202221211", "121200021210", "211221102121", "010122111101", "120202210222", "102100020021"]); G:=MatrixGroup<12,F|x,y>; print "Group G is 2.G2(4) < GL(12,GF(3))";