Home > Riddles > The impossible coloring from 1 to 5

The impossible coloring from 1 to 5

Master playsLevel 4 · Advanced · ●●●●○

You want to color the numbers $\{1,2,3,4,5\}$ with two colors (red and blue).
The prohibited rule is:

  • there cannot be three numbers of the same color $x,y,z$ that satisfy $x+y=z$ (allowing $x=y$).

Question: is there any color that meets the rule?

Hints

Show hints
  1. Without loss of generality, color 1 red.
  2. The 3 can be neither red nor blue: contradiction.
  3. Since 1+1=2, 2 cannot be red. Then 2 is blue.

Solution

Show full solution

Back to problem
Answer: No, it is impossible.
Without loss of generality, color 1 red.

  1. Like $1+1=2$, 2 cannot be red. Then 2 is blue.
  2. Like $2+2=4$, 4 cannot be blue. Therefore 4 is red.
  3. Like $1+4=5$, 5 cannot be red. Therefore 5 is blue.

Now look at number 3:

  • If 3 is red, then $1+3=4$ gives a forbidden red triple.
  • If 3 is blue, then $2+3=5$ gives a forbidden blue triple.

The 3 can be neither red nor blue: contradiction.
Therefore there is no valid coloring for $\{1,2,3,4,5\}$.


Related riddles

Keep practicing

If you enjoyed this one, try more pure-logic riddles, explore this theme, browse the full archive, or read the riddle-solving guide.

← Previous: White balls in two boxes · Next: Synchronized sources →