|
|
MATHEMATICA
| coversplaneQ[parent_?planepartitionQ, child_?planepartitionQ] := Block[{dif=Length[parent]-Length[child], p=Length/@ parent, c=PadRight[Length/@ child, Length[parent], 0]}, And[dif>=0, Min[p-c]>=0, Min[parent-MapThread[PadRight[ #1, #2, 0]&, { PadRight[child, Length[parent], {{0}}], p}]]>=0]]; Table[Count[Outer[coversplaneQ, planepartitions[k], planepartitions[k-1], 1], True, -1], {k, 12}]
|