Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 7 years ago

FrédéricC gravatar image

Maybe like that {{{ sage: P = posets.PentagonPoset() sage: [u for u in P if len(P.panyushev_complement([u]))==1] [1, 3] sage: P.subposet([u for u in P if len(P.panyushev_complement([u]))==1]) Finite poset containing 2 elements }}}

click to hide/show revision 2
No.2 Revision

Maybe like that {{{ that

sage: P = posets.PentagonPoset()
sage: [u for u in P if len(P.panyushev_complement([u]))==1]
[1, 3]
sage: P.subposet([u for u in P if len(P.panyushev_complement([u]))==1])
Finite poset containing 2 elements
}}}