As suggested by Olexandr Konovalov I called LoadPackage("ctbllib") and the following worked for the symmetric group $S5$:
gap> t:=CharacterTable("S5") mod 3;
BrauerTable( "A5.2", 3 )
gap> Irr(t);
[ Character( BrauerTable( "A5.2", 3 ), [ 1, 1, 1, 1, 1 ] ),
Character( BrauerTable( "A5.2", 3 ), [ 1, 1, 1, -1, -1 ] ),
Character( BrauerTable( "A5.2", 3 ), [ 6, -2, 1, 0, 0 ] ),
Character( BrauerTable( "A5.2", 3 ), [ 4, 0, -1, 2, 0 ] ),
Character( BrauerTable( "A5.2", 3 ), [ 4, 0, -1, -2, 0 ] ) ]
But when I tried the same for the Special linear group $SL(2,5)$, it does not work:
gap> LoadPackage("ctbllib");
true
gap> m:=SL(2,5);
SL(2,5)
gap> t:=CharacterTable("m") mod 2;
fail
Where is problem. Please help. Thanks.
true. – Shaun Dec 25 '18 at 08:43m:=SL(2,5);creates a variablemwhich contains a group."m"is a string which contains a characterm. It has no connection to the variablem. Incidentally,"M"and"m"are both identifiers for the character table of the monster simple group, which then is retrieved from the library byCharacterTable("m"), but it has no known character table mod 2, sofailis returned. – Olexandr Konovalov Dec 27 '18 at 09:46