This function tests if the given argument is a permutation of the first n natural integers (excluding 0)
a vector (or a bidimensional matrix)
TRUE iff perm is a valid permutation (or a matrix of valid permutations)
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.