46.19 PartitionTuples

PartitionTuples( n, r )

returns the list of all r--tuples of partitions that together partition n.

    gap> PartitionTuples(3, 2);
    [ [ [ 1, 1, 1 ], [  ] ], [ [ 1, 1 ], [ 1 ] ], [ [ 1 ], [ 1, 1 ] ],
      [ [  ], [ 1, 1, 1 ] ], [ [ 2, 1 ], [  ] ], [ [ 1 ], [ 2 ] ],
      [ [ 2 ], [ 1 ] ], [ [  ], [ 2, 1 ] ], [ [ 3 ], [  ] ],
      [ [  ], [ 3 ] ] ] 

r--tuples of partitions describe the classes and the characters of wreath products of groups with r conjugacy classes with the symmetric group S_n.

Previous Up Top Next
Index

GAP 3.4.4
April 1997