Among n integer one can choose several (possibly one) whose sum is divided by n

This is a classic problem in number theory which can be easily solved by Pigeon Hole principle. Let S_i be the sum of first i integers. Thus we have S_1,S_2,...,S_n different sums. Suppose none of these sums are divisible by n. However any number not divisible by n can have remainders between \{ 1,2,...,n-1 \}. Since none of these n,S_ns are divisible which mean two of them have the same remainder. Let they be S_i,S_j, i \le j. Therefore n|(S_j-S_i)

About Sumant Sumant

I love Math and I am always looking forward to collaborate with fellow learners. If you need help learning math then please do contact me.
This entry was posted in Number Theory, Pegion Hole and tagged . Bookmark the permalink.

Leave a comment