/* 2a"M20 = 2^5:A5 as 12 x 12 matrices over Z[b5]. Representation 12b. Absolutely irreducible representation. Schur Index 1. SEED: Nonzero v fixed by x^2 and y*x*y^-1*x*y*x*y^-1 where = D8. v has 2 x 30 = 60 images under G; has 30 images under G. BASIS: All in v^G (induced representation). Possible matrix entries are in {-1,0,1,b5,-b5} (norms 0, 1 only). Average number of nonzero entries for any element of the group: 19 + 1/5 (19.2; about 13.333%). Entry Av/Mat %Av/Mat 0 124.8 [124+4/5] 86.667 [86+2/3] nonzero 19.2 [ 19+1/5] 13.333 [13+1/3] ±1 9.6 [ 9+3/5] 6.667 [ 6+2/3] ±b5 9.6 [ 9+3/5] 6.667 [ 6+2/3] 1 4.8 [ 4+4/5] 3.333 [ 3+1/3] -1 4.8 [ 4+4/5] 3.333 [ 3+1/3] b5 4.8 [ 4+4/5] 3.333 [ 3+1/3] -b5 4.8 [ 4+4/5] 3.333 [ 3+1/3] */ R:=PolynomialRing(Rationals());F:=NumberField(X^2+X-1);r5:=2*b5+1; // F:=QuadraticField(5);b5:=(-1+r5)/2; G:=MatrixGroup<12,F|[ 0,1,0,0,0,0,0,0,0,0,0,0, 1,0,0,0,0,0,0,0,0,0,0,0, 0,0,-b5,-b5,0,0,0,0,0,0,0,0, 0,0,-1,b5,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,1,0,0,0,0, 0,0,0,0,-1,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,b5,b5, 0,0,0,0,0,0,0,0,0,0,-b5,1, 0,0,0,0,0,0,0,0,-1,b5,0,0, 0,0,0,0,0,0,0,0,-b5,-b5,0,0] ,[ 0,0,1,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,1,0,0,0,0,0,0,0, 0,0,0,0,0,1,0,0,0,0,0,0, 1,0,0,0,0,0,0,0,0,0,0,0, 0,1,0,0,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