Examples for

Permutations

The permutation is an important operation in combinatorics and in other areas of mathematics. To permute a list is to rearrange its elements. To count the permutations of a list is to count the number of unique rearrangements of the list. Wolfram|Alpha is useful for counting, generating and doing algebra with permutations.

Algebra of Permutations

Perform calculations using permutations and analyze their properties.

Describe a permutation:

Do algebra with permutations:

Compute properties of a permutation:

More examples

Random Permutations

Generate random permutations of a specified number of elements.

Generate a random permutation:

More examples

Permutations of a Set

Permute different types of data, such as sets with no repeat elements and lists that allow repetition.

Compute permutations of a set:

Compute distinct permutations of a list:

More examples

Counting Permutations

Count how many rearrangements of a set or list are unique. Use different list sizes and permutation sizes.

Count permutations:

Specify a permutation size:

Count derangements:

More examples