Question: How to calculate orbit of different orbit size

With(group)

a:=[[seq(I,i=0..5)],[seq(I,i=6..8)]]

mulperms(a,a)

array out of range 

according to book, is this calculation?

how to calculate like the book do?

 

i use function 

https://www.maplesoft.com/applications/view.aspx?sid=154192&view=html

but not work

Please Wait...