agha79 wrote:
I lined up integers 1, 2, 3, 4, 5, 6, 7, and start plugging in. After 4 it was quite clear nothing else would work. I think it took me less than 60 secs to come to the answer. Not sure if there is another approach but brute force here is not that time consuming.
good for you.
the test will do this on occasion: include problems that effectively CANNOT be solved by algebra, but whose solutions may be deduced
very quickly by simple enumeration (listing of possibilities).
if an algebraic solution is ever not forthcoming, don't try to force one; it may not exist!