All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 Colourful set (Posted on 2006-12-06)
Find the smallest integer n for which the following is possible:

Consider a set of positive integers {1,2...n}. Each number is painted with either red or blue paint, but no matter which numbers have which color, you can always find four (not necessarily different) numbers x, y, z and w that are coloured with the same paint and satisfy x+y+z=w.

 No Solution Yet Submitted by atheron Rating: 4.2500 (4 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
 My solution | Comment 1 of 5
If you get to 26, you are stuck. Assume 2 is red. Then,  6 must be blue, and 18 must be red. Now, 14 must be blue, since 2+2+14=18, and that makes 4 red, since 4+4+6=14.

What color is 26? Sincec 4+4+18=26 and 6+6+14=26,  we cannot color it either red or blue. Thus, if we get up to 26,  we will find x, y, z, and w (=26).

 Posted by e.g. on 2006-12-06 11:17:47

 Search: Search body:
Forums (0)