Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
295 views

How to return elements of a given length in a symmetric group using Sage?

Let $S_n$ be the symmetric group over $\{1,2,\ldots,n\}$. How to return elements of length $m$ in $S_n$ using Sage? I try to find such function in Sage but didn't find one. Thank you very much. Edit: ...
Jianrong Li's user avatar
  • 6,211