Question: Trying to make Cayley tables

I'm trying to make a Cayley table with a group of permutations (Specifically S3 and A4) and can't figure it out.  I've been looking through the help without much success.  Here is the code I have so far:

  

Matrix(nops(permgroup(6, {[[1, 2]], [[2, 3]]})), proc (i, j) options operator, arrow; multperms(i, j, permgroup(6, {[[1, 2]], [[2, 3]]})) end proc)

 

Thanks

Please Wait...