# Classical combinatorial problems

Problems on the selections and arrangements of elements of a finite set, often having as their origin some formulation of light-harted content of brain-teaser type.

One of the classical combinatorial problems featuring in the myths of ancient Orient is the construction of a magic square, that is, an arrangement of the first positive integers in an square such that the sums of all the rows, columns and diagonals are equal. For example

is a magic square for . A number of methods for constructing such squares are known (see, for example, [1]). The determination of the number of magic squares of order for represents a difficult problem which is still unsolved (1978).

A number of combinatorial problems was investigated by L. Euler. One of them, the problem of the 36 officers, which is to arrange this number of officers of 6 different ranks and 6 different regiments in the cells of a square (a squadron) so that each column and each row contains exactly one officer of each rank and exactly one of each regiment. An square whose cells contain the elements is called a Latin square if the elements of each row and of each column are distinct. Two Latin squares are said to be orthogonal if, on superimposing them, all the pairs of elements in the cells are distinct. The problem of the 36 officers is equivalent to that of the existence of a pair of orthogonal Latin squares of order 6. Euler conjectured that there are no orthogonal Latin squares of order , . In 1900, G. Tarry verified this conjecture for and hence proved that the problem of the 36 officers has no solution. In 1959–1960, it was proved that there exists a pair of orthogonal Latin squares for each , (see [2]).

Another problem considered by Euler is the problem of the Königsberg bridges, stated as follows. There are seven bridges joining the banks of a river that runs through a city and two islands situated on the river. It is then asked whether it is possible to go round all the bridges crossing each one just once and return to the starting point. By supposing that vertices correspond to the areas of land and edges to bridges, this problem can be restated in the form of the question whether it is possible to perform a tour on the graph depicted in Fig. aunder the condition that each of its edges is used exactly once and that one returns to the starting point (see Graph circuit).

Figure: c022400a

If such a tour is possible on a graph, the graph is said to have an Eulerian cycle. Euler established that such a cycle in a graph exists if and only if the graph is connected and if the number of edges incident to each vertex is even. Since the graph of Fig. a does not satisfy the requirement, the problem of the Königsberg bridges has as solution that the tour is impossible. There is still no tour if one drops the requirement that the starting and finishing points of the tour should be the same. In this case one is solving the problem of the existence of an Eulerian chain in the graph. A graph has an Eulerian chain if and only if it is connected and if the number of vertices incident to an odd number of edges is either 0 or 2. The graph in Fig. afails to satisfy this condition (see [3]).

In 1859, W. Hamilton invented a "round-the-world voyage" game. It consists in finding a path passing through all the vertices (cities) of the graph illustrated in Fig. bsuch that each vertex is visited once and such that one returns to the starting point.

Figure: c022400b

Paths in graphs that posses this property are called Hamiltonian cycles or Hamiltonian circuits. Necessary and sufficient conditions for the existence of a Hamiltonian cycle in a graph are at present (1978) unknown (see [3]).

The problem concerning Hamiltonian cycles in a graph has been given various generalizations. One of these is the travelling salesman problem, which has a number of applications in operations research, in particular in the solution of certain transport problems. It consists of the following: there is a collection of towns, the distances between which are known; it is required to find the shortest path passing through all the towns onces and returning to the origin.

In 1847 T.P. Kirkman posed and solved the problem of the 15 schoolgirls. They had to walk daily in five groups of three. Furthermore, it was required to draw up a schedule for their walks so that each schoolgirl would in the course of seven days finds herself exactly once in the same group as each of the others. This problem is related to that posed by J. Steiner (1853) of constructing a system of triples. A Steiner triple system of order , denoted by , is a collection of triples from a set of elements such that each pair of elements is contained in precisely one triple. The Steiner triple systems have been classified for . It turns out that for , the triple systems are unique up to equivalence (permutation of the elements, permutation of the triples); for there are two non-equivalent triple systems; for there are 80. For the number of distinct Steiner triple systems is still unknown (1978). For a Steiner triple system is a special case of an incomplete partially-balanced block design.

The classical matching problem consists of the following. There are two identical packs of cards. It is required to determine , , the number of arrangements of the cards in the second pack such that when corresponding cards of each pack are compared the number of matchings is equal to , . The special case of this problem for , known as the derangement problem, was first stated by P. Montmort (1708). Euler considered the problem of finding the number of terms of a determinant having no elements of the principal diagonal; this is equivalent to the determination of .

The matching problem gave rise to the beginning of the branch of combinatorial analysis related to the study of permutations with restricted positions. A distance can be introduced on the set of permutations of degree acting on a set by setting

Then

and hence

In terms of distances between permutations one can formulate yet another classical combinatorial problem, usually called the married couples problem, or problème de ménages. It consists of determining the number of seatings of couples in places round a circular table so that no husband sits next to his wife. Then

where is the identity permutation and . The following formula has been obtained:

If

then depends only on the cycle structure of and can be expressed in the form of a formula with the use of Chebyshev polynomials (see [4]).

Closely related to the above problems is that of determining the number of Latin rectangles (cf. Latin rectangle) of size and the number of Latin squares. A Latin -rectangle can be regarded as an ordered collection of permutations of degree such that , . It can be shown that

It has been established that for , ,

where as . The number of Latin squares of order is known up to and including .

The problem of the number of additive partitions of a positive integer first appeared in a latter form G. Leibniz to J. Bernoulli in 1669. However, the development of methods for solving an entire class of such problems was effected by Euler, who effectively used for this purpose generating functions in the form of infinite products. In particular, he showed that the number of partitions of into summands is equal to the number of partitions of into at most summands, which is the same as the number of partitions of into summands none of which exceeds , and is also equal to the number of partitions of

into distinct summands.

The classical allocation problem consists in determining the number of ways of placing different objects into different cells with a given number of empty cells. It can be shown that

where

The investigations here have been carried out in the setting of probability-theoretic applications including various generalizations and modifications. The most interesting part of these investigations touches upon the achievement of various asymptotic results when and increase without bound.

#### References

[1] | M.M. Postnikov, "Magic squares" , Moscow (1964) (In Russian) |

[2] | M. Hall, "Combinatorial theory" , Blaisdell (1967) |

[3] | O. Ore, "Theory of graphs" , Amer. Math. Soc. (1962) |

[4] | J. Riordan, "An introduction to combinational analysis" , Wiley (1958) |

[5] | F. Harary, "Graph theory" , Addison-Wesley (1969) pp. Chapt. 9 |

#### Comments

#### References

[a1] | H.J. Ryser, "Combinatorial mathematics" , Carus Math. Monogr. , 14 , Math. Assoc. Amer. (1963) |

**How to Cite This Entry:**

Classical combinatorial problems. V.N. Sachkov (originator),

*Encyclopedia of Mathematics.*URL: http://www.encyclopediaofmath.org/index.php?title=Classical_combinatorial_problems&oldid=17231