Permutation calculator

This program deals with permutations of finite sets, that is, bijective functions from a finite set to itself. (This is something I've mostly encountered in group theory, in the form of the symmetric and alternating groups.) (Note: this is not for calculating the number of permutations of a set.)

You can enter a permutation in cycle notation, and see it as a product of disjoint cycles, a product of transpositions, and two-line notation. Supported notation includes:

When entering cycles, the program will infer what the set is from what elements were included in the cycles. (This is why it shows the number of non–fixed points, rather than the number of fixed points, since the set you wanted might be bigger than what it inferred.)

You can also enter in two-line notation, and see them in cycle notation. Use Tab to move between fields left to right, and Return/Enter to move from the top row to the bottom row and then up to the top of the next column.

Options

Apply cycles:;
Interpret (12) as:;

Cycles

Input interpretation:
Disjoint cycles (lowest first):
Disjoint cycles (highest first):
Transpositions:

Two-line notation

Properties

Cycle type:
Order:
Parity:
Non–fixed points:

Modify

a = current permutation, g = , n =

Replace current permutation with: