Find The Minimum N

For two permutations P P and Q Q of { 1 , 2 , , n } , \{1, 2, \cdots , n\}, an integer x x is said to be a common element of P P and Q Q if P ( x ) = Q ( x ) . P(x) = Q(x).

Find the last three digits of the smallest positive integer N N with the following property:

  • Whenever N N distinct permutations of { 1 , 2 , , 2011 } \{1, 2, \cdots , 2011\} are chosen, there must exist two of them sharing at least two common elements.

Details and assumptions

  • As an explicit example, the permutations P = { 2 , 4 , 5 , 3 , 1 } P = \{2, 4, 5, 3, 1\} and Q = { 3 , 4 , 5 , 2 , 1 } Q = \{3, 4, 5, 2, 1\} of { 1 , 2 , , 5 } \{1, 2, \cdots , 5\} share two common elements: P ( 2 ) = Q ( 2 ) P(2) = Q(2) and P ( 5 ) = Q ( 5 ) P(5)=Q(5) ( P ( x ) P(x) denotes the x th x^{\text{th}} number of permutation P P ).

  • You might use the fact that 2011 2011 is a prime.


The answer is 111.

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.

1 solution

Throughout this solution, unless otherwise specified, a permutation will refer to a permutation of { 1 , 2 , , 2011 } . \{1, 2, \cdots , 2011\}.

Let A A be the largest set of permutations any two of which share one common element at most. Also, let B B be the largest set of permutations of { 1 , 2 , , 2011 } \{1, 2, \cdots , 2011\} any two of which share at least two common elements.


Claim 1: For any pairwise distinct permutations P , Q , R , S P, Q, R, S where P , R A P, R \in A and Q , S B , Q, S \in B, P R Q S P \odot R \neq Q \odot S (where \odot denotes the composition of two permutations).

Proof: It suffices to show that there exists an x x such that P R ( x ) Q S ( x ) . P \odot R (x) \neq Q \odot S(x). Note that P P and Q Q share more common elements than R R and S , S, so there must exist an x x such that P ( x ) = Q ( x ) P(x) = Q(x) and R ( x ) S ( x ) . R(x) \neq S(x). For this selection of x , x, we have P R ( x ) Q S ( x ) , P \odot R (x) \neq Q \odot S(x), as desired. \blacksquare


Claim 2: A × B 2011 ! |A| \times |B| \leq 2011!

Proof: Our objective is to establish an injection between A × B |A \times B| and the set of permutations. For any two permutations P , Q P, Q where P A P \in A and Q B , Q \in B, P Q P \odot Q also forms a permutation. Our first claim shows that distinct choices of ( P , Q ) (P, Q) correspond to distinct permutations. Hence, A × B 2011 ! A × B 2011 ! . |A \times B| \leq 2011! \implies |A| \times |B| \leq 2011!. \blacksquare


Claim 3: B ( 2011 2 ) ! |B| \geq (2011-2)!

Proof: Consider the set of permutations P P satisfying P ( 1 ) = 1 , P ( 2 ) = 2. P(1) = 1, P(2) = 2. Once two elements are fixed, there are ( 2011 2 ) ! (2011-2)! possibilities remaining for P , P, any two of which share two common elements. \blacksquare


Claim 4: A 2011 2010 |A| \geq 2011 \cdot 2010

Proof: For all i , j , i, j, define the set σ i , j = { i x + j ( m o d 2011 ) } x = 1 2011 \sigma_{i, j} = \{ix+j \pmod{2011}\}_{x=1}^{2011} (where X ( m o d n ) X \pmod {n} denotes the remainder when X X is divided by n n ).

First, we shall show that whenever 2011 i , 2011 \nmid i, σ i , j \sigma_{i, j} forms a permutation of { 1 , 2 , , 2011 } . \{1, 2, \cdots , 2011\}. Since all 2011 2011 elements in the set σ i , j \sigma_{i,j} are between 1 1 and 2011 2011 inclusive, it suffices to show that all these elements are distinct. Suppose, on the contrary, we have i x + j i y + j ( m o d 2011 ) ix+j \equiv iy+j \pmod{2011} for some 1 x < y 2011. 1 \leq x < y \leq 2011. This implies 2011 i ( x y ) . 2011 \mid i(x-y). However, since 2011 i , 2011 \nmid i, gcd ( 2011 , x ) = 1 2011 x y . \gcd (2011, x)=1 \implies 2011 \mid x-y. Note that x y 2010 , |x-y| \leq 2010, so we must have x = y . x=y.

Now, we shall show that for any a , b , c , d [ 1 , 2011 ] a, b, c, d \in [1, 2011] ( 2011 a , c 2011 \nmid a,c ) where it is not the case that a = c a=c and b = d , b=d, σ a , c \sigma_{a, c} and σ b , d \sigma_{b, d} can share at most one common element.

First, suppose a = c . a=c. If there exists a common element x , x, a x + b c x + d ( m o d 2011 ) b d ( m o d 2011 ) b = d ax + b \equiv cx + d \pmod{2011} \implies b \equiv d \pmod{2011} \implies b=d since b , d b, d both lie between 1 1 and 2011 2011 so b d 2010. |b-d| \leq 2010. This is a contradiction, so there are no common elements in this case.

Now, suppose a c . a \neq c. Suppose there exists a common element X . X. We have a x + b b x + d ( m o d 2011 ) ( a c ) x ( d b ) ( m o d 2011 ) x ( d b ) I ( m o d 2011 ) , ax+b \equiv bx+d \pmod{2011} \\ \implies (a-c)x \equiv (d-b) \pmod{2011} \\ \implies x \equiv (d-b)I \pmod{2011}, where I I denotes the multiplicative inverse of a c ( m o d 2011 ) a-c \pmod{2011} (which exists because 2011 a c 2011 \nmid a-c ). Thus, the residue of X ( m o d 2011 ) X \pmod{2011} is uniquely determined, which uniquely determines X X since X X lies between 1 1 and 2011. 2011.

Now, as i i varies from 1 1 to 2010 2010 and j j varies from 1 1 to 2011 , 2011, we get 2011 2010 2011 \cdot 2010 such permutations, no two of which share more than one common element by our above argument. \blacksquare


Combining claims 2, 3, 4 and noting that 2011 2010 × ( 2011 2 ) ! = 2011 ! , 2011 \cdot 2010 \times (2011-2)! = 2011!, we deduce that A = 2009 ! |A| = 2009! and B = 2011 2010. |B| = 2011 \cdot 2010. Our desired answer is simply N = B + 1 = 201 1 2 2011 + 1 , N = |B|+1 = 2011^2-2011+1, whose last three digits are 1 1 2 11 + 1 = 111 . 11^2-11+1 = \boxed{111}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...