Combinatorica`
Combinatorica`

Eulerian

Eulerian[n,k]

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

Details and Options