Combinatorica`
Combinatorica`
Eulerian
Eulerian[n,k]
gives the number of permutations of length n with k runs.
更多信息和选项
- To use Eulerian, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Eulerian[n,k]
gives the number of permutations of length n with k runs.