Pigeonhole principle: Prove that, for any n+1 integers a1,a2,....,a(n+1), there exist two of the integers ai and aj with i not equal to j, such that ai- aj is divisible by n
can you use congruence classes?
any way that can solve this problem would work!
if there are n + 1 numbers, consider Z_n the congruence classes mod n
that is the set {0,1,2,...,n-1} those are your pigeon holes, you have n + 1 pigeons
how that's matter with
ai-aj
ok lets spell it out a little more but to answer your question, one of those n boxes must have two numbers ai, aj which means that they have the same remainder when divided by n, which is the same thing as saying n divides ai - aj
if the congruence classes is a bit abstract and needs to be fleshed out, a more prosaic way of proof is to consider the remainders of you n + 1 elements when divided by n there can be at most n such remainders this should be clear, like if you take the remainder when dividing by 10 there are only ten possibilities
those are your pigeonholes, the n remainders in which you have to put n + 1 pigeons (numbers) the principle says at least one hole contains at least two pigeons, i.e. two numbers must have the same remainder when dividing by n
"they have the same remainder when divided by n," this really make sense!
then it is clear (right?) that if two numbers have the same remainder when dividing by n, then divides there difference
oops i meant "then n divides their difference"
yes. Thanks for your explanation! really really helpful!
yw
Join our real-time social learning platform and learn together with your friends!