InversionPoset

InversionPoset[n]
returns a Hasse diagram of the partially ordered set on size-n permutations in which if can be obtained from by an adjacent transposition that places the larger element before the smaller.

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »