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.
GAP 3.4.4