edited by
385 views

1 Answer

Best answer
3 votes
3 votes

Make m pigeons 

a1

a1+a2

a1+a2+a3 

.

.

.

.

a1+a2+a3+..........+am

Now, if m divides any of the above m numbers (pigeons) then we got our k and s such that 

ak+1 + ak+2 + ....... + as is divisible by m.

Now if none of the above m numbers (pigeons) is divisible by m then the remainders left by them after dividing by m will belong to the set {1,2,.....,m-1}

Consider the numbers 1,2,.....,m-1 as holes.

Now, we are putting a pigeon (a1 + a2 + .... +ak) in the hole r if the number (a1 + a2 + ... + ak) leaves remainder r when divided by m 

Since there are m pigeons and (m-1) holes so by pigeonhole principle there exist at least one hole which contain more than one pigeon.

That means there exists at least two numbers among the above m numbers which will leave the same remainder when divided by m

Let these two numbers be (a1 + a2 + a3 + .... + ak) and (a1 + a2 + ....+ as) where k<s

So, the number (a1 + a2 + .... + as) - (a1 + a2 + ... +ak) = ak+1 + ak+2 + .... + as is divisible by m.

So, given m integers a1,a2,....,am  we will always get two integers k,s with 0≤k<s≤m such that

ak+1+ak+2​​​​​​+.....+as is divisible by m. (Proved)

selected by

Related questions

0 votes
0 votes
1 answer
1
Sammohan Ganguly asked May 29, 2018
3,057 views
Among the integers $1,2,3,....,200$ if $101$ integers are chosen,then show that there are two among the chosen,such that one is divisible by the other.
0 votes
0 votes
1 answer
2
Sammohan Ganguly asked May 28, 2018
463 views
Show that of any $5$ points chosen within a square of length $2$ there are $2$ whose distance apart is atmost $\sqrt{2}$.
0 votes
0 votes
1 answer
3
aditi19 asked Oct 25, 2018
995 views
How many cards must be chosen from a standard deck of 52 cards to guarantee that there are at least two cards of each of two different kinds?what this question means?