We have two sequences $(a_n)$ and $(b_n)$, of positive integers, such that, $1\leq a_1,...,a_m\leq n$, $1\leq b_1,...,b_n\leq m$ prove that there exist $p\leq q$, $r\leq s$ such that,
$$\sum_{i=p}^{q} a_i =\sum_{i=r}^{s}b_i$$
I think Pigeon Hole Principle can be applied, but I'm not sure how.
Any help will be appreciated.
This might form the base case for an induction proof.
– marty cohen May 11 '17 at 21:40