71.42 AddRimHook

AddRimHook(mu, r, h);

Returns a list [nu, l] where nu is the partition obtained from mu by adding a rim hook of length h with its ``foot'' in the r--th row of (the diagram of) mu and l is the leg length of the wrapped on rim hook (see, for example, [JK]). If the resulting diagram nu is not the diagram of a partition then false is returned.

gap> AddRimHook([6,4,3],1,3);
[ [ 9, 4, 3 ], 0 ]
gap> AddRimHook([6,4,3],2,3);
false
gap> AddRimHook([6,4,3],3,3);
[ [ 6, 5, 5 ], 1 ]
gap> AddRimHook([6,4,3],4,3);
[ [ 6, 4, 3, 3 ], 0 ]
gap> AddRimHook([6,4,3],5,3);
false

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

Previous Up Top Next
Index

GAP 3.4.4
April 1997