//Standard generators of the Janko group J2 are a and b where a is in class 2B,
//b is in class 3B, ab has order 7 and ababb has order 12.
_LR := rec < recformat< F: GrpFP, AI: SeqEnum, G: GrpMat > |
      F := FreeGroup(2) >;
_LR`AI := [ [a^-1, b^-1] ] where a is (_LR`F).1 where b is (_LR`F).2;

//two constituents, interchanged by _LR`AI[1]
_LR`G :=
MatrixGroup<14, ext<K|Polynomial(K, [-1, -1, 1])> where K is RationalField() |
[[1,0],[0,0],[
0,0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[1,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[1,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[1,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[1,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[1,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[1,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[1,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
-1,0],[-1,0],[
1,0],[1,0],[-1,1],[
1,0],[0,0],[1,
-1],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[1,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[1,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[2,2],[
2,1],[2,1],[3,
1],[3,3],[-2,-1],[
2,1],[-3,3],[
-1,-2],[1,0],[2,0],[
-1,0],[-3,0],[
-4,0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[1,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
-1,0],[0,0],[
1,0],[0,0],[1,-1],[
0,0],[-1,0],[
-1,1],[0,0],[1,0],[
1,0]],
[[0,0],[1,0],[
0,0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[1,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[1,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[1,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[1,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[1,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[1,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
1,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[1,0],[0,0],[
0,0],[-1,-1],[
0,-1],[-1,0],[-1,0],[
-1,-1],[0,0],[
-1,-1],[0,-1],[0,0],[
0,-1],[0,0],[
0,0],[0,0],[2,0],[
2,3],[1,3],[2,
2],[1,3],[3,5],[
-1,-2],[1,3],[
3,1],[-2,-2],[-1,1],[
-1,1],[-1,-1],[
0,-2],[-1,-3],[0,0],[
0,0],[0,0],[0,
0],[0,0],[1,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,0],[0,0],[0,
0],[2,3],[1,2],[
0,2],[1,2],[2,
4],[-1,-1],[0,3],[
3,1],[-2,-1],[
0,1],[-1,1],[-1,-1],[
0,-1],[0,-3],[
0,-1],[0,0],[0,0],[
0,0],[0,-1],[
0,0],[0,-1],[0,0],[
0,0],[0,0],[0,
0],[0,0],[0,0],[
0,1]]>;

return _LR;
