Welcome to NRICH.

 
Pigeon-hole problem


By Arun Iyer on Friday, December 06, 2002 - 08:55 am:

Problem:
Show that among n+1 arbitrarily chosen integers,there are two whose difference is divisible by n.

Please help!!

love arun


By David Loeffler on Friday, December 06, 2002 - 09:16 am:

Consider the residues mod n of all the elements. How many possible residues are there? How many elements are in your set? That's it.

David


By Arun Iyer on Friday, December 06, 2002 - 09:42 am:

David,
i am not able to grasp the idea...
Could you elaborate please!!

love arun


By Demetres Christofides on Friday, December 06, 2002 - 09:50 am:

Arun, what David is saying is the following:
Suppose you have the numbers a1,...,an+1.
Divide them by n to get remainders r1,...,rn+1 where each ri sattisfies 0<=ri<n.
The statement is clearly true for the ri's (pigeonhole principle). Why is it true for the ai's ?

Demetres


By Arun Iyer on Friday, December 06, 2002 - 10:17 am:

Hmmm,
i think i understood...

Proof:
Let A be the set of n+1 arbitrary chosen integers.
Let B be the set of residues(mod n)

#A>(1)#B ..(#A = n+1 and #B = n)

therefore there must be atleast two numbers in A which give the same residue.

Suppose ri = rj
Now,
ai = pn + ri .. and ..
aj = qn + rj

subtracting the two above we get,
ai - aj = (p-q)n

Therefore there are atleast two numbers in A which are divisible by n...

love arun