Involution Number Calculator
Input
- An involution is a permutation that is its own inverse: its elements are either fixed points or paired into swaps (2-cycles), with no longer cycles allowed.
- The counts follow the recurrence a(n) = a(n-1) + (n-1) x a(n-2): the newest element is either a fixed point, giving a(n-1) cases, or swapped with one of the other n-1 elements.
- Applying the recurrence up to n = 10 gives a(10) = 9,496 involutions, between a(9) = 2,620 and a(11) = 35,696.
- Out of all 10! = 3,628,800 permutations of 10 elements, involutions make up 0.2617%.
The Involution Number Calculator tells you how many involutions exist on a set of a given size. An involution is a permutation that is its own inverse: every element is either a fixed point or paired into a swap, and no longer cycles are allowed. Enter a value of n and the calculator returns the count, so you can see, for example, that there are 9,496 involutions of 10 elements, which is 0.2617% of all 3,628,800 permutations. It also handles smaller cases such as a(6) = 76 and larger ones such as a(15) = 10,349,536. The sequence begins 1, 1, 2, 4, 10, 26, 76 and is also known as the telephone numbers.
The method behind the result is the standard recurrence a(n) = a(n-1) + (n-1) x a(n-2). It counts each case exactly once by looking at the newest element: that element is either fixed, leaving a(n-1) arrangements, or swapped with one of the other n-1 elements, leaving a(n-2) arrangements for each choice. Because this recurrence follows directly from the definition of an involution and covers every possibility without overlap, it is the accepted way to count these permutations. This page shows the formula, step-by-step workings, worked examples and sources so you can check each value yourself rather than taking the answer on trust.
Worked examples
Involutions of 10 elements
(10)
| Involution number a(n) | 9,496 |
| Previous count a(n-1) | 2,620 |
| Next count a(n+1) | 35,696 |
| Share of all n! permutations | 0.2617% |
Involutions of 6 elements
(6)
| Involution number a(n) | 76 |
| Previous count a(n-1) | 26 |
| Next count a(n+1) | 232 |
| Share of all n! permutations | 10.5556% |
Involutions of 15 elements
(15)
| Involution number a(n) | 10,349,536 |
| Previous count a(n-1) | 2,390,480 |
| Next count a(n+1) | 46,206,736 |
| Share of all n! permutations | 0.0008% |
Permutations that undo themselves
An involution is a permutation that is its own inverse. That single property shapes everything about how one behaves. If you apply an involution to a list and then apply the same involution again, you get back exactly the arrangement you started with. The reason is structural: in an involution, every element is either a fixed point, meaning it stays where it is, or it is paired with exactly one other element in a swap. There are no longer cycles — no element is sent around a loop of three or more positions before returning. Because each element either stays put or trades places with a single partner, doing the same thing twice always returns every element home.
You can see this most clearly by sorting an involution's elements into those two categories. A fixed point is untouched by the permutation, so applying it twice obviously leaves that element alone. A swap exchanges two elements; apply it again and the same two elements exchange back. Since the whole permutation is just a collection of fixed points and swaps, and each piece undoes itself, the entire permutation undoes itself. This is why an involution is described as its own inverse, and why no element can be caught in a three-way or longer rotation — such a cycle would need to be applied three or more times to return to the start, not twice.
Counting involutions is a natural next question, and the count follows a simple rule. Consider the newest element in a set of n elements. It can be a fixed point, in which case the remaining n-1 elements can form any involution among themselves. Or it can be swapped with one of the other n-1 elements, and once that pair is set aside, the remaining n-2 elements form any involution among themselves. This gives a(n) = a(n-1) + (n-1) x a(n-2). The sequence begins 1, 1, 2, 4, 10, 26, 76, and is also known as the telephone numbers. For a quick reference point, a(6) = 76 and a(15) = 10,349,536.
The numbers grow quickly but stay small relative to all permutations. There are 9,496 involutions of 10 elements, which is 0.2617% of all 3,628,800 permutations of that size. So involutions are a thin but well-defined slice of the permutation world: arrangements built entirely from staying still and swapping pairs, and nothing else. An involution number calculator lets you explore these counts directly, but the underlying idea is easy to hold in mind — every involution is a set of fixed points and swaps, and applying it twice restores the starting arrangement.
The recurrence, element by element
An involution is a permutation that is its own inverse: every element is either a fixed point or paired with exactly one other element in a swap, and no longer cycles can appear. That single rule is what makes the counts buildable by hand. If you want to check a value without multiplying out every arrangement, an involution number calculator applies the same recurrence described here, so the two should always agree.
The recurrence is a(n) = a(n-1) + (n-1) x a(n-2). The reasoning is a case split on the newest element. Either that element is a fixed point, which leaves the other n-1 elements to form any involution among themselves and contributes a(n-1) arrangements; or it is swapped with one of the other n-1 elements, and once that partner is chosen the remaining n-2 elements form any involution, contributing (n-1) x a(n-2). Every involution falls into exactly one of these two cases, so the two terms account for all of them with nothing double-counted.
Building a(6) = 76 from the recurrence: a(5) = 26 and a(4) = 10, so a(6) = 26 + 5 x 10 = 26 + 50 = 76. The same steps give the early values in order, starting from a(0) = 1 and a(1) = 1. Each new term needs only the two before it, which is why the table below can be extended one row at a time.
Carrying the recurrence further reaches a(10) = 9,496. That figure is worth putting in context: it is 0.2617% of all 3,628,800 permutations of 10 elements, so involutions are a small minority once the set gets large. The growth continues briskly — a(15) = 10,349,536 — because each step adds a term proportional to n times the value two steps back. The sequence 1, 1, 2, 4, 10, 26, 76 is also known as the telephone numbers.
- a(6) = a(5) + 5 x a(4) = 26 + 5 x 10 = 76
- a(10) = 9,496, which is 0.2617% of all 3,628,800 permutations of 10 elements
- a(15) = 10,349,536
| n | a(n) |
|---|---|
| 0 | 1 |
| 1 | 1 |
| 2 | 2 |
| 3 | 4 |
| 4 | 10 |
| 5 | 26 |
| 6 | 76 |
| 10 | 9496 |
| 15 | 10349536 |
How rare are involutions?
Rarity is easiest to see as a fraction. Among all 3,628,800 permutations of 10 elements, exactly 9,496 are involutions. That works out to 0.2617% — roughly one in every 382 permutations of ten items. Put another way, if you listed every possible rearrangement of ten distinct objects and picked one at random, the chance it would be its own inverse is a little over a quarter of one percent. An involution number calculator makes that comparison concrete: enter n = 10 and you can see the count of 9,496 sitting beside the total of 3,628,800, with the percentage between them.
The share does not stay put as n grows — it collapses. By n = 15 the involutions number 10,349,536, but the total count of permutations has climbed to 15 factorial, an astronomically larger figure, and the involution share falls to 0.0008%. The absolute number of involutions keeps rising, yet it becomes a vanishing sliver of the whole. The reason is structural: an involution is built only from fixed points and two-element swaps, so it can never contain a cycle of length three or more. Most permutations of a large set do contain long cycles, and every one of those is excluded.
The counts themselves are generated by a simple rule. Write a(n) for the number of involutions of n elements. Then a(n) = a(n-1) + (n-1) x a(n-2). The logic is a choice about the newest element: it is either a fixed point, leaving a(n-1) ways to arrange the rest, or it is swapped with any one of the other n-1 elements, leaving a(n-2) ways for the remaining elements. That single recurrence produces the whole sequence, which begins 1, 1, 2, 4, 10, 26, 76. Because of this pattern the sequence is also known as the telephone numbers.
The early terms show how modest the growth looks before it accelerates. a(6) = 76 — only 76 of the 720 permutations of six elements are involutions. By n = 10 the count has reached 9,496, and by n = 15 it stands at 10,349,536. Each step multiplies the previous count by a factor that grows with n, which is why the raw numbers swell even as the percentage of all permutations shrinks. The contrast between a fast-growing count and a fast-shrinking share is the heart of the answer to how rare involutions are.
- n = 10: 9,496 involutions out of 3,628,800 permutations — 0.2617%
- n = 15: share falls to 0.0008% of all permutations
- Recurrence: a(n) = a(n-1) + (n-1) x a(n-2)
- Sequence start: 1, 1, 2, 4, 10, 26, 76 (the telephone numbers)
- a(6) = 76; a(15) = 10,349,536
Where involutions appear
In group theory, an involution is a permutation that is its own inverse: its elements are either fixed points or paired into swaps, with no longer cycles. This simple description makes involutions a natural first family of permutations to study, because every involution is completely determined by which elements it leaves alone and which pairs it exchanges. Symmetric groups are built from these self-inverse elements, and counting them is a standard exercise that connects the structure of a permutation to its cycle type.
The same objects sit at the heart of symmetric functions and the combinatorics of self-inverse mappings. When you classify permutations by their cycle structure, involutions form the subclass whose cycles have length one or two only. That restriction turns a free-form permutation problem into a pairing problem: choose some elements to fix, then pair up the rest. This is why involutions show up whenever a combinatorial argument separates a set into singletons and matched pairs, from matchings in graph theory to the terms of certain symmetric function expansions.
The counts themselves are easy to generate and worth knowing. They follow the recurrence a(n) = a(n-1) + (n-1) x a(n-2): the newest element is fixed, or swapped with one of the other n-1 elements. The sequence begins 1, 1, 2, 4, 10, 26, 76 and is also known as the telephone numbers. Two larger values give a sense of how fast it grows: a(6) = 76 and a(15) = 10,349,536. For comparison, there are 9,496 involutions of 10 elements, which is 0.2617% of all 3,628,800 permutations, so self-inverse permutations become a vanishingly small share of the whole as n rises.
A quick involution number calculator makes these figures concrete: enter n and the recurrence above produces the count directly, without listing every permutation. That is useful when you want to check a homework answer, compare the number of involutions against the full symmetric group, or see how the telephone numbers line up with the fixed-point-or-swap rule. Because each involution is either a fixed point or a swap, the count grows more slowly than n factorial, and the calculator lets you watch that gap widen from one row to the next.
FAQs
What is an involution in permutations?
An involution is a permutation that equals its own inverse. Applying it twice returns every element to where it started. Because of that, an involution can contain only fixed points and swaps (2-cycles), never a longer cycle. A cycle of three or more elements would need more than two applications to return to the start.
How many involutions of 10 elements are there?
There are 9,496 involutions of 10 elements. That is just 0.2617% of the 3,628,800 total permutations of 10 elements. So involutions are a small minority: most permutations of 10 elements include at least one cycle longer than a swap, which rules them out.
How is the count calculated?
The count follows the recurrence a(n) = a(n-1) + (n-1) x a(n-2). You take the newest element and either fix it, which leaves a(n-1) ways, or swap it with one of the n-1 other elements, which leaves (n-1) x a(n-2) ways. Adding those two cases gives the total.
What is a(6)?
a(6) is 76. It sits between a(5) = 26 and a(7) = 232. The recurrence explains the jump: a(6) = a(5) + 5 x a(4), so the count grows quickly as n rises. Each new element adds both fixed-point cases and swap cases to the running total.
Why are they called telephone numbers?
The sequence earned the name in older combinatorics literature. It counts involutions, also called self-inverse permutations. The name is a historical label rather than a description of phones; the numbers themselves count arrangements of elements into fixed points and swaps, and the recurrence builds each term from the two before it.
What is a(15)?
a(15) is 10,349,536. That is the number of involutions of 15 elements, meaning permutations of 15 elements that equal their own inverse. Each one consists only of fixed points and swaps, never a longer cycle, which is why the count stays far below the total number of permutations of 15 elements.