/* A5 as 3 x 3 matrices over Z[b5]. Representation 3a in ATLAS. */ F:=QuadraticField(5);b5:=(-1+r5)/2; // R:=PolynomialRing(Integers());F:=NumberField(z^2+z-1);r5:=1+2*b5; G:=MatrixGroup<3,F|[ -1,0,0, 0,-1,0, -b5,-b5,1] ,[ 0,1,0, 0,0,1, 1,0,0] >; a:=x;b:=y;