71.49 ERegularPartitions

ERegularPartitions(H|e, n)

A partition mu=(mu_1,mu_2,ldots) is e--regular if there is no integer i such that mu_i=mu_{i+1}=cdots=mu_{i+<e>-1}>0. The function ERegularPartitions(e, n) returns the list of e--regular partitions of n, ordered reverse lexicographically (see Lexicographic).

gap> H:=Specht(3);
Specht(e=3, S(), P(), D(), Pq());
gap> ERegularPartitions(H,6);       
[ [ 2, 2, 1, 1 ], [ 3, 2, 1 ], [ 3, 3 ], [ 4, 1, 1 ], [ 4, 2 ], 
  [ 5, 1 ], [ 6 ] ] 

This function requires the package ``specht'' (see RequirePackage).

Previous Up Top Next
Index

GAP 3.4.4
April 1997