A number of problems on math.stackexchange have taken the form
Prove that an $s$ element subset of $1,2,...,n$ must have two distinct subsets with the same sum.
(For example discrete math about Pigeonhole Principle)
Suppose that the elements of the subset are $a_1<a_2< ...<a_s.$ Then the straightforward observations that
$\,\,$ there are $2^s-1$ non-empty subsets of the $s$ element subset
$\,\,$ the possible sums range from $a_1$ to at most $a_1+\sum_{n-s+2}^n i$
proves such a result providing $$2^s-1> \frac{(2n-s+2)(s-1)}{2}+1$$ or, equivalently, $$n<\frac{s^2-3s+2^{s+1}}{2(s-1)}.$$
This is a general result, albeit a rather weak one which can be greatly improved. I am interested in what general results can be proved for this type of problem.
EXAMPLE $s=9$.
The above result gives $n<67.375$ i.e. $n\le67$. The result of @CalvinLin (with $a=2,b=7$) improves this to $73$.
However, this bound can be greatly improved (one general method for doing this is given as an answer). Are there other methods which are even more effective for such a problem?