Description Usage Arguments Value Examples
View source: R/mahonians-recursive.R
Compute the Mahonian numbers recursively (very slow for n > 8).
1 |
n |
A positive integer. |
The number of permutations of n
having k
inversions, as k
ranges from 0 to n
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.