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

Home > Numbers
No Monochrome Sums (Posted on 2009-10-14) Difficulty: 3 of 5
Color each of the numbers 1 through n either red or blue such that if a+b=c then a, b and c are not all the same color. The addends are distinct.

For example with n=6 the sequence rbrbrb does not work because 2+4=6 but are all blue. Whereas rbrbbr does work.

What is the largest value of n for which such a sequence exists?

Note: Since the colors can be swapped, make the number 1 red.

Add a third color (green.) What is the new maximum value of n?

  Submitted by Jer    
No Rating
Solution: (Hide)
The longest with two colors is n=8:
rrbrbbbr

With 3 colors I have found a solution with n=23:
rrbrbbbrggrggggrggbgbrb

See the comments for other solutions.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Puzzle ThoughtsK Sengupta2023-08-11 22:48:00
C programBrian Smith2009-10-15 15:30:45
re(4): Sloane saysCharlie2009-10-15 14:21:37
re(3): Sloane saysCharlie2009-10-15 12:24:52
re(2): Sloane saysCharlie2009-10-15 12:15:53
re: Sloane saysJer2009-10-15 00:18:25
Some ThoughtsSloane saysBrian Smith2009-10-14 20:59:44
Greens to the Partyed bottemiller2009-10-14 15:13:59
Solutioncomputer solutionCharlie2009-10-14 15:09:47
BRRRRRRRRRRRRRRRR it's cold outed bottemiller2009-10-14 14:46:42
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information