Problem:
Given a sequence of positive integers not exceeding and another sequence of positive integers not exceeding . Show that we can find two subsequences of consecutive terms, one from each sequence, with the same sum.
Problem:
Given a sequence of positive integers not exceeding and another sequence of positive integers not exceeding . Show that we can find two subsequences of consecutive terms, one from each sequence, with the same sum.
Solution:
We prove the general case. Let the first sequence be and the second sequence be , where and . Put , . Assume (if they are equal, then we are done).
Let be the smallest such that . If it is equal, we are done, so assume . Now consider the numbers . Each is at least and at most (if it was or more then , contradicting the minimality of ). So there must be two the same. So we have for some and hence .