Browse · MathNet
PrintTeam Selection Test for IMO 2007
Turkey 2007 counting and probability
Problem
An airline company is planning to run two-way flights between some of the six cities , , , , and . Determine the number of ways these flights can be arranged so that it is possible to travel between any two of these six cities using only the flights of this company.










Solution
Using the inclusion-exclusion principle we find that the number of ways the flights can be arranged so that each city is connected to at least one other city by a flight is Among these, the configurations that do not satisfy the condition of the problem, and the corresponding number of ways the flights can be arranged are shown in the following figure: Therefore, the answer is .
Final answer
26704
Techniques
Inclusion-exclusion