Hello, I'm interested to know if there is a way to define the analoge of "remove_horizontal_border_strip(k)" for integer partitions, but for vertical border strip. I think that maybe with IntegerListLex.
1 | initial version |
Hello, I'm interested to know if there is a way to define the analoge of "remove_horizontal_border_strip(k)" for integer partitions, but for vertical border strip. I think that maybe with IntegerListLex.
Hello, I'm interested to know if there is a way to define the analoge of "remove_horizontal_border_strip(k)" for integer partitions, remove_horizontal_border_strip(k)
which returns the partitions obtained from self by removing an horizontal border strip of length k.
For example:
Partition([5,3,1]).remove_horizontal_border_strip(1).list()
[[5, 3], [5, 2, 1], [4, 3, 1]]
but for vertical border strip.
I think that maybe with IntegerListLex.strip.