order of elements in a partition using Maple

I established this entire dividing yet I simply intend to have the finer the dividing for example:

I have this

 M[{{1, 2, 3, 4, 5}}]+M[{{1}, {2, 3, 4, 5}}]+M[{{2}, {1, 3, 4, 5}}]+M[{{5}, {1, 2, 3, 4}}]+M[{{3}, {1, 2, 4, 5}}]+M[{{4}, {1, 2, 3, 5}}]+M[{{1, 2}, {3, 4, 5}}]+M[{{1, 3}, {2, 4, 5}}]+M[{{1, 4}, {2, 3, 5}}]+M[{{1, 5}, {2, 3, 4}}]+M[{{2, 4}, {1, 3, 5}}]+M[{{2, 3}, {1, 4, 5}}]+M[{{2, 5}, {1, 3, 4}}]+M[{{3, 4}, {1, 2, 5}}]+M[{{3, 5}, {1, 2, 4}}]+M[{{4, 5}, {1, 2, 3}}]+M[{{1}, {2}, {3, 4, 5}}]+M[{{1}, {3}, {2, 4, 5}}]+M[{{1}, {4}, {2, 3, 5}}]+M[{{1}, {5}, {2, 3, 4}}]+M[{{1}, {2, 3}, {4, 5}}]+M[{{1}, {2, 4}, {3, 5}}]+M[{{1}, {2, 5}, {3, 4}}]+M[{{2}, {3}, {1, 4, 5}}]+M[{{2}, {4}, {1, 3, 5}}]+M[{{2}, {5}, {1, 3, 4}}]+M[{{2}, {1, 3}, {4, 5}}]+M[{{2}, {1, 4}, {3, 5}}]+M[{{2}, {1, 5}, {3, 4}}]+M[{{3}, {4}, {1, 2, 5}}]+M[{{3}, {5}, {1, 2, 4}}]+M[{{3}, {1, 2}, {4, 5}}]+M[{{3}, {1, 4}, {2, 5}}]+M[{{3}, {1, 5}, {2, 4}}]+M[{{4}, {5}, {1, 2, 3}}]+M[{{4}, {1, 2}, {3, 5}}]+M[{{4}, {1, 3}, {2, 5}}]+M[{{4}, {1, 5}, {2, 3}}]+M[{{5}, {1, 2}, {3, 4}}]+M[{{5}, {1, 3}, {2, 4}}]+M[{{5}, {1, 4}, {2, 3}}]+M[{{1}, {2}, {3}, {4, 5}}]+M[{{1}, {2}, {4}, {3, 5}}]+M[{{1}, {2}, {5}, {3, 4}}]+M[{{1}, {3}, {4}, {2, 5}}]+M[{{1}, {3}, {5}, {2, 4}}]+M[{{1}, {4}, {5}, {2, 3}}]+M[{{2}, {3}, {4}, {1, 5}}]+M[{{2}, {3}, {5}, {1, 4}}]+M[{{2}, {4}, {5}, {1, 3}}]+M[{{3}, {4}, {5}, {1, 2}}]+M[{{1}, {2}, {3}, {4}, {5}}]

yet i like take :

  • just the dividing with cardinality = 2

For instance :

  M{{1, 2, 3, 4, 5}}+M{{1}, {2, 3, 4, 5}}+M[{{2}, {1, 3, 4, 5}}+M[{{5}, {1, 2, 3, 4}}+M{{3}, {1, 2, 4, 5}}+M{{4}, {1, 2, 3, 5}}+M{{1, 2}, {3, 4, 5}}+M[{{1, 3}, {2, 4, 5}}]+M{{1, 4}, {2, 3, 5}}+M{{1, 5}, {2, 3, 4}}+M{{2, 4}, {1, 3, 5}}+M[{{2, 3}, {1, 4, 5}}+M{{2, 5}, {1, 3, 4}}+M{{3, 4}, {1, 2, 5}}+M{{3, 5}, {1, 2, 4}}+M{{4, 5}, {1, 2, 3}}

display screen after the finer dividing in order, For instance for the previous outcome does disappoint :

 M{{2}, {1, 3, 4, 5}} , because 2 > 1

 M{{5}, {1, 2, 3, 4}} , because 5 > 1,2,3,4

just how can I do this?

Many thanks

2
2022-07-25 20:45:27
Source Share
Answers: 0