I Challenge You

There are 6 postmen in X X city, each assigned to deliver 3 letters to 3 different families within the day. Before the postmen set off to deliver, they are first dispatched to their respective designated receiving counters, where their designated letters, 3 each, to be delivered are waiting. However, by some stroke of fate, the algorithm for the postmen's counter assignment and the letter groupings' counter assignment have gone haywire, and each postman will be wrongly assigned a receiving counter, and that each counter will have a wrong group of 3 wrongly addressed letters. How many ways can this peculiar occurence happen?

Details:

  • Each postman is assigned 3 letters, and distinct addresses written on the 3 envelopes. These postmen know nothing of these information prior to receiving the letters.

  • There are only 6 receiving counters in the city.

  • All 6 postmen are assigned the wrong receiving counters.

  • Each group of 3 letters are dropped at the wrong receiving counters.

  • No group of 3 letters are received by the correct postman.

  • For each group of 3 letters, each of the proper address for each letter is only among the 3 envelopes together with the group. However, none of the letters are placed on the proper envelopes.

  • How the 18 letters are distributed among the 6 groups is no longer considered, as no problem was encountered so far in distributing them equally, so what letters are supposedly assigned to particular postmen are already predetermined. In other words, the letters are already properly grouped according to how they were supposed to be grouped.

For example:

Expectation: Postman 1 is dispatched at Receiving counter 1, receiving Letter Group 1 with letters (capital letter) and addresses (small letter) Aa, Bb, Cc.

Reality: Postman 1 is dispatched at Receiving counter 4, receving Letter Group 2 with letters and addresses Dd, Ee, Ff.

Try this too


The answer is 1361920.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Mark Hennings
May 15, 2017

A Latin rectangle consists of a k × n k \times n matrix, all of whose entries are integers between 1 1 and n n , with the property that none of the k k rows of n n numbers contain a repeated digit, and none of the n n columns of k k numbers contain a repeated digit. A normalised Latin rectangle is a Latin rectangle whose first row is the numbers 1 , 2 , 3 , , n 1,2,3,\ldots,n (in order) and whose first column iis the numbers 1 , 2 , , k 1,2,\ldots,k (in order). Let L ( k , n ) L(k,n) be the number of normalised k × n k \times n Latin rectangles.

Say that a k × n k \times n Latin rectangle is semi-normalised when its first row is 1 , 2 , 3 , , n 1,2,3,\ldots,n (in order) (with no restriction on the shape of the first column), and let S ( k , n ) S(k,n) be the number of semi-normalised Latin rectangles. Any semi-normalised Latin rectangle gives us a solution to the posting problem, with the elements in the second row telling us which receiving counter Postman 1,2,3,4,5,6 is assigned to, and the elements in the third row telling us which receiving counter Letter Group 1,2,3,4,5,6 is assigned to. For each Letter Group, there are 2 2 ways of sorting the letters into envelopes so that no envelope is in the correct envelope. Thus the number of possible solutions to the problem is S ( 3 , 6 ) × 2 6 S(3,6) \times 2^6 It is also clear that S ( k , n ) = ( n 1 ) ( n 2 ) L ( k , n ) S(k,n) \; = \; (n-1)(n-2)L(k,n) since any normalised Latin rectangle can be renumbered to form a seminormalised Latin rectangle in ( n 1 ) ( n 2 ) (n-1)(n-2) ways as follows:

  • choose an ordered pair ( a , b ) (a,b) of distinct integers from the numbers 2 , 3 , 4 , , n 2,3,4,\ldots,n ,
  • let π a , b \pi_{a,b} be the permutation of { 1 , 2 , 3 , , n } \{1,2,3,\ldots,n\} for which π a , b ( 1 ) = 1 \pi_{a,b}(1) = 1 , π a , b ( 2 ) = a \pi_{a,b}(2) = a , π a , b ( 3 ) = b \pi_{a,b}(3) = b , and with π a , b ( 4 ) , π a , b ( 5 ) , , π a , b ( n ) \pi_{a,b}(4), \pi_{a,b}(5),\ldots,\pi_{a,b}(n) running through the remaining numbers between 1 1 and n n (excluding 1 , a , b 1,a,b ) in order,
  • replace every entry u u in the normalised Latin rectangle by π a , b ( u ) \pi_{a,b}(u) ,
  • reorder the columns of the resulting rectangle so that the first row again reads 1 , 2 , 3 , , n 1,2,3,\ldots,n (in order).

Thus the number of posting arrangements is 2 6 × 20 × L ( 3 , 6 ) 2^6 \times 20 \times L(3,6) . It is a standard result that L ( 3 , 6 ) = 1064 L(3,6) = 1064 , which tells us that the number of posting rearrangements is 64 × 20 × 1064 = 1361920 64 \times 20 \times 1064 = \boxed{1361920} .


It is worth noting that the answer is also 64 64 times the number of ordered pairs ( π , σ ) (\pi,\sigma) such that both π \pi and σ \sigma are derangements of 1 , 2 , 3 , 4 , 5 , 6 1,2,3,4,5,6 , and moreover such that π 1 σ \pi^{-1}\sigma is also a derangement.

Efren Medallo
May 15, 2017

This is a slightly more easier, albeit still complicated case of derangement than this problem , as there are 3 3 independent variables to be considered instead of 2 2 , and taking any one fixed, the remaining two are deranged with respect to each other. For this problem, these variables are: (1) The receiving counters, (2) The postmen, and (3) The letter groups

By a very brute force approach, we can determine the total number of possible combinations. First, we fix any of the three variables. Then, we count the derangements of one of the remaining with respect to the fixed variable. Then, once we determine that, we compare each derangement will all the other derangments, and count those pairs that do not have any common element in any position.

From that, I got 21280 21280 .

Now, going back to the problem, notice that there were two other conditions. (1) That the letters on the letter groups are already pre arranged, and thus, are already grouped accordingly, and (2) That the letters are not placed on their proper envelopes.

If each letter group has 2 2 derangements, then this will give us ( 2 ) 6 (2)^6 derangements for all letter groups considered.

So, all in all we have

2 6 21280 2^6 \cdot 21280

= 1361920 = 1361920

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...