In mathematics, the telephone numbers or the involution numbers form a sequence of integers that count the ways  people can be connected by person-to-person telephone calls. These numbers also describe the number of matchings (the Hosoya index) of a complete graph on  vertices, the number of permutations on  elements that are involutions, the sum of absolute values of coefficients of the Hermite polynomials, the number of standard Young tableaux with  cells, and the sum of the degrees of the irreducible representations of the symmetric group. Involution numbers were first studied in 1800 by Heinrich August Rothe, who gave a recurrence equation by which they may be calculated, giving the values (starting from )

Applications
John Riordan provides the following explanation for these numbers: suppose that  people subscribe to a telephone service that can connect any two of them by a call, but cannot make a single call connecting more than two people. How many different patterns of connection are possible? For instance, with three subscribers, there are three ways of forming a single telephone call, and one additional pattern in which no calls are being made, for a total of four patterns. For this reason, the numbers counting how many patterns are possible are sometimes called the telephone numbers.

Every pattern of pairwise connections between  people defines an involution, a permutation of the people that is its own inverse. In this permutation, each two people who call each other are swapped, and the people not involved in calls remain fixed in place. Conversely, every possible involution has the form of a set of pairwise swaps of this type. Therefore, the telephone numbers also count involutions. The problem of counting involutions was the original combinatorial enumeration problem studied by Rothe in 1800 and these numbers have also been called involution numbers.

In graph theory, a subset of the edges of a graph that touches each vertex at most once is called a matching. Counting the matchings of a given graph is important in chemical graph theory, where the graphs model molecules and the number of matchings is the Hosoya index. The largest possible Hosoya index of an -vertex graph is given by the complete graphs, for which any pattern of pairwise connections is possible; thus, the Hosoya index of a complete graph on  vertices is the same as the th telephone number.

A Ferrers diagram is a geometric shape formed by a collection of  squares in the plane, grouped into a polyomino with a horizontal top edge, a vertical left edge, and a single monotonic chain of edges from top right to bottom left. A standard Young tableau is formed by placing the numbers from 1 to  into these squares in such a way that the numbers increase from left to right and from top to bottom throughout the tableau.
According to the Robinson–Schensted correspondence, permutations correspond one-for-one with ordered pairs of standard Young tableaux. Inverting a permutation corresponds to swapping the two tableaux, and so the self-inverse permutations correspond to single tableaux, paired with themselves. Thus, the telephone numbers also count the number of Young tableaux with  squares. In representation theory, the Ferrers diagrams correspond to the irreducible representations of the symmetric group of permutations, and the Young tableaux with a given shape form a basis of the irreducible representation with that shape. Therefore, the telephone numbers give the sum of the degrees of the irreducible representations.

In the mathematics of chess, the telephone numbers count the number of ways to place  rooks on an  chessboard in such a way that no two rooks attack each other (the so-called eight rooks puzzle), and in such a way that the configuration of the rooks is symmetric under a diagonal reflection of the board. Via the Pólya enumeration theorem, these numbers form one of the key components of a formula for the overall number of "essentially different" configurations of  mutually non-attacking rooks, where two configurations are counted as essentially different if there is no symmetry of the board that takes one into the other.

Mathematical properties

Recurrence
The telephone numbers satisfy the recurrence relation

first published in 1800 by Heinrich August Rothe, by which they may easily be calculated.
One way to explain this recurrence is to partition the  connection patterns of the  subscribers to a telephone system into the patterns in which the first person is not calling anyone else, and the patterns in which the first person is making a call. There are  connection patterns in which the first person is disconnected, explaining the first term of the recurrence. If the first person is connected to someone, there are  choices for that person, and  patterns of connection for the remaining  people, explaining the second term of the recurrence.

Summation formula and approximation
The telephone numbers may be expressed exactly as a summation

In each term of the first sum,  gives the number of matched pairs, the binomial coefficient  counts the number of ways of choosing the  elements to be matched, and the double factorial
 is the product of the odd integers up to its argument and counts the number of ways of completely matching the  selected elements. It follows from the summation formula and Stirling's approximation that, asymptotically,

Generating function
The exponential generating function of the telephone numbers is

In other words, the telephone numbers may be read off as the coefficients of the Taylor series of , and the th telephone number is the value at zero of the th derivative of this function.
This function is closely related to the exponential generating function of the Hermite polynomials, which are the matching polynomials of the complete graphs.
The sum of absolute values of the coefficients of the th (probabilist's) Hermite polynomial is the th telephone number, and the telephone numbers can also be realized as certain special values of the Hermite polynomials:

Prime factors
For large values of , the th telephone number is divisible by a large power of two, . More precisely, the 2-adic order (the number of factors of two in the prime factorization) of  and of  is ; for  it is , and for  it is .

For any prime number , one can test whether there exists a telephone number divisible by  by computing the recurrence for the sequence of telephone numbers, modulo , until either reaching zero or detecting a cycle. The primes that divide at least one telephone number are

The odd primes in this sequence have been called inefficient. Each of them divides infinitely many telephone numbers.

References

Integer sequences
Enumerative combinatorics
Factorial and binomial topics
Matching (graph theory)
Permutations