Combinatorica`
Combinatorica`

Eulerian

Eulerian[n,k]

gives the number of permutations of length n with k runs.

Details

See Also

Runs  StirlingFirst

Tutorials