DR.WANG Mathematics中文

1963 IMO · Question 6

Counting & combinatorics · permutations

Problem outline

Five students finish in some order, with no ties. A forecast ABCDEABCDE gets no position right, and none of its four ordered adjacent pairs occurs in the actual ranking. Another forecast DAECBDAECB gets exactly two positions right, and two disjoint ordered adjacent pairs from it occur in the actual ranking. Recover the finishing order. An ordered pair UVUV means UU finishes immediately before VV.

Show answer and methods 1 methods

Answer

EDACBEDACB, from first to last.

Method 1 Arrange the correctly predicted adjacent pairs as blocks

The directed adjacencies in the second forecast are DA,AE,EC,CBDA,AE,EC,CB. Its two disjoint true pairs must be one of (DA,EC)(DA,EC), (DA,CB)(DA,CB) or (AE,CB)(AE,CB). Treat each chosen pair as a two-letter block, with the one remaining contestant as a third block. There are just six orders of these three blocks in each case.

Discard any order with AA first, BB second, CC third, DD fourth or EE fifth, or with an adjacent AB,BC,CDAB,BC,CD or DEDE. For blocks DA,EC,BDA,EC,B, the six strings are DAECB,DABEC,ECDAB,ECBDA,BDAEC,BECDADAECB,DABEC,ECDAB,ECBDA,BDAEC,BECDA; only DAECB,BDAECDAECB,BDAEC survive.

For blocks DA,CB,EDA,CB,E, the six strings are DACBE,DAECB,CBDAE,CBEDA,EDACB,ECBDADACBE,DAECB,CBDAE,CBEDA,EDACB,ECBDA; the survivors are DAECB,EDACBDAECB,EDACB. For blocks AE,CB,DAE,CB,D, the strings are AECBD,AEDCB,CBAED,CBDAE,DAECB,DCBAEAECBD,AEDCB,CBAED,CBDAE,DAECB,DCBAE; only DAECBDAECB survives.

Among the three distinct survivors, DAECBDAECB agrees with the second forecast in all five places and BDAECBDAEC in none. In EDACBEDACB, precisely CC and BB have their forecast positions, and the disjoint blocks DADA and CBCB occur as required. It is the unique answer.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)